1
1
Fork 0

starting the big delivery shakeup

This commit is contained in:
Friendika 2011-09-22 04:11:39 -07:00
commit d6b446d63f
9 changed files with 183 additions and 110 deletions

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1091 );
define( 'UPDATE_VERSION' , 1092 );
/**
*
@ -761,3 +761,12 @@ function update_1090() {
}
function update_1091() {
// catch a few stragglers that may have crept in before we added this on remote connects
q("UPDATE `contact` SET `batch` = concat(substring_index(`url`,'/',3),'/receive/public') WHERE `network` = 'dspr' AND `batch` = '' ");
q("ALTER TABLE `queue` ADD `batch` TINYINT( 1 ) NOT NULL DEFAULT '0' ");
q("ALTER TABLE `fcontact` ADD `batch` char(255) NOT NULL AFTER `addr` ");
}