Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 如何更改实时 mysql 表以使键不唯一
有没有办法将列从 UNIQUE 更改为 NOT UNIQUE?
如果列上定义了唯一索引,只需drop index index_name
drop index index_name