From 77b949730eb58eca1b30c932d90b44a36be2b500 Mon Sep 17 00:00:00 2001 From: LoRiot Date: Sun, 16 Oct 2022 16:29:21 +0300 Subject: [PATCH] Add chat_id column to the users table --- db/migrations/init_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/init_tables.py b/db/migrations/init_tables.py index 2370a29..c43ebe0 100644 --- a/db/migrations/init_tables.py +++ b/db/migrations/init_tables.py @@ -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)