mirror of
https://codeberg.org/mclemens/tsmmonitor2.git
synced 2025-01-18 06:06:31 -05:00
- More pre-release cleanup - changed versions to 0.0.x for beta-release.
This commit is contained in:
parent
8071794ae2
commit
10d433a3c6
18
install.php
18
install.php
@ -338,15 +338,15 @@ if ($_REQUEST["step"] == "90") {
|
||||
|
||||
// Loop over all versions up to the current and perform incremental updates
|
||||
for ($i = ($old_version_index+1); $i < count($tsm_monitor_versions); $i++) {
|
||||
if ($tsm_monitor_versions[$i] == "0.1.0") {
|
||||
include "install/0_1_0_to_0_1_1.php";
|
||||
upgrade_to_0_1_1();
|
||||
} /* elseif ($tsm_monitor_versions[$i] == "0.1.1") {
|
||||
include "install/0_1_1_to_0_1_2.php";
|
||||
upgrade_to_0_1_2();
|
||||
} elseif ($tsm_monitor_versions[$i] == "0.1.2") {
|
||||
include "install/0_1_2_to_0_1_3.php";
|
||||
upgrade_to_0_1_3();
|
||||
if ($tsm_monitor_versions[$i] == "0.0.1") {
|
||||
include "install/0_0_1_to_0_0_2.php";
|
||||
upgrade_to_0_0_2();
|
||||
} /* elseif ($tsm_monitor_versions[$i] == "0.0.2") {
|
||||
include "install/0_0_2_to_0_0_3.php";
|
||||
upgrade_to_0_0_3();
|
||||
} elseif ($tsm_monitor_versions[$i] == "0.0.3") {
|
||||
include "install/0_0_3_to_0_0_4.php";
|
||||
upgrade_to_0_0_4();
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
/**
|
||||
*
|
||||
* 0_1_to_0_1_1.php, TSM Monitor
|
||||
* 0_0_1_to_0_0_2.php, TSM Monitor
|
||||
*
|
||||
* install php file
|
||||
*
|
||||
@ -30,7 +30,7 @@
|
||||
* @package tsmmonitor
|
||||
*/
|
||||
|
||||
function upgrade_to_0_1_1() {
|
||||
function upgrade_to_0_0_2() {
|
||||
// Put upgrade procedure here ...
|
||||
}
|
||||
|
@ -1,13 +0,0 @@
|
||||
use tsmmonitor;
|
||||
# Make name consistent with other _24h queries
|
||||
UPDATE cfg_queries SET name='archives_24h' WHERE name='archives_24';
|
||||
# Allow longer confvals e.g. file paths
|
||||
ALTER TABLE cfg_config MODIFY confval varchar(255) collate utf8_unicode_ci NOT NULL;
|
||||
# Add description
|
||||
UPDATE cfg_config SET description='TSM Monitor version' WHERE confkey='version';
|
||||
# Add new configuration entries
|
||||
INSERT INTO cfg_config (confkey,confval,description) VALUES ('path_tmlog','','TSM Monitor Logfile Path');
|
||||
INSERT INTO cfg_config (confkey,confval,description) VALUES ('path_polldlog','','PollD Logfile Path');
|
||||
INSERT INTO cfg_config (confkey,confval,description) VALUES ('loglevel_tm','INFO','TSM Monitor Log Level');
|
||||
INSERT INTO cfg_config (confkey,confval,description) VALUES ('loglevel_polld','INFO','PollD Log Level');
|
||||
|
Loading…
Reference in New Issue
Block a user