aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-11 16:13:57 -0700
committerfriendica <info@friendica.com>2012-04-11 16:13:57 -0700
commit8a8702c9cd5dde44356da11f5417db6af0597d4e (patch)
tree7b50275f011fabbef1a9b4b559ce735e582cb0ff /update.php
parentcdb6510b9f3007d2afd3081313caa7d045af1e7c (diff)
downloadvolse-hubzilla-8a8702c9cd5dde44356da11f5417db6af0597d4e.tar.gz
volse-hubzilla-8a8702c9cd5dde44356da11f5417db6af0597d4e.tar.bz2
volse-hubzilla-8a8702c9cd5dde44356da11f5417db6af0597d4e.zip
extensible item_id table for managing all the different message-ids generated by multiple services
Diffstat (limited to 'update.php')
-rw-r--r--update.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/update.php b/update.php
index 1a36c754d..5ab321b33 100644
--- a/update.php
+++ b/update.php
@@ -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`) ");
+}
+