summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-20 22:33:56 -0400
committerczaks <marcin@6irc.net>2013-07-20 22:33:56 -0400
commit33c7abf11f3a9b5c0964a2d7a25533c2849dbc78 (patch)
treee585c2ce1ad8c3febf084ee3452ad412f6926dea /install.php
parentbc1bc9f6ef08d778b7218e86ea00f43c1d9bce81 (diff)
parent3596e429bfcb65b42b8406f858aac290a7fba82b (diff)
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'install.php')
-rw-r--r--install.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/install.php b/install.php
index 42fbb15d..542762ae 100644
--- a/install.php
+++ b/install.php
@@ -1,7 +1,7 @@
<?php
// Installation/upgrade file
-define('VERSION', 'v0.9.6-dev-8 + <a href="https://github.com/vichan-devel/Tinyboard/">vichan-devel-4.0.1</a>');
+define('VERSION', 'v0.9.6-dev-8 + <a href="https://github.com/vichan-devel/Tinyboard/">vichan-devel-4.0.2</a>');
require 'inc/functions.php';
@@ -230,6 +230,9 @@ if (file_exists($config['has_installed'])) {
case 'v0.9.6-dev-7':
case 'v0.9.6-dev-7 + <a href="https://github.com/vichan-devel/Tinyboard/">vichan-devel-4.0-gold</a>':
query("ALTER TABLE `bans` ADD `seen` BOOLEAN NOT NULL") or error(db_error());
+ case 'v0.9.6-dev-8':
+ case 'v0.9.6-dev-8 + <a href="https://github.com/vichan-devel/Tinyboard/">vichan-devel-4.0.1</a>':
+ 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());
case false:
// Update version number
file_write($config['has_installed'], VERSION);