aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-03 16:00:52 -0700
committerFriendika <info@friendika.com>2011-11-03 16:00:52 -0700
commit014c91431e7796f9c5394efaae507837fe5c168b (patch)
treea940fa1c864a65052afebd83254cb9fb65daef08 /update.php
parent4f4b03367aafc8efd36cf73ecab58cdd26802757 (diff)
downloadvolse-hubzilla-014c91431e7796f9c5394efaae507837fe5c168b.tar.gz
volse-hubzilla-014c91431e7796f9c5394efaae507837fe5c168b.tar.bz2
volse-hubzilla-014c91431e7796f9c5394efaae507837fe5c168b.zip
ignore suggestions
Diffstat (limited to 'update.php')
-rw-r--r--update.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/update.php b/update.php
index cdadb2e38..67017fa03 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1101 );
+define( 'UPDATE_VERSION' , 1102 );
/**
*
@@ -864,6 +864,17 @@ function update_1100() {
}
+function update_1101() {
+ q("CREATE TABLE IF NOT EXISTS `gcign` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `uid` INT NOT NULL ,
+ `gcid` INT NOT NULL
+ ) ENGINE = MYISAM ");
+
+ q("ALTER TABLE `gcign` ADD INDEX (`uid`), ADD INDEX (`gcid`) ");
+}
+
+