diff options
author | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-01 11:49:22 +0100 |
---|---|---|
committer | Alexander Kampmann <programmer@nurfuerspam.de> | 2012-03-01 11:49:22 +0100 |
commit | dd9432903ddb3e12381881da44fb84afff832d52 (patch) | |
tree | b499e77cd4faf8157c2e048fb8242bc2ca2720cc /update.php | |
parent | e0c659b34b8992111bcc64d3f0eea75dfa193412 (diff) | |
parent | bd2c8c92f1b30d8f811bd4aab0fe3a2c5496ec61 (diff) | |
download | volse-hubzilla-dd9432903ddb3e12381881da44fb84afff832d52.tar.gz volse-hubzilla-dd9432903ddb3e12381881da44fb84afff832d52.tar.bz2 volse-hubzilla-dd9432903ddb3e12381881da44fb84afff832d52.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/update.php b/update.php index 0096754d2..6dbd410bc 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1125 ); +define( 'UPDATE_VERSION' , 1130 ); /** * @@ -1076,4 +1076,44 @@ set_config('system','allowed_themes','dispy,quattro,testbubble,vier,darkbubble,d 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` "); +} + +function update_1129() { + q("ALTER TABLE `notify` ADD `parent` INT NOT NULL AFTER `link` , ADD INDEX ( `parent` ), ADD INDEX ( `link` ), ADD INDEX ( `otype` ) "); }
\ No newline at end of file |