From 7bba7176194c4d1d9c7066f8eda7a94491d924e6 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 30 Nov 2026 21:27:55 +0100 Subject: Cleanups and updates --- server/migrations/2_rwgps_up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/migrations/2_rwgps_up.sql') diff --git a/server/migrations/2_rwgps_up.sql b/server/migrations/2_rwgps_up.sql index 569479b..f5fd704 100644 --- a/server/migrations/2_rwgps_up.sql +++ b/server/migrations/2_rwgps_up.sql @@ -18,5 +18,5 @@ CREATE TABLE rwgps_notification_target_collection ( type_ TEXT, -- NULL if unknown url TEXT, CHECK (type_ IN ('pinned')), - FOREIGN KEY (notification_id) REFERENCES rwgps_notification (id) + FOREIGN KEY (notification_id) REFERENCES rwgps_notification (id) ON DELETE CASCADE ) STRICT; -- cgit v1.3.1