feat: refs #7144 DiagnoseProducionFailure second commit
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-05-23 08:12:49 +02:00
parent 0cdfbcb7ee
commit c7258476d6
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
CREATE TABLE `vn`.`diagnoseProductionFailureQueue` (
`schema` varchar(64) NOT NULL,
`procedure` varchar(64) NOT NULL,
`params` varchar(255) DEFAULT NULL,
`order` int(11) DEFAULT NULL,
`message` text NOT NULL,
`resolution` text DEFAULT NULL,
PRIMARY KEY (`schema`,`procedure`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
CREATE TABLE `diagnoseProductionFailureConfig` (
`id` int(11) NOT NULL,
`dbFreezeMaxThreads` int(11) NOT NULL,
`dbFreezeMaxTime` int(11) NOT NULL,
`dbGetLockMaxTime` int(11) NOT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `diagnoseProductionFailureConfig_check` CHECK (`id` = 1)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
INSERT IGNORE INTO vn.diagnoseProductionFailureConfig (id,dbFreezeMaxThreads,dbFreezeMaxTime,dbGetLockMaxTime)
VALUES (1, 5, 60, 30);