added an on delete clause
This commit is contained in:
parent
507075d9d4
commit
2bec2b9e12
@ -121,7 +121,7 @@ CREATE TABLE embed_fields_new (
|
|||||||
|
|
||||||
PRIMARY KEY (id),
|
PRIMARY KEY (id),
|
||||||
|
|
||||||
FOREIGN KEY (reminder_id) REFERENCES reminders_new (id)
|
FOREIGN KEY (reminder_id) REFERENCES reminders_new (id) ON DELETE CASCADE
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO embed_fields_new (
|
INSERT INTO embed_fields_new (
|
||||||
|
Loading…
Reference in New Issue
Block a user