]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge remote-tracking branch 'CatoTH/master' into req245
[friendica.git] / update.php
index 1a36c754d86aa0354c050f447ea7acb9ebe189d3..5ab321b335f5720154bf1f965ec30270bc651313 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1137 );
+define( 'UPDATE_VERSION' , 1138 );
 
 /**
  *
@@ -1205,4 +1205,11 @@ function update_1136() {
        q("ALTER TABLE `config` ADD UNIQUE `access` ( `cat` , `k` ) "); 
        q("ALTER TABLE `pconfig` ADD UNIQUE `access` ( `uid` , `cat` , `k` )"); 
 
-}
\ No newline at end of file
+}
+
+
+function update_1137() {
+       q("alter table item_id DROP `face` , DROP `dspr` , DROP `twit` , DROP `stat` ");
+       q("ALTER TABLE `item_id` ADD `sid` CHAR( 255 ) NOT NULL AFTER `uid` , ADD `service` CHAR( 255 ) NOT NULL AFTER `sid` , add index (`sid`), add index ( `service`) ");
+}
+