Tims-Chat/sql/0010-chat1_command_trigger.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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;