mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
8 lines
385 B
MySQL
8 lines
385 B
MySQL
|
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;
|