ci_cmdb_config init sql

develop
yuemian 2024-08-30 11:25:47 +08:00
parent 1ec8a0e08e
commit 6acc133a48
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
INSERT INTO ams.ci_cmdb_config
(code, name, value, remark, category, subclass, `type`, config, gmt_create, gmt_modify, mender_id, creator_id)
VALUES('CmdbOperationalAuditDataBakSwitch', '操作审计备份开关', 'false', '当操作审计数据量大时,通过开启备份按指定备份周期进行数据备份归档以提高数据查询性能', 'CMDB配置', '数据备份配置', 'SWITCH', '{}', '2023-10-10 10:00:00', '2023-10-10 10:00:00', 1, 1);
INSERT INTO ams.ci_cmdb_config
(code, name, value, remark, category, subclass, `type`, config, gmt_create, gmt_modify, mender_id, creator_id)
VALUES('CmdbOperationalAuditDataBakDaysAgo', '操作审计备份时间', '5', '需开启操作审计备份后管理员可指定备份周期,平台将以配置的备份周期对数据进行备份归档,单位:天', 'CMDB配置', '数据备份配置', 'NUMBER', '{}', '2023-10-10 10:00:00', '2023-10-10 10:00:00', 1, 1);
INSERT INTO ams.ci_cmdb_config
(code, name, value, remark, category, subclass, `type`, config, gmt_create, gmt_modify, mender_id, creator_id)
VALUES('CmdbCollectionTaskInstanceDataBakSwitch', '采集历史备份开关', 'false', '当采集历史数据量大时,通过开启备份按指定备份周期进行数据备份归档以提高数据查询性能', 'CMDB配置', '数据备份配置', 'SWITCH', '{}', '2023-10-10 10:00:00', '2023-10-10 10:00:00', 1, 1);
INSERT INTO ams.ci_cmdb_config
(code, name, value, remark, category, subclass, `type`, config, gmt_create, gmt_modify, mender_id, creator_id)
VALUES('CmdbCollectionTaskInstanceDataBakDaysAgo', '采集历史备份时间', '5', '需开启采集历史备份后管理员可指定备份周期,平台将以配置的备份周期对数据进行备份归档,单位:天', 'CMDB配置', '数据备份配置', 'NUMBER', '{}', '2023-10-10 10:00:00', '2023-10-10 10:00:00', 1, 1);