mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
delete cascade
This commit is contained in:
parent
913105fc31
commit
4deabca780
@ -1,5 +1,5 @@
|
||||
CREATE TABLE IF NOT EXISTS accounts_rewardcodes (
|
||||
account_id INT NOT NULL REFERENCES accounts(id),
|
||||
account_id INT NOT NULL REFERENCES accounts(id) ON DELETE CASCADE,
|
||||
rewardcode INT NOT NULL,
|
||||
PRIMARY KEY (account_id, rewardcode)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user