Skip to content
Snippets Groups Projects
Commit f3e426f3 authored by Martin Weise's avatar Martin Weise
Browse files

Hotfix cascade

parent 676e8159
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,7 @@ CREATE TABLE IF NOT EXISTS `mdb_view_columns`
auto_generated BOOLEAN DEFAULT false,
is_null_allowed BOOLEAN NOT NULL DEFAULT true,
PRIMARY KEY (id),
FOREIGN KEY (view_id) REFERENCES mdb_view (id)
FOREIGN KEY (view_id) REFERENCES mdb_view (id) ON DELETE CASCADE
) WITH SYSTEM VERSIONING;
CREATE TABLE IF NOT EXISTS `mdb_identifiers`
......
......@@ -389,7 +389,7 @@ data:
auto_generated BOOLEAN DEFAULT false,
is_null_allowed BOOLEAN NOT NULL DEFAULT true,
PRIMARY KEY (id),
FOREIGN KEY (view_id) REFERENCES mdb_view (id)
FOREIGN KEY (view_id) REFERENCES mdb_view (id) ON DELETE CASCADE
) WITH SYSTEM VERSIONING;
CREATE TABLE IF NOT EXISTS `mdb_identifiers`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment