diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-10-05 20:59:21 +0200 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-10-05 20:59:21 +0200 |
commit | 90870d4872dbc8ff408183a79fd005b905aa86c2 (patch) | |
tree | cdd66eea79a7638b520576d381d08368b05a19c1 /update.php | |
parent | e88a8564c849b199ca552fa307f385b422d5d00a (diff) | |
parent | 5cb0b0ed4591a578720e0c985974db2d95f3810a (diff) | |
download | volse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.tar.gz volse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.tar.bz2 volse-hubzilla-90870d4872dbc8ff408183a79fd005b905aa86c2.zip |
Merge branch 'master' of git://github.com/friendika/Free-Friendika
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 19 |
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 |