Files
be.ems/database/upgrade/upg_sys_config.sql

424 lines
8.4 KiB
SQL

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'
);
SET FOREIGN_KEY_CHECKS=1;