mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-11-09 15:20:08 +00:00
10 lines
492 B
MySQL
10 lines
492 B
MySQL
|
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;
|