feat(database): 更新数据库配置并添加分组功能

- 更新 application-dev.yml 文件中的数据库连接 URL
- 在 data.sql 文件中添加新的 grouping 表结构
- 新增 grouping.sql 文件,定义分组表的结构
This commit is contained in:
2025-07-30 11:57:58 +08:00
parent 57fb74dc49
commit de8758f7cc
6 changed files with 390 additions and 343 deletions

29
sql/grouping.sql Normal file
View File

@@ -0,0 +1,29 @@
/*
Navicat Premium Data Transfer
Source Server : 123
Source Server Type : SQLite
Source Server Version : 3035005 (3.35.5)
Source Schema : main
Target Server Type : SQLite
Target Server Version : 3035005 (3.35.5)
File Encoding : 65001
Date: 30/07/2025 11:53:01
*/
PRAGMA foreign_keys = false;
-- ----------------------------
-- Table structure for grouping
-- ----------------------------
DROP TABLE IF EXISTS "grouping";
CREATE TABLE "grouping" (
"id" INTEGER NOT NULL DEFAULT 0,
"grouping" TEXT NOT NULL,
"parentId" INTEGER,
PRIMARY KEY ("id")
);
PRAGMA foreign_keys = true;