mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed default values uncompress data
This commit is contained in:
parent
e409b33c6c
commit
43af2269ee
@ -4,8 +4,8 @@ UPDATE `tlayout_data` SET `height` = 70 , `width` = 70 WHERE `height` = 0 && `wi
|
|||||||
(`type` = 10 && `image` IS NOT NULL && `image` != '' && `image` != 'none') ||
|
(`type` = 10 && `image` IS NOT NULL && `image` != '' && `image` != 'none') ||
|
||||||
(`type` = 11 && `image` IS NOT NULL && `image` != '' && `image` != 'none' && `show_statistics` = 0));
|
(`type` = 11 && `image` IS NOT NULL && `image` != '' && `image` != 'none' && `show_statistics` = 0));
|
||||||
|
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `uncompressed_module` TINYINT DEFAULT '1';
|
ALTER TABLE `treport_content` ADD COLUMN `uncompressed_module` TINYINT DEFAULT '0';
|
||||||
ALTER TABLE `treport_content_template` ADD COLUMN `uncompressed_module` TINYINT DEFAULT '1';
|
ALTER TABLE `treport_content_template` ADD COLUMN `uncompressed_module` TINYINT DEFAULT '0';
|
||||||
|
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
@ -1455,7 +1455,7 @@ CREATE TABLE IF NOT EXISTS `treport_content` (
|
|||||||
`current_month` TINYINT(1) DEFAULT '1',
|
`current_month` TINYINT(1) DEFAULT '1',
|
||||||
`failover_mode` tinyint(1) DEFAULT '1',
|
`failover_mode` tinyint(1) DEFAULT '1',
|
||||||
`failover_type` tinyint(1) DEFAULT '1',
|
`failover_type` tinyint(1) DEFAULT '1',
|
||||||
`uncompressed_module` TINYINT DEFAULT '1',
|
`uncompressed_module` TINYINT DEFAULT '0',
|
||||||
PRIMARY KEY(`id_rc`),
|
PRIMARY KEY(`id_rc`),
|
||||||
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
@ -2999,7 +2999,7 @@ CREATE TABLE IF NOT EXISTS `treport_content_template` (
|
|||||||
`current_month` TINYINT(1) DEFAULT '1',
|
`current_month` TINYINT(1) DEFAULT '1',
|
||||||
`failover_mode` tinyint(1) DEFAULT '1',
|
`failover_mode` tinyint(1) DEFAULT '1',
|
||||||
`failover_type` tinyint(1) DEFAULT '1',
|
`failover_type` tinyint(1) DEFAULT '1',
|
||||||
`uncompressed_module` TINYINT DEFAULT '1',
|
`uncompressed_module` TINYINT DEFAULT '0',
|
||||||
PRIMARY KEY(`id_rc`)
|
PRIMARY KEY(`id_rc`)
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user