1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-19 17:00:08 +00:00
Tims-Chat/sql/0009-chat1_command.sql

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

10 lines
492 B
MySQL
Raw Normal View History

2018-08-16 22:30:59 +00:00
CREATE TABLE chat1_command ( commandID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY
, packageID INT(10) NOT NULL
, identifier VARCHAR(191) NOT NULL
, className VARCHAR(191) NOT NULL
, UNIQUE KEY command (packageID, identifier)
);
ALTER TABLE chat1_command ADD FOREIGN KEY (packageID) REFERENCES wcf1_package (packageID) ON DELETE CASCADE;