Fixed table field

This commit is contained in:
Enrique Martin 2024-02-23 14:23:22 +01:00
parent 1b3cb90eaa
commit 78702547c8
2 changed files with 3 additions and 2 deletions

View File

@ -100,7 +100,7 @@ UPDATE `trecon_task` SET `auth_strings` = IF(`auth_strings` = '',CONCAT(@creds_n
ALTER TABLE `tdatabase` ADD COLUMN `disabled` TINYINT NOT NULL DEFAULT 0;
CREATE TABLE IF NOT EXISTS `tmetaconsole_ha_databases` (
`node_id` int unsigned NOT NULL,
`node_id` int NOT NULL,
`host` varchar(255) DEFAULT '',
`master` tinyint unsigned DEFAULT '0',
PRIMARY KEY (`node_id`, `host`)

View File

@ -2667,6 +2667,7 @@ CREATE TABLE IF NOT EXISTS `tdatabase` (
`utimestamp` BIGINT DEFAULT 0,
`mysql_version` VARCHAR(10) DEFAULT '',
`pandora_version` VARCHAR(10) DEFAULT '',
`disabled` TINYINT NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
@ -4659,7 +4660,7 @@ CREATE TABLE IF NOT EXISTS `tmerge_queries` (
-- Table `tmetaconsole_ha_databases`
-- ---------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `tmetaconsole_ha_databases` (
`node_id` int unsigned NOT NULL,
`node_id` int NOT NULL,
`host` varchar(255) DEFAULT '',
`master` tinyint unsigned DEFAULT '0',
PRIMARY KEY (`node_id`, `host`)