From de869c3df8f2e273dfa2c64269778eb2a2745cc5 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Tue, 3 Jan 2023 20:11:05 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=9C=A8README.md=E9=93=BE=E6=8E=A5wiki?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + pkg/database/manager.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 96d3acc8..efdc305f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # QChatGPT🤖 +- 到[项目Wiki](https://github.com/RockChinQ/QChatGPT/wiki)可了解项目详细信息 - 测试号: 2196084348 - 交流、答疑群: 204785790 - **进群提问前请您`确保`已经找遍文档和issue均无法解决** diff --git a/pkg/database/manager.py b/pkg/database/manager.py index 048df1d7..5f93900b 100644 --- a/pkg/database/manager.py +++ b/pkg/database/manager.py @@ -49,14 +49,14 @@ class DatabaseManager: ) """) - self.execute(""" - create table if not exists `api_key_usage`( - `id` INTEGER PRIMARY KEY AUTOINCREMENT, - `key_md5` varchar(255) not null, - `timestamp` bigint not null, - `usage` bigint not null - ) - """) + # self.execute(""" + # create table if not exists `api_key_usage`( + # `id` INTEGER PRIMARY KEY AUTOINCREMENT, + # `key_md5` varchar(255) not null, + # `timestamp` bigint not null, + # `usage` bigint not null + # ) + # """) self.execute(""" create table if not exists `account_fee`(