2010-10-18 Ramon Novoa <rnovoa@artica.es>

* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2010-10-18 10:15:35 +00:00
parent b29201c111
commit 4a0b5df5ce
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-10-18 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for recon scripts.
2010-10-16 Sancho Lerena <slerena@artica.es> 2010-10-16 Sancho Lerena <slerena@artica.es>
* DEBIAN/control: Removed apache and apache php mod from deps, giving * DEBIAN/control: Removed apache and apache php mod from deps, giving

View File

@ -143,3 +143,25 @@ INSERT INTO tconfig (`token`, `value`) VALUES ('sound_alert', 'include/sounds/ai
INSERT INTO tconfig (`token`, `value`) VALUES ('sound_critical', 'include/sounds/Star_Trek_emergency_simulation.wav'); INSERT INTO tconfig (`token`, `value`) VALUES ('sound_critical', 'include/sounds/Star_Trek_emergency_simulation.wav');
INSERT INTO tconfig (`token`, `value`) VALUES ('sound_warning', 'include/sounds/negativebeep.wav'); INSERT INTO tconfig (`token`, `value`) VALUES ('sound_warning', 'include/sounds/negativebeep.wav');
-- -----------------------------------------------------
-- Table `trecon_script`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `trecon_script` (
`id_recon_script` int(10) NOT NULL auto_increment,
`name` varchar(100) default '',
`description` varchar(100) default '',
`script` varchar(250) default '',
PRIMARY KEY (`id_recon_script`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- -----------------------------------------------------
-- Table `trecon_task`
-- -----------------------------------------------------
ALTER TABLE trecon_task ADD COLUMN `id_recon_script` int(10);
ALTER TABLE trecon_task ADD COLUMN `field1` varchar(250) NOT NULL default '';
ALTER TABLE trecon_task ADD COLUMN `field2` varchar(250) NOT NULL default '';
ALTER TABLE trecon_task ADD COLUMN `field3` varchar(250) NOT NULL default '';
ALTER TABLE trecon_task ADD COLUMN `field4` varchar(250) NOT NULL default '';
ALTER TABLE trecon_task ADD FOREIGN KEY (`id_recon_script`) REFERENCES trecon_script(`id_recon_script`) ON UPDATE CASCADE ON DELETE CASCADE;