fix versioning
This commit is contained in:
parent
b613182dfb
commit
050a068d05
@ -3,7 +3,8 @@
|
||||
// Make sure we are called from index.php
|
||||
if (!defined('SECURITY')) die('Hacking attempt');
|
||||
|
||||
define('DB_VERSION', '0.0.4');
|
||||
define('MPOS_VERSION', '0.0.1');
|
||||
define('DB_VERSION', '0.0.3');
|
||||
define('CONFIG_VERSION', '0.0.4');
|
||||
|
||||
// Fetch installed database version
|
||||
|
||||
@ -130,7 +130,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.4');
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.3');
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `shares` (
|
||||
`id` bigint(30) NOT NULL AUTO_INCREMENT,
|
||||
|
||||
@ -3,5 +3,4 @@ INSERT INTO `token_types` (`name`, `expiration`) VALUES ('change_pw', 360);
|
||||
INSERT INTO `token_types` (`name`, `expiration`) VALUES ('withdraw_funds', 360);
|
||||
CREATE INDEX `account_id` ON `notification_settings` (`account_id`);
|
||||
CREATE UNIQUE INDEX `account_id_type` ON `notification_settings` (`account_id`,`type`);
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.4') ON DUPLICATE KEY UPDATE `value` = '0.0.4';
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('db_upgrade_required', 0) ON DUPLICATE KEY UPDATE `value` = 0;
|
||||
INSERT INTO `settings` (`name`, `value`) VALUES ('DB_VERSION', '0.0.3') ON DUPLICATE KEY UPDATE `value` = '0.0.3';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user