diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-12 14:05:54 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-12 14:05:54 +0100 |
commit | 3d36847211e37c5aed0a7fdda5c2a00399fdc66e (patch) | |
tree | b2a1475f30fef440283711eb07e14956f6acb5da /database/init_db.sql | |
parent | 381aa865bdeb358dc4a63f3f9848055da62abc08 (diff) |
social table update
Diffstat (limited to 'database/init_db.sql')
-rw-r--r-- | database/init_db.sql | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/database/init_db.sql b/database/init_db.sql index 2ce8a1e..d05af6e 100644 --- a/database/init_db.sql +++ b/database/init_db.sql @@ -38,10 +38,11 @@ create table if not exists games ( ); create table if not exists social ( - user_id text not null, - friends text, - blocked text, - pending text, - foreign key(user_id) references users(user_id) + user_1_id text not null, + user_2_id text not null, + type text not null, + timestamp integer not null, + foreign key(user_1_id) references users(user_id), + foreign key(user_2_id) references users(user_id) ); |