diff --git a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql index 5d75deb112..e4e4fb4204 100644 --- a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.mysql.sql @@ -63,7 +63,7 @@ UPDATE `talert_commands` SET `fields_descriptions` = '[\"Destination addres -- Table `tconfig` -- --------------------------------------------------------------------- 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'; -- --------------------------------------------------------------------- diff --git a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql index 163947e5e6..6c76e9dfa3 100755 --- a/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_5.1_to_6.0.oracle.sql @@ -63,6 +63,7 @@ UPDATE talert_commands SET fields_descriptions = '["Destination address","S -- Table `tconfig` -- --------------------------------------------------------------------- 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'; -- --------------------------------------------------------------------- -- Table `tnetwork_map` diff --git a/pandora_console/pandoradb.data.oracle.sql b/pandora_console/pandoradb.data.oracle.sql index a649ebce28..d3bf1a4c77 100644 --- a/pandora_console/pandoradb.data.oracle.sql +++ b/pandora_console/pandoradb.data.oracle.sql @@ -63,6 +63,7 @@ INSERT INTO tconfig (token, value) VALUES ('days_delete_unknown','0'); INSERT INTO tconfig (token, value) VALUES ('days_compact','0'); INSERT INTO tconfig (token, value) VALUES ('graph_res','5'); INSERT INTO tconfig (token, value) VALUES ('step_compact','1'); +INSERT INTO tconfig (token, value) VALUES ('db_scheme_first_version','6.0orc'); INSERT INTO tconfig (token, value) VALUES ('db_scheme_version','6.0RC1'); INSERT INTO tconfig (token, value) VALUES ('db_scheme_build','PD150901'); INSERT INTO tconfig (token, value) VALUES ('show_unknown','0');