diff --git a/include/version.inc.php b/include/version.inc.php index c9316aab..8e9e234c 100644 --- a/include/version.inc.php +++ b/include/version.inc.php @@ -2,7 +2,7 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; define('MPOS_VERSION', '0.0.4'); -define('DB_VERSION', '0.0.9'); +define('DB_VERSION', '0.0.10'); define('CONFIG_VERSION', '0.0.8'); // Fetch installed database version diff --git a/sql/000_base_structure.sql b/sql/000_base_structure.sql index 18160aac..6fa9b4a1 100644 --- a/sql/000_base_structure.sql +++ b/sql/000_base_structure.sql @@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS `settings` ( UNIQUE KEY `setting` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.9'); +INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.10'); CREATE TABLE IF NOT EXISTS `shares` ( `id` bigint(30) NOT NULL AUTO_INCREMENT, diff --git a/upgrade/definitions/0.0.8_to_0.0.9.inc.php b/upgrade/definitions/0.0.9_to_0.0.10.inc.php similarity index 89% rename from upgrade/definitions/0.0.8_to_0.0.9.inc.php rename to upgrade/definitions/0.0.9_to_0.0.10.inc.php index c4d0add2..c39aad61 100755 --- a/upgrade/definitions/0.0.8_to_0.0.9.inc.php +++ b/upgrade/definitions/0.0.9_to_0.0.10.inc.php @@ -1,15 +1,15 @@ getValue('DB_VERSION'); // Our actual version installed // Upgrade specific variables - $aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '0.0.9' WHERE name = 'DB_VERSION'"; + $aSql[] = "UPDATE " . $setting->getTableName() . " SET value = '0.0.10' WHERE name = 'DB_VERSION'"; echo '- Starting configuration migration into new location' . PHP_EOL; $files = glob(BASEPATH . '../public/include/config/*');