mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-31 17:12:49 +08:00
更新数据库
This commit is contained in:
parent
8b8993ef7a
commit
663ae670cb
@ -117,6 +117,8 @@ CREATE TABLE `sys_dynamic_component` (
|
|||||||
`source_code` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '源码',
|
`source_code` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '源码',
|
||||||
`compile_js` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '编译js',
|
`compile_js` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '编译js',
|
||||||
`compile_css` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '编译css',
|
`compile_css` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '编译css',
|
||||||
|
`type` int NULL DEFAULT NULL COMMENT '0:分组,1:vue组件',
|
||||||
|
`remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
|
||||||
`is_del` int NULL DEFAULT 0 COMMENT '删除标识:0未删除,1已删除',
|
`is_del` int NULL DEFAULT 0 COMMENT '删除标识:0未删除,1已删除',
|
||||||
`create_by` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人',
|
`create_by` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人',
|
||||||
`create_date` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
`create_date` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||||
|
3
db/update20240410.sql
Normal file
3
db/update20240410.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE sys_dynamic_component ADD type INT(11) comment "0:分组,1:vue组件" AFTER compile_css;
|
||||||
|
ALTER TABLE sys_dynamic_component ADD remark text comment "备注" AFTER type;
|
||||||
|
update sys_dynamic_component set type = 0 where id in(select pid from sys_dynamic_component where is_del = 0) and is_del = 0
|
Loading…
Reference in New Issue
Block a user