1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-18 16:50:08 +00:00
Tims-Chat/sql/0010-chat1_command_trigger.sql
2018-08-17 00:30:59 +02:00

8 lines
385 B
SQL

CREATE TABLE chat1_command_trigger ( commandTrigger VARCHAR(191) NOT NULL PRIMARY KEY
, commandID INT(10) NOT NULL
, KEY commandID (commandID)
);
ALTER TABLE chat1_command_trigger ADD FOREIGN KEY (commandID) REFERENCES chat1_command (commandID) ON DELETE CASCADE;