Merge branch '1440-Exportar-informes-pdf-en-formato-apaisado' into 'develop'

added new field in treport table

See merge request artica/pandorafms!1927

Former-commit-id: aeae9fa575683cb2df29ceb3e8cfd346fd475a98
This commit is contained in:
vgilc 2018-12-21 10:17:24 +01:00
commit 8e4e4d8559
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
START TRANSACTION;
ALTER TABLE `treport` ADD COLUMN `orientation` varchar(25) NOT NULL default 'vertical';
COMMIT;

View File

@ -1805,6 +1805,7 @@ INSERT INTO tlog_graph_models VALUES (1, 'Apache log model',
-- -----------------------------------------------------
ALTER TABLE `treport` ADD COLUMN `hidden` tinyint(1) NOT NULL DEFAULT 0;
ALTER TABLE `treport` ADD COLUMN `orientation` varchar(25) NOT NULL default 'vertical';
ALTER TABLE `trecon_task` ADD COLUMN `snmp_version` varchar(5) NOT NULL default '1';
ALTER TABLE `trecon_task` ADD COLUMN `snmp_auth_user` varchar(255) NOT NULL default '';

View File

@ -1251,6 +1251,7 @@ CREATE TABLE IF NOT EXISTS `treport` (
`metaconsole` tinyint(1) DEFAULT 0,
`non_interactive` tinyint(1) UNSIGNED NOT NULL default 0,
`hidden` tinyint(1) DEFAULT 0,
`orientation` varchar(25) NOT NULL default 'vertical',
PRIMARY KEY(`id_report`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;