Added link to game in games list
This commit is contained in:
parent
eeeefb51b6
commit
af2eeba8d9
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ if __name__ == '__main__':
|
|||
|
||||
table = "games"
|
||||
sql = "create table "+table+" (created_at timestamptz, game_id serial, white_user varchar(40), black_user varchar(40), chess_game varchar(200), "
|
||||
sql +=" chess_status varchar(12), waiting boolean, updated_at timestamptz, next_move varchar(40), last_move varchar(40), moves int, finished boolean default False, PRIMARY KEY(game_id))"
|
||||
sql +=" chess_status varchar(12), waiting boolean, updated_at timestamptz, next_move varchar(40), last_move varchar(40), moves int, finished boolean default False, "
|
||||
sql += "chess_link varchar(100), PRIMARY KEY(game_id))"
|
||||
create_table(db, db_user, table, sql)
|
||||
|
||||
table = "stats"
|
||||
|
|
Loading…
Reference in a new issue