更新5.2sql

This commit is contained in:
xierz 2020-12-24 11:16:26 +08:00
parent 853ac63693
commit 904862b970
2 changed files with 563 additions and 680 deletions

View File

@ -233,3 +233,18 @@ ALTER TABLE `app`
ADD COLUMN `update_by` int(10) NULL COMMENT '更新人',
ADD COLUMN `update_date` datetime(0) NULL COMMENT '更新时间',
ADD COLUMN `del` int(1) NULL COMMENT '删除标识';
UPDATE app set app_dir = id;
update model as tmp1
INNER JOIN
(select id from model WHERE model_url="basic/systemLog/index.do" limit 1) as tmp2
set model_url="basic/log/index.do"
WHERE tmp1.id = tmp2.id;
update model as tmp1
INNER JOIN
(select id from model WHERE model_url="basic:systemlog:view" limit 1) as tmp2
set model_url="basic:log:view"
WHERE tmp1.id = tmp2.id;

File diff suppressed because one or more lines are too long