added an on delete clause

This commit is contained in:
jellywx 2021-06-23 14:04:46 +01:00
parent 507075d9d4
commit 2bec2b9e12

View File

@ -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 (