1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00
Tims-Chat/sql/0016-chat1_command_trigger-PRIMARY_KEY.sql
2018-08-17 00:30:59 +02:00

4 lines
219 B
SQL

ALTER TABLE chat1_command_trigger DROP PRIMARY KEY;
ALTER TABLE chat1_command_trigger ADD COLUMN triggerID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY;
ALTER TABLE chat1_command_trigger ADD UNIQUE KEY (commandTrigger);