From 31495aeb476d6aee6be75e496985e821e17531b0 Mon Sep 17 00:00:00 2001 From: Nicola Fulvio Calabria <nicola.calabria@inaf.it> Date: Sat, 29 Oct 2022 16:25:26 +0200 Subject: [PATCH] remove contraint temporarily --- 00-tables.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/00-tables.sql b/00-tables.sql index 217ddda..9b8f755 100644 --- a/00-tables.sql +++ b/00-tables.sql @@ -156,7 +156,6 @@ CREATE TABLE collections ( collection_id SERIAL NOT NULL, title VARCHAR NOT NULL, owner_id VARCHAR NOT NULL, - PRIMARY KEY (collection_id), - FOREIGN KEY (owner_id) REFERENCES users (user_id) + PRIMARY KEY (collection_id) ); -- GitLab