summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2016-05-06 14:36:14 +0200
committerczaks <marcin@6irc.net>2016-05-06 14:36:14 +0200
commitaa98ca337e327fb1d8e77e124bf49922190246c4 (patch)
tree2ce12aa2b3e6323afddd2207f4795852a1eae20a /install.php
parent126ee42b9dffe262457177c5dbb7ffa2db170763 (diff)
i think this lump of code deserves a version bump; v5.1.0 here
Diffstat (limited to 'install.php')
-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());