aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorDevlon Duthie <duthied@gmail.com>2011-10-02 18:39:53 -0500
committerDevlon Duthie <duthied@gmail.com>2011-10-02 18:39:53 -0500
commit8e38fe6f47db54e7af12707130641e8de9f3eeb9 (patch)
tree5b2b4fadf9adc716bf7c94dc864c9403007a8c84 /update.php
parentf6f5e5b99389019bdd6a3258de19cdda2d014b97 (diff)
parent7c1968907d26a66581d362475a6b557e53e159cb (diff)
downloadvolse-hubzilla-8e38fe6f47db54e7af12707130641e8de9f3eeb9.tar.gz
volse-hubzilla-8e38fe6f47db54e7af12707130641e8de9f3eeb9.tar.bz2
volse-hubzilla-8e38fe6f47db54e7af12707130641e8de9f3eeb9.zip
Merge branch 'master' of http://github.com/friendika/Free-Friendika
Diffstat (limited to 'update.php')
-rw-r--r--update.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/update.php b/update.php
index 0dd599e83..723f12c1a 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1093 );
+define( 'UPDATE_VERSION' , 1094 );
/**
*
@@ -773,4 +773,17 @@ 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