schema.sql: Add missing cascades

These cascades were added in the ID unification migration.
This commit is contained in:
Adnan Maolood 2022-11-01 12:50:20 -04:00 committed by Drew DeVault
parent b77b7ba419
commit fcf4b4f083
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ CREATE TABLE wiki (
created timestamp without time zone NOT NULL,
updated timestamp without time zone NOT NULL,
name character varying(256) NOT NULL,
owner_id integer NOT NULL REFERENCES "user"(id),
owner_id integer NOT NULL REFERENCES "user"(id) ON DELETE CASCADE,
visibility character varying NOT NULL,
repo_id integer NOT NULL REFERENCES backing_repo(id)
);