Now diagnostic info have a new data, 'db_scheme_first_version' and show the first pandora db scheme version.
This commit is contained in:
parent
3e32db2234
commit
575aedb6f7
|
@ -123,7 +123,10 @@ switch ($config["dbtype"]) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
render_info_data ("SELECT `value`
|
render_info_data ("SELECT `value`
|
||||||
FROM tconfig
|
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`
|
render_info_data ("SELECT `value`
|
||||||
FROM tconfig
|
FROM tconfig
|
||||||
WHERE `token` = 'db_scheme_build'", "DB Schema Build");
|
WHERE `token` = 'db_scheme_build'", "DB Schema Build");
|
||||||
|
|
|
@ -37,6 +37,7 @@ INSERT INTO `tconfig` (`token`, `value`) VALUES
|
||||||
('days_compact','0'),
|
('days_compact','0'),
|
||||||
('graph_res','5'),
|
('graph_res','5'),
|
||||||
('step_compact','1'),
|
('step_compact','1'),
|
||||||
|
('db_scheme_first_version', '5.1dev'),
|
||||||
('db_scheme_version','5.1SP3'),
|
('db_scheme_version','5.1SP3'),
|
||||||
('db_scheme_build','PD150722'),
|
('db_scheme_build','PD150722'),
|
||||||
('show_unknown','0'),
|
('show_unknown','0'),
|
||||||
|
|
Loading…
Reference in New Issue