diff options
-rw-r--r-- | schema.sql | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,6 +38,7 @@ create index messages_time_index on Messages(time); create table Firebase ( user integer, - token text + token text, + foreign key(user) references Users(id) on delete cascade ); create index firebase_user_index on Firebase(user); |