structures for batch mode (Diaspora/zot)
This commit is contained in:
parent
8a11cec61a
commit
9edf15d3ef
7 changed files with 75 additions and 30 deletions
10
update.php
10
update.php
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1090 );
|
||||
define( 'UPDATE_VERSION' , 1091 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -753,3 +753,11 @@ function update_1088() {
|
|||
function update_1089() {
|
||||
q("ALTER TABLE `user` ADD `blocktags` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `hidewall` ");
|
||||
}
|
||||
|
||||
function update_1090() {
|
||||
q("ALTER TABLE `contact` ADD `batch` char(255) NOT NULL AFTER `prvkey` ");
|
||||
|
||||
q("UPDATE `contact` SET `batch` = concat(substring_index(`url`,'/',3),'/receive/public') WHERE `network` = 'dspr' ");
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue