add: 打包脚本
This commit is contained in:
502
build/database/upgvue3/upg_sys_config.sql
Normal file
502
build/database/upgvue3/upg_sys_config.sql
Normal file
@@ -0,0 +1,502 @@
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- 参数配置value长度
|
||||
|
||||
ALTER TABLE
|
||||
`omc_db`.`sys_config` MODIFY COLUMN `config_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键值' AFTER `config_key`;
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
1,
|
||||
'config.sys.user.initPassword',
|
||||
'sys.user.initPassword',
|
||||
'Abcd@1234..',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.user.initPasswordRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
2,
|
||||
'config.sys.account.captchaEnabled',
|
||||
'sys.account.captchaEnabled',
|
||||
'false',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.account.captchaEnabledRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
3,
|
||||
'config.sys.account.registerUser',
|
||||
'sys.account.registerUser',
|
||||
'false',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.account.registerUserRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
4,
|
||||
'config.sys.user.maxRetryCount',
|
||||
'sys.user.maxRetryCount',
|
||||
'5',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.user.maxRetryCountRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
5,
|
||||
'config.sys.user.lockTime',
|
||||
'sys.user.lockTime',
|
||||
'10',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.user.lockTimeRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
6,
|
||||
'config.sys.officialUrl',
|
||||
'sys.officialUrl',
|
||||
'https://www.agrandtech.com',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
'admin',
|
||||
1700809804330,
|
||||
'config.sys.officialUrlRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
7,
|
||||
'config.sys.helpDoc',
|
||||
'sys.helpDoc',
|
||||
'/static/helpDoc/{language}_doc.pdf',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.helpDocRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
10,
|
||||
'config.monitor.sysResource.storeDays',
|
||||
'monitor.sysResource.storeDays',
|
||||
'30',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.monitor.sysResource.storeDaysRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
102,
|
||||
'config.sys.logo.type',
|
||||
'sys.logo.type',
|
||||
'icon',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
'admin',
|
||||
1701252674635,
|
||||
'config.sys.logo.typeRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
103,
|
||||
'config.sys.logo.filePathIcon',
|
||||
'sys.logo.filePathIcon',
|
||||
'#',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
'admin',
|
||||
1701251070089,
|
||||
'config.sys.logo.filePathIconRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
104,
|
||||
'config.sys.logo.filePathBrand',
|
||||
'sys.logo.filePathBrand',
|
||||
'#',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
'admin',
|
||||
1701251023781,
|
||||
'config.sys.logo.filePathBrandRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
105,
|
||||
'config.sys.loginBackground',
|
||||
'sys.loginBackground',
|
||||
'#',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.loginBackgroundRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
106,
|
||||
'config.sys.title',
|
||||
'sys.title',
|
||||
'config.sys.titleValue',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.titleRemark'
|
||||
);
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
107,
|
||||
'config.sys.copyright',
|
||||
'sys.copyright',
|
||||
'config.sys.copyrightValue',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.copyrightRemark'
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO
|
||||
`omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
108,
|
||||
'config.sys.i18nOpen',
|
||||
'sys.i18n.open',
|
||||
'true',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.i18nOpenRemark'
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO
|
||||
`omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
109,
|
||||
'config.sys.i18nDefault',
|
||||
'sys.i18n.default',
|
||||
'en_US',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1698110000000,
|
||||
NULL,
|
||||
0,
|
||||
'config.sys.i18nDefaultRemark'
|
||||
);
|
||||
|
||||
UPDATE `omc_db`.`sys_config`
|
||||
SET
|
||||
`config_name` = 'config.sys.helpDoc',
|
||||
`config_key` = 'sys.helpDoc',
|
||||
`config_value` = '/static/helpDoc/{language}_doc.pdf',
|
||||
`config_type` = 'Y',
|
||||
`create_by` = 'supervisor',
|
||||
`create_time` = 1698110000000,
|
||||
`update_by` = NULL,
|
||||
`update_time` = 0,
|
||||
`remark` = 'config.sys.helpDocRemark'
|
||||
WHERE `config_id` = 7;
|
||||
|
||||
UPDATE `omc_db`.`sys_config`
|
||||
SET
|
||||
`config_name` = 'config.sys.logo.type',
|
||||
`config_key` = 'sys.logo.type',
|
||||
`config_value` = 'brand',
|
||||
`config_type` = 'Y',
|
||||
`create_by` = 'supervisor',
|
||||
`create_time` = 1698110000000,
|
||||
`update_by` = 'admin',
|
||||
`update_time` = 1701834845928,
|
||||
`remark` = 'config.sys.logo.typeRemark'
|
||||
WHERE `config_id` = 102;
|
||||
|
||||
UPDATE `omc_db`.`sys_config`
|
||||
SET
|
||||
`config_name` = 'config.sys.logo.filePathIcon',
|
||||
`config_key` = 'sys.logo.filePathIcon',
|
||||
`config_value` = '/static/logo/{language}_icon.png',
|
||||
`config_type` = 'Y',
|
||||
`create_by` = 'supervisor',
|
||||
`create_time` = 1698110000000,
|
||||
`update_by` = NULL,
|
||||
`update_time` = 0,
|
||||
`remark` = 'config.sys.logo.filePathIconRemark'
|
||||
WHERE `config_id` = 103;
|
||||
|
||||
UPDATE `omc_db`.`sys_config`
|
||||
SET
|
||||
`config_name` = 'config.sys.logo.filePathBrand',
|
||||
`config_key` = 'sys.logo.filePathBrand',
|
||||
`config_value` = '/static/logo/{language}_brand.png',
|
||||
`config_type` = 'Y',
|
||||
`create_by` = 'supervisor',
|
||||
`create_time` = 1698110000000,
|
||||
`update_by` = NULL,
|
||||
`update_time` = 0,
|
||||
`remark` = 'config.sys.logo.filePathBrandRemark'
|
||||
WHERE `config_id` = 104;
|
||||
|
||||
INSERT
|
||||
IGNORE INTO `omc_db`.`sys_config` (
|
||||
`config_id`,
|
||||
`config_name`,
|
||||
`config_key`,
|
||||
`config_value`,
|
||||
`config_type`,
|
||||
`create_by`,
|
||||
`create_time`,
|
||||
`update_by`,
|
||||
`update_time`,
|
||||
`remark`
|
||||
)
|
||||
VALUES (
|
||||
110,
|
||||
'config.sys.lockTime',
|
||||
'sys.lockTime',
|
||||
'0',
|
||||
'Y',
|
||||
'supervisor',
|
||||
1704960008300,
|
||||
'admin',
|
||||
1705030367279,
|
||||
'config.sys.lockTimeRemark'
|
||||
);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
Reference in New Issue
Block a user