How can I drop multiple primary keys in phpmyadmin tables?

前端 未结 4 985
粉色の甜心
粉色の甜心 2021-02-18 23:30

I am working with phpmyadmin.I created a table with one primary key and 5 fields. But now all the integer fields have turned into a primary key. I tried using drop command but i

4条回答
  •  暖寄归人
    2021-02-18 23:51

    You may have indexed a column as a FOREIGN KEY, in this cas you should delete this index and then you will be able to modify or delete your PRIMARY KEY.

提交回复
热议问题