Исправлен SQL-запрос создания таблицы chats.
This commit is contained in:
parent
42b85d4417
commit
432233b29d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class Database:
|
|||
CREATE TABLE IF NOT EXISTS chats (
|
||||
"id" INTEGER,
|
||||
"active" INTEGER NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY("chat_id"))
|
||||
PRIMARY KEY("id"))
|
||||
""")
|
||||
|
||||
self.cursor.execute("""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue