diff options
author | Friendika <info@friendika.com> | 2011-04-11 21:30:50 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-11 21:30:50 -0700 |
commit | bfffd33ff9603f59e93207dfdc09481e17952726 (patch) | |
tree | 0427a37201c65d629cd6608ebb3a725bde1c2db9 | |
parent | 4cb21fc60b343ccb77937f669951b05feb9cdcff (diff) | |
download | volse-hubzilla-bfffd33ff9603f59e93207dfdc09481e17952726.tar.gz volse-hubzilla-bfffd33ff9603f59e93207dfdc09481e17952726.tar.bz2 volse-hubzilla-bfffd33ff9603f59e93207dfdc09481e17952726.zip |
table for email poll driver
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | database.sql | 9 | ||||
-rw-r--r-- | update.php | 10 |
3 files changed, 20 insertions, 1 deletions
@@ -4,7 +4,7 @@ set_time_limit(0); define ( 'FRIENDIKA_VERSION', '2.1.946' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); -define ( 'DB_UPDATE_VERSION', 1049 ); +define ( 'DB_UPDATE_VERSION', 1050 ); define ( 'EOL', "<br />\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index defab4e8f..5ebc8a796 100644 --- a/database.sql +++ b/database.sql @@ -503,3 +503,12 @@ CREATE TABLE IF NOT EXISTS `ffinder` ( `fid` INT UNSIGNED NOT NULL ) ENGINE = MYISAM DEFAULT CHARSET=utf8; + +CREATE TABLE IF NOT EXISTS `mailacct` ( +`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , +`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 DEFAULT CHARSET=utf8;
\ No newline at end of file diff --git a/update.php b/update.php index 3875933d2..9a8f87b10 100644 --- a/update.php +++ b/update.php @@ -432,3 +432,13 @@ 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 , + `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 "); +}
\ No newline at end of file |