2010-04-23 Sergio Martin <sergio.martin@artica.es>

* pandoradb.sql
       extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
        foreign key between treport and tgrupo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-04-23 09:54:34 +00:00
parent adc249189d
commit 476035f4a8
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-04-23 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
foreign key between treport and tgrupo
2010-04-23 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_recontask_form.php:

View File

@ -4,6 +4,8 @@ ALTER TABLE tagente ADD `update_gis_data` TINYINT(1) NOT NULL DEFAULT '1' COMMEN
ALTER TABLE `tgraph_source` CHANGE `weight` `weight` float(5,3) UNSIGNED NOT NULL DEFAULT 0;
ALTER TABLE treport DROP FOREIGN KEY treport_ibfk_1;
ALTER TABLE `tserver_export` ADD `timezone_offset` TINYINT(2) NULL DEFAULT '0' COMMENT 'Nuber of hours of diference with the server timezone';
ALTER TABLE `tserver` ADD `lag_time` int(11) NOT NULL default 0;

View File

@ -757,9 +757,7 @@ CREATE TABLE IF NOT EXISTS `treport` (
`footer` MEDIUMTEXT default NULL,
`custom_font` varchar(200) default NULL,
PRIMARY KEY(`id_report`),
FOREIGN KEY (`id_group`) REFERENCES tgrupo(`id_grupo`)
ON UPDATE CASCADE ON DELETE CASCADE
PRIMARY KEY(`id_report`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `treport_content` (