Added link to game in games list

This commit is contained in:
spla 2020-11-20 09:44:08 +01:00
parent eeeefb51b6
commit af2eeba8d9

View file

@ -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"