chore: 数据库同步

This commit is contained in:
xiaojunnuo
2025-09-14 00:40:38 +08:00
parent 67bd1cdcd9
commit 37f1f53b56
6 changed files with 36 additions and 4 deletions
@@ -0,0 +1,13 @@
CREATE TABLE "cd_addon" (
"id" bigint PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY NOT NULL,
"user_id" bigint NOT NULL,
"name" varchar(100) NOT NULL,
"type" varchar(100) NOT NULL,
"addon_type" varchar(100) NOT NULL,
"is_default" boolean NOT NULL DEFAULT (false),
"is_system" boolean NOT NULL DEFAULT (false),
"setting" text,
"create_time" timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP),
"update_time" timestamp NOT NULL DEFAULT (CURRENT_TIMESTAMP)
);