【去除sql文件中的编码设置】
This commit is contained in:
parent
b580ca0313
commit
6178310259
@ -1,32 +1,32 @@
|
||||
drop table IF EXISTS `project`;
|
||||
create TABLE `project` (
|
||||
`id` int NOT NULL AUTO_INCREMENT comment '数据库唯一ID',
|
||||
`code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL comment '项目编码',
|
||||
`code` varchar(50) CHARACTER SET utf8mb4 NOT NULL comment '项目编码',
|
||||
`name` varchar(255) DEFAULT NULL comment '项目名称',
|
||||
`name_en` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL comment '项目英文名称',
|
||||
`simple_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL comment '项目简称',
|
||||
`name_en` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL comment '项目英文名称',
|
||||
`simple_name` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL comment '项目简称',
|
||||
`create_time` datetime DEFAULT NULL comment '创建时间',
|
||||
`update_time` datetime DEFAULT NULL comment '修改时间',
|
||||
`status` int NOT NULL comment '项目标识状态',
|
||||
`view_show` int NOT NULL DEFAULT '1' comment '是否供前端选择',
|
||||
`server_setting` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci comment '后端服务设置',
|
||||
`server_setting` text CHARACTER SET utf8mb4 comment '后端服务设置',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `code` (`code`),
|
||||
KEY `view_show` (`view_show`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
drop table IF EXISTS `project_view`;
|
||||
create TABLE `project_view` (
|
||||
`id` int NOT NULL AUTO_INCREMENT comment '主键',
|
||||
`view_setting` text comment '前端界面设置',
|
||||
`mark_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL comment '前端标识key',
|
||||
`project` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL comment '对应项目',
|
||||
`mark_key` varchar(255) CHARACTER SET utf8mb4 NOT NULL comment '前端标识key',
|
||||
`project` varchar(255) CHARACTER SET utf8mb4 NOT NULL comment '对应项目',
|
||||
`create_time` datetime DEFAULT NULL comment '创建时间',
|
||||
`update_time` datetime DEFAULT NULL comment '修改时间',
|
||||
`status` int DEFAULT '1' comment '状态',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `mark_key` (`mark_key`,`status`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
insert into project(`code`,`name`,`name_en`,`simple_name`,`server_setting`,`view_show` ,`create_time`,`update_time`,`status`) VALUES
|
||||
('DEFAULT','城市轨道交通实训平台',' Urban Rail Transit Practical Training Platform','','{"defaultProject":1,"loginCreateSimulation":0}',0,NOW(),NOW(),1);
|
||||
|
Loading…
Reference in New Issue
Block a user