aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/schema.sql')
-rw-r--r--backend/db/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/db/schema.sql b/backend/db/schema.sql
index e1260b0..adf3b37 100644
--- a/backend/db/schema.sql
+++ b/backend/db/schema.sql
@@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS feeds (
title TEXT NOT NULL,
fetched_at TEXT NOT NULL,
is_subscribed INTEGER NOT NULL DEFAULT 1,
- user_id INTEGER REFERENCES users(id) ON DELETE CASCADE
+ user_id INTEGER NOT NULL REFERENCES users(id) ON DELETE CASCADE
);
-- Articles