summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/install.php b/install.php
index 3aa8f56f..c5bbdf36 100644
--- a/install.php
+++ b/install.php
@@ -1,7 +1,7 @@
<?php
// Installation/upgrade file
-define('VERSION', '5.0.1');
+define('VERSION', '5.1.0');
require 'inc/functions.php';
@@ -558,6 +558,7 @@ if (file_exists($config['has_installed'])) {
query('ALTER TABLE ``mods`` CHANGE `salt` `salt` VARCHAR(64) NOT NULL;') or error(db_error());
case '5.0.0':
query('ALTER TABLE ``mods`` CHANGE `salt` `version` VARCHAR(64) NOT NULL;') or error(db_error());
+ case '5.0.1':
case false:
// TODO: enhance Tinyboard -> vichan upgrade path.
query("CREATE TABLE IF NOT EXISTS ``search_queries`` ( `ip` varchar(39) NOT NULL, `time` int(11) NOT NULL, `query` text NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=utf8;") or error(db_error());