mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 20:45:39 +01:00
Add Cascade delete to event_data
This commit is contained in:
parent
7a75639dd3
commit
4b749d2880
2 changed files with 10 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE
|
||||||
|
event_data
|
||||||
|
ADD
|
||||||
|
CONSTRAINT fk_website_event FOREIGN KEY (website_event_id) REFERENCES website_event(event_id) ON DELETE CASCADE;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE
|
||||||
|
event_data
|
||||||
|
ADD
|
||||||
|
CONSTRAINT fk_website_event FOREIGN KEY (website_event_id) REFERENCES website_event(event_id) ON DELETE CASCADE;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue