aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php26
1 files changed, 25 insertions, 1 deletions
diff --git a/update.php b/update.php
index 18dc90cce..8ca5ef90b 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1126 );
+define( 'UPDATE_VERSION' , 1129 );
/**
*
@@ -1090,3 +1090,27 @@ function update_1125() {
) 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` ");
+}
+