2024-07-19 06:27:39 +00:00
|
|
|
CREATE OR REPLACE TABLE `util`.`logCleanMultiConfig` (
|
2024-06-18 06:40:33 +00:00
|
|
|
`schemaName` varchar(64) NOT NULL,
|
|
|
|
`tableName` varchar(64) NOT NULL,
|
2024-07-19 06:27:39 +00:00
|
|
|
`retentionDays` int(11) DEFAULT NULL,
|
2024-06-18 06:40:33 +00:00
|
|
|
`order` int(11) DEFAULT NULL,
|
2024-07-19 06:27:39 +00:00
|
|
|
`started` datetime DEFAULT NULL,
|
|
|
|
`finished` datetime DEFAULT NULL,
|
2024-06-18 06:40:33 +00:00
|
|
|
PRIMARY KEY (`schemaName`,`tableName`)
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
|
|
|
|
2024-07-19 06:58:51 +00:00
|
|
|
INSERT INTO `util`.`logCleanMultiConfig` (`schemaName`, `tableName`)
|
2024-09-09 07:39:10 +00:00
|
|
|
SELECT TABLE_SCHEMA, TABLE_NAME FROM information_schema.`COLUMNS`
|
|
|
|
WHERE COLUMN_NAME IN ('newInstance', 'newInstance');
|