diff --git a/pandora_console/extras/pandora_diag.php b/pandora_console/extras/pandora_diag.php index 9aff382ed4..8c3f0a60d9 100644 --- a/pandora_console/extras/pandora_diag.php +++ b/pandora_console/extras/pandora_diag.php @@ -123,7 +123,10 @@ switch ($config["dbtype"]) { case "mysql": render_info_data ("SELECT `value` FROM tconfig - WHERE `token` = 'db_scheme_version'", "DB Schema Version"); + WHERE `token` = 'db_scheme_first_version'", "DB Schema Version (first installed)"); + render_info_data ("SELECT `value` + FROM tconfig + WHERE `token` = 'db_scheme_version'", "DB Schema Version (actual)"); render_info_data ("SELECT `value` FROM tconfig WHERE `token` = 'db_scheme_build'", "DB Schema Build"); diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index e61115ed79..ce6ea930f1 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -37,6 +37,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES ('days_compact','0'), ('graph_res','5'), ('step_compact','1'), +('db_scheme_first_version', '5.1dev'), ('db_scheme_version','5.1SP3'), ('db_scheme_build','PD150722'), ('show_unknown','0'),