mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 14:39:21 +08:00
optimize: move the code that might be wrong and put it last in schema-mysql.sql
This commit is contained in:
parent
0e67b31b98
commit
9a0b4df2bf
@ -458,7 +458,6 @@ alter table blossom_folder
|
||||
modify icon varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL default '' comment '图标';
|
||||
alter table blossom_folder
|
||||
modify sort int NOT NULL default 1 comment '排序';
|
||||
alter table blossom_folder add column star_status tinyint(1) NOT NULL DEFAULT 0 COMMENT '收藏 0:否,1:是';
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of blossom_folder
|
||||
@ -639,4 +638,7 @@ CREATE TABLE IF NOT EXISTS `base_user_param`
|
||||
UNIQUE KEY `unq_bup_userid_paramname` (`user_id`, `param_name`) COMMENT '用户参数唯一'
|
||||
) ENGINE = InnoDB
|
||||
DEFAULT CHARSET = utf8mb4 COMMENT = '用户参数'
|
||||
COLLATE = utf8mb4_bin;
|
||||
COLLATE = utf8mb4_bin;
|
||||
|
||||
-- Code that might be wrong goes last
|
||||
alter table blossom_folder add column star_status tinyint(1) NOT NULL DEFAULT 0 COMMENT '收藏 0:否,1:是';
|
Loading…
Reference in New Issue
Block a user