更新数据库

This commit is contained in:
zegezy 2024-05-17 22:25:22 +08:00
parent 0cfcda0b3f
commit 5751422614
2 changed files with 26 additions and 26 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
ALTER TABLE sys_dynamic_component ADD type INT(11) comment "0分组1vue组件" 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
update sys_dynamic_component set type = 0 where id in(select * from (select pid from sys_dynamic_component where is_del = 0) a) and is_del = 0