1
0
mirror of https://gitlab.com/questable/questable_bot synced 2025-10-22 17:00:06 +02:00

Change state table to include extra field

This commit is contained in:
2018-10-31 18:16:26 +05:30
parent 3ffabd4ded
commit 1127673d28
2 changed files with 8 additions and 8 deletions

2
bot.py
View File

@@ -48,7 +48,7 @@ queries = [
"int);"),
("CREATE TABLE IF NOT EXISTS state(chat_id int PRIMARY KEY, state "
"varchar(10));"),
"varchar(10), extra varchar(10));"),
]
for query in queries:
cursor.execute(query)