aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php19
1 files changed, 18 insertions, 1 deletions
diff --git a/update.php b/update.php
index 2f9277dae..723f12c1a 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1092 );
+define( 'UPDATE_VERSION' , 1094 );
/**
*
@@ -770,3 +770,20 @@ function update_1091() {
}
+function update_1092() {
+ q("ALTER TABLE `user` ADD INDEX ( `login_date` ) ");
+ q("ALTER TABLE `user` ADD INDEX ( `account_expired` ) ");
+}
+
+function update_1093() {
+ q("CREATE TABLE IF NOT EXISTS `fserver` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `server` CHAR( 255 ) NOT NULL ,
+ `posturl` CHAR( 255 ) NOT NULL ,
+ `key` TEXT NOT NULL,
+ INDEX ( `server` )
+ ) ENGINE = MYISAM ");
+
+ q("ALTER TABLE `group` ADD `visible` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `uid` ");
+
+} \ No newline at end of file