Add chat_id column to the users table

This commit is contained in:
LoRiot 2022-10-16 16:29:21 +03:00
parent cdae6b0c8f
commit 77b949730e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ async def init_tables(connection: Connection):
init_users_query = """
CREATE TABLE users (
user_id bigint PRIMARY KEY,
is_admin boolean DEFAULT FALSE
chat_id bigint
);
"""
await connection.execute(init_users_query)