diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-02-29 14:58:37 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-02-29 14:58:37 +0100 |
commit | b71a3af4570ccf349804b9ffa151fc1d35287d88 (patch) | |
tree | 264c012a0c8ca28c4035666d35c547a829968a2a /update.php | |
parent | f5b8654818e63a0583e58caecc8a13c2d83c12d5 (diff) | |
parent | fb33b4f2bcd18e63d311e6dba3aaa2ea5efdec3b (diff) | |
download | volse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.tar.gz volse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.tar.bz2 volse-hubzilla-b71a3af4570ccf349804b9ffa151fc1d35287d88.zip |
Merge remote-tracking branch 'friendica/master' into randomerror
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 49 |
1 files changed, 47 insertions, 2 deletions
diff --git a/update.php b/update.php index 16c1d7848..8ca5ef90b 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1123 ); +define( 'UPDATE_VERSION' , 1129 ); /** * @@ -1068,4 +1068,49 @@ function update_1121() { function update_1122() { q("ALTER TABLE `notify` ADD `hash` CHAR( 64 ) NOT NULL AFTER `id` , ADD INDEX ( `hash` ) "); -}
\ No newline at end of file +} + +function update_1123() { +set_config('system','allowed_themes','dispy,quattro,testbubble,vier,darkbubble,darkzero,duepuntozero,greenzero,purplezero,quattro-green,slackr'); +} + +function update_1124() { +q("alter table item add index (`author-name`) "); +} + +function update_1125() { + q("CREATE TABLE IF NOT EXISTS `notify-threads` ( + `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , + `notify-id` INT NOT NULL, + `master-parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0', + `parent-item` INT( 10 ) unsigned NOT NULL DEFAULT '0', + `receiver-uid` INT NOT NULL, + INDEX ( `master-parent-item` ), + INDEX ( `receiver-uid` ) + ) ENGINE = MyISAM DEFAULT CHARSET=utf8"); +} + +function update_1126() { + q("ALTER TABLE `mailacct` ADD `action` INT NOT NULL AFTER `pass`, + ADD `movetofolder` CHAR(255) NOT NULL AFTER `action`"); +} + +function update_1127() { + q("CREATE TABLE IF NOT EXISTS `spam` ( + `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , + `uid` INT NOT NULL, + `spam` INT NOT NULL DEFAULT '0', + `ham` INT NOT NULL DEFAULT '0', + `term` CHAR(255) NOT NULL, + INDEX ( `uid` ), + INDEX ( `spam` ), + INDEX ( `ham` ), + INDEX ( `term` ) + ) ENGINE = MyISAM DEFAULT CHARSET=utf8"); +} + + +function update_1128() { + q("alter table spam add `date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `term` "); +} + |