summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-10-18 15:52:22 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-10-18 15:52:22 +0200
commit08080d91203e9cf00f7e475ef56179cac94dfb7a (patch)
tree413fc15a5080fdbe6f6eb510455f743806fdf20f
parent178c53dff20f30e7897265c74a9e1047b8044f39 (diff)
Fix typo :de:
-rw-r--r--schema/init.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/init.sql b/schema/init.sql
index 5f4fd4f..f6a1fbd 100644
--- a/schema/init.sql
+++ b/schema/init.sql
@@ -36,7 +36,7 @@ CREATE TABLE alerts(
text3 text NOT NULL,
reached_users INTEGER DEFAULT 0 NOT NULL,
PRIMARY KEY(id),
- CONSTRAINT fk_users_ich
+ CONSTRAINT fk_users_id
FOREIGN KEY(user_id) REFERENCES users(id)
ON DELETE CASCADE
);