Now diagnostic info have a new data, 'db_scheme_first_version' and show the first pandora db scheme version.

This commit is contained in:
Arturo Gonzalez Diaz 2015-07-22 11:35:42 +02:00
parent 3e32db2234
commit 575aedb6f7
2 changed files with 5 additions and 1 deletions

View File

@ -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");

View File

@ -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'),