diff options
author | Olivier Migeot <olivier@migeot.org> | 2011-04-12 13:55:43 +0200 |
---|---|---|
committer | Olivier Migeot <olivier@migeot.org> | 2011-04-12 13:55:43 +0200 |
commit | 85f709320b588f3231875d097217bd9abd223c9f (patch) | |
tree | 988f92ae345657ece74dbcc9dd0d8f17d41f20a5 /update.php | |
parent | 294577a48b2d6356dd7695716ea0379bf3a087df (diff) | |
parent | 6da84027afa18633ac5d5dacce99bb244be2aa7b (diff) | |
download | volse-hubzilla-85f709320b588f3231875d097217bd9abd223c9f.tar.gz volse-hubzilla-85f709320b588f3231875d097217bd9abd223c9f.tar.bz2 volse-hubzilla-85f709320b588f3231875d097217bd9abd223c9f.zip |
Merge remote branch 'mike/master'
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/update.php b/update.php index 1c243e6ee..bb4536ae9 100644 --- a/update.php +++ b/update.php @@ -423,3 +423,24 @@ function update_1045() { function update_1046() { q("ALTER TABLE `item` ADD `attach` MEDIUMTEXT NOT NULL AFTER `tag` "); } + +function update_1047() { + q("ALTER TABLE `contact` ADD `writable` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `readonly` "); +} + +function update_1048() { + q("UPDATE `contact` SET `writable` = 1 WHERE `network` = 'stat' AND `notify` != '' "); +} + +function update_1049() { + q("CREATE TABLE `mailacct` ( + `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , + `uid` INT NOT NULL, + `server` CHAR( 255 ) NOT NULL , + `user` CHAR( 255 ) NOT NULL , + `pass` CHAR( 255 ) NOT NULL , + `reply_to` CHAR( 255 ) NOT NULL , + `last_check` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' + ) ENGINE = MYISAM "); +} + |