Add chat_id column to the users table
This commit is contained in:
parent
cdae6b0c8f
commit
77b949730e
|
@ -8,7 +8,7 @@ async def init_tables(connection: Connection):
|
||||||
init_users_query = """
|
init_users_query = """
|
||||||
CREATE TABLE users (
|
CREATE TABLE users (
|
||||||
user_id bigint PRIMARY KEY,
|
user_id bigint PRIMARY KEY,
|
||||||
is_admin boolean DEFAULT FALSE
|
chat_id bigint
|
||||||
);
|
);
|
||||||
"""
|
"""
|
||||||
await connection.execute(init_users_query)
|
await connection.execute(init_users_query)
|
||||||
|
|
Reference in a new issue