diff options
Diffstat (limited to 'server/migrations')
| -rw-r--r-- | server/migrations/2_rwgps_up.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( | |||
| 18 | type_ TEXT, -- NULL if unknown | 18 | type_ TEXT, -- NULL if unknown |
| 19 | url TEXT, | 19 | url TEXT, |
| 20 | CHECK (type_ IN ('pinned')), | 20 | CHECK (type_ IN ('pinned')), |
| 21 | FOREIGN KEY (notification_id) REFERENCES rwgps_notification (id) | 21 | FOREIGN KEY (notification_id) REFERENCES rwgps_notification (id) ON DELETE CASCADE |
| 22 | ) STRICT; | 22 | ) STRICT; |