1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-09 15:20:08 +00:00
Tims-Chat/sql/0010-chat1_command_trigger.sql

8 lines
385 B
MySQL
Raw Normal View History

2018-08-16 22:30:59 +00:00
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;