💄 微调

This commit is contained in:
BTMuli
2025-12-09 16:48:29 +08:00
parent cc2020c64e
commit a1dca3a1cc
5 changed files with 44 additions and 16 deletions

View File

@@ -27,8 +27,7 @@ class Sqlite {
"UserAccount",
"UserCharacters",
"UserRecord",
// TODO: v0.9.0 进行注释移除
// "UserBagMaterial"
"UserBagMaterial",
];
private db: Database | null = null;
private static instance: Sqlite | null = null;

View File

@@ -1,7 +1,7 @@
-- sqlite数据库创建表语句
-- @since Beta v0.9.0
-- @brief 创建背包物品表
-- @brief 创建背包物品材料
create table if not exists UserBagMaterial
(
uid integer not null,
@@ -12,6 +12,30 @@ create table if not exists UserBagMaterial
primary key (uid, id)
);
-- @brief 创建背包物品武器表
-- create table if not exists UserBagWeapon
-- (
-- uid integer not null,
-- guid integer not null,
-- id integer not null,
-- records text,
-- info text,
-- updated text,
-- primary key (uid, guid)
-- );
-- @brief 创建背包物品圣遗物表
-- create table if not exists UserBagRelic
-- (
-- uid integer not null,
-- guid integer not null,
-- id integer not null,
-- records text,
-- info text,
-- updated text,
-- primary key (uid, guid)
-- );
-- @brief 创建成就数据表
create table if not exists Achievements
(