From 0f3f5864847d0d271012f69fd9e088d922c8a64f Mon Sep 17 00:00:00 2001 From: ledouxm Date: Tue, 12 Nov 2024 17:04:44 +0100 Subject: [PATCH] fix: picture lines migration --- db/migrations/909-add_picture_lines.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/909-add_picture_lines.sql b/db/migrations/909-add_picture_lines.sql index 70aa5e7..20bef45 100644 --- a/db/migrations/909-add_picture_lines.sql +++ b/db/migrations/909-add_picture_lines.sql @@ -1,6 +1,6 @@ CREATE TABLE picture_lines ( id TEXT PRIMARY KEY, - "pictureId" TEXT REFERENCES pictures(id) ON DELETE CASCADE, + "pictureId" TEXT, lines TEXT NOT NULL, "createdAt" TIMESTAMP );