Added link to game in games list
This commit is contained in:
pare
eeeefb51b6
commit
af2eeba8d9
S'han modificat 1 arxius amb 2 adicions i 1 eliminacions
|
@ -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…
Referencia en una nova incidència