~fgaz/builds.sr.ht

fcb43a9e98d55dc4ed2eed852a26003f1a1fa1f1 — Drew DeVault 1 year, 6 months ago 63f316f
schema.sql: add ON DELETE CASCADE to gql_user_wh_delivery
1 files changed, 1 insertions(+), 1 deletions(-)

M schema.sql
M schema.sql => schema.sql +1 -1
@@ 137,7 137,7 @@ CREATE TABLE gql_user_wh_delivery (
	date timestamp without time zone NOT NULL,
	event webhook_event NOT NULL,
	subscription_id integer NOT NULL
		REFERENCES gql_user_wh_sub(id),
		REFERENCES gql_user_wh_sub(id) ON DELETE CASCADE,
	request_body character varying NOT NULL,
	response_body character varying,
	response_headers character varying,