diff options
author | Michael <icarus@dabo.de> | 2012-02-27 16:31:58 +0100 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-02-27 16:31:58 +0100 |
commit | cce69f05097f559593c06e8595e1da5b904e5323 (patch) | |
tree | 5b4f1d296723fdbbef6da28e67fc4c65c79e538e /update.php | |
parent | 18679111f5aed8f1c5e7ccb9857195e52c57765d (diff) | |
parent | a33031634efef94c0985cd2517f10ccd36b40b5f (diff) | |
download | volse-hubzilla-cce69f05097f559593c06e8595e1da5b904e5323.tar.gz volse-hubzilla-cce69f05097f559593c06e8595e1da5b904e5323.tar.bz2 volse-hubzilla-cce69f05097f559593c06e8595e1da5b904e5323.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/update.php b/update.php index 8a2d891ca..865c6175e 100755 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1127 ); +define( 'UPDATE_VERSION' , 1128 ); /** * @@ -1094,3 +1094,18 @@ 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"); +} + |