salix/db/versions/11010-blackChrysanthemum/00-firstScript.sql

7 lines
261 B
MySQL
Raw Normal View History

-- Place your SQL code here
ALTER TABLE vn.deviceProductionUser DROP FOREIGN KEY deviceProductionUser_FK;
ALTER TABLE vn.deviceProductionUser DROP PRIMARY KEY;
ALTER TABLE vn.deviceProductionUser ADD id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY FIRST;