🌱 背包物品数据库建立&读写

This commit is contained in:
BTMuli
2025-12-09 01:10:36 +08:00
parent 446b9a7d78
commit b1fe5b6987
4 changed files with 355 additions and 3 deletions

View File

@@ -1,5 +1,16 @@
-- @brief sqlite数据库创建表语句
-- @since Beta v0.8.4
-- sqlite数据库创建表语句
-- @since Beta v0.9.0
-- @brief 创建背包物品表
create table if not exists UserBagMaterial
(
uid integer not null,
id integer not null,
count integer default 0,
records text,
updated text,
primary key (uid, id)
);
-- @brief 创建成就数据表
create table if not exists Achievements