Fixed sql migrate

This commit is contained in:
m-lopez-f 2015-10-15 11:09:32 +02:00
parent 03a444ad08
commit 53b11ffafe
2 changed files with 2 additions and 11 deletions

View File

@ -64,7 +64,7 @@ UPDATE `talert_commands` SET `fields_descriptions` = '[\"Destination addres
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
INSERT INTO `tconfig` (`token`, `value`) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}'); INSERT INTO `tconfig` (`token`, `value`) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
UPDATE `tconfig` SET value = 'v6.0dev' WHERE token = 'db_scheme_version'; UPDATE `tconfig` SET value = 'v6.0dev' WHERE token = 'db_scheme_version';
UPDATE `tconfig` SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token = 'url_update_manager';
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Table `tnetwork_map` -- Table `tnetwork_map`
@ -188,8 +188,3 @@ ALTER TABLE tgraph_source ADD COLUMN `label` varchar(150) DEFAULT '';
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
ALTER TABLE tevent_filter ADD COLUMN `id_agent_module` int(25) DEFAULT 0; ALTER TABLE tevent_filter ADD COLUMN `id_agent_module` int(25) DEFAULT 0;
ALTER TABLE tevent_filter ADD COLUMN `id_agent` int(25) DEFAULT 0; ALTER TABLE tevent_filter ADD COLUMN `id_agent` int(25) DEFAULT 0;
-- ---------------------------------------------------------------------
--- Table `tconfig`
--- ---------------------------------------------------------------------
UPDATE tconfig SET `value`='https://artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager';

View File

@ -64,6 +64,7 @@ UPDATE talert_commands SET fields_descriptions = '["Destination address","S
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
INSERT INTO tconfig (token, value) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}'); INSERT INTO tconfig (token, value) VALUES ('post_process_custom_values', '{"0.00000038580247":"Seconds to months","0.00000165343915":"Seconds to weeks","0.00001157407407":"Seconds to days","0.01666666666667":"Seconds to minutes","0.00000000093132":"Bytes to Gigabytes","0.00000095367432":"Bytes to Megabytes","0.0009765625":"Bytes to Kilobytes","0.00000001653439":"Timeticks to weeks","0.00000011574074":"Timeticks to days"}');
UPDATE tconfig SET value = 'v6.0dev' WHERE token = 'db_scheme_version'; UPDATE tconfig SET value = 'v6.0dev' WHERE token = 'db_scheme_version';
UPDATE tconfig SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager';
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Table `tnetwork_map` -- Table `tnetwork_map`
@ -129,8 +130,3 @@ ALTER TABLE tevent_filter ADD COLUMN id_agent int(25) DEFAULT 0;
-- Table `tgraph_source` -- Table `tgraph_source`
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
ALTER TABLE tgraph_source ADD COLUMN label VARCHAR2(150) DEFAULT ''; ALTER TABLE tgraph_source ADD COLUMN label VARCHAR2(150) DEFAULT '';
-- ---------------------------------------------------------------------
--- Table `tconfig`
--- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'https://artica.es/pandoraupdate6/server.php' WHERE token='url_update_manager';