From 940d216395406744f23fe4144f2a503688624b45 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 10 Apr 2011 18:38:55 -0700 Subject: initial dfrn update to pass perms --- update.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index 1c243e6ee..1d45f5f11 100644 --- a/update.php +++ b/update.php @@ -423,3 +423,8 @@ 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` "); +} + -- cgit v1.2.3 From 0ed2d19ac8e0b624dd4c971dd3f053f7b02b04d4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 11 Apr 2011 20:11:21 -0700 Subject: death to comment box oddities (a slow death as it will take some time for everybody to upgrade) --- update.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'update.php') diff --git a/update.php b/update.php index 1d45f5f11..3875933d2 100644 --- a/update.php +++ b/update.php @@ -428,3 +428,7 @@ 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` != '' "); +} + -- cgit v1.2.3 From bfffd33ff9603f59e93207dfdc09481e17952726 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 11 Apr 2011 21:30:50 -0700 Subject: table for email poll driver --- update.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'update.php') 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 -- cgit v1.2.3 From 5173f5b967aaca97b60a5127b6105aaa04081d91 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 11 Apr 2011 21:34:22 -0700 Subject: missed one --- update.php | 1 + 1 file changed, 1 insertion(+) (limited to 'update.php') diff --git a/update.php b/update.php index 9a8f87b10..f66b1b9fa 100644 --- a/update.php +++ b/update.php @@ -435,6 +435,7 @@ function update_1048() { 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 , -- cgit v1.2.3 From 98712bce7622d618eecaf0a785f3664dd8648ce2 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 11 Apr 2011 21:36:04 -0700 Subject: no newline at eof --- update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index f66b1b9fa..bb4536ae9 100644 --- a/update.php +++ b/update.php @@ -442,4 +442,5 @@ function update_1049() { `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 +} + -- cgit v1.2.3