Compare commits

...

2 Commits

Author SHA1 Message Date
9583e2ba86 Merge branch 'main' of https://gitea.ufutx.net/ufutx/migrate into main 2025-08-28 13:38:28 +08:00
3d8ea8de3c label 2025-08-28 13:38:22 +08:00
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
CREATE TABLE `ufutx_label` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INTEGER NOT NULL COMMENT "用户id 0:系统",
`name` VARCHAR(100) NOT NULL COMMENT "名称",
`created_at` TIMESTAMP NULL DEFAULT NULL ,
`updated_at` TIMESTAMP NULL DEFAULT NULL ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '标签';

View File

@ -0,0 +1,9 @@
CREATE TABLE `ufutx_user_label` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INTEGER NOT NULL COMMENT "用户id",
`name` VARCHAR(100) NOT NULL COMMENT "名称",
`operate_user_id` INTEGER NOT NULL COMMENT "操作用户id",
`created_at` TIMESTAMP NULL DEFAULT NULL ,
`updated_at` TIMESTAMP NULL DEFAULT NULL ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '用户标签';