Merge pull request #2984 from dataease/pr@dev@perf_theme_api_result

perf(系统管理-外观配置): 主题api结果增加源主题ID
This commit is contained in:
fit2cloud-chenyw 2022-08-30 13:36:09 +08:00 committed by GitHub
commit 17b80abc25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,3 +63,12 @@ UPDATE `sys_theme_item` set `val` = '#F5F6F7' where `theme_id` = 1 and `key` = '
INSERT INTO `sys_theme_item` VALUES (1, 'deInputDisableBackground', '#EFF0F1');
COMMIT;
ALTER TABLE `sys_theme` ADD COLUMN `origin_id` bigint(20) NULL COMMENT '源主题Id' AFTER `senior`;
BEGIN;
UPDATE `sys_theme` set `origin_id` = 1 where `id` = 1;
UPDATE `sys_theme` set `origin_id` = 2 where `id` = 2;
UPDATE `sys_theme` set `origin_id` = 1 where origin_id is null;
COMMIT;