diff options
Diffstat (limited to 'schema/init.sql')
-rw-r--r-- | schema/init.sql | 2 |
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 ); |