移除不必要的内容

This commit is contained in:
2025-11-07 00:59:06 +08:00
parent 14ce7e6e3f
commit a1b3f51b61
2 changed files with 3 additions and 14 deletions

View File

@@ -124,17 +124,7 @@ class Database:
def init_tables(self):
"""初始化数据库表"""
cursor = self.conn.cursor()
# 用户表
cursor.execute("""
CREATE TABLE IF NOT EXISTS users (
user_id INTEGER PRIMARY KEY,
username TEXT,
created_at INTEGER NOT NULL,
last_active INTEGER NOT NULL
)
""")
pass
def close(self):
"""关闭数据库连接"""