From 432233b29d6dfae2a5cacdd6f0d5d61d20a7a23d Mon Sep 17 00:00:00 2001 From: Kirill Kirilenko Date: Sat, 23 Aug 2025 20:44:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20SQL-=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D1=82=D0=B0?= =?UTF-8?q?=D0=B1=D0=BB=D0=B8=D1=86=D1=8B=20chats.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index b3943cc..6e52b93 100644 --- a/database.py +++ b/database.py @@ -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("""