更新数据库

This commit is contained in:
zegezy
2024-04-10 21:16:45 +08:00
parent 8b8993ef7a
commit 663ae670cb
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -0,0 +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