aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-13 21:53:39 -0700
committerFriendika <info@friendika.com>2011-03-13 21:53:39 -0700
commit79a6b70a26bdfc8e02b94ecef3d20559590eacc7 (patch)
tree82cab3bd26ffbb4551fbdc8c32fa6bdcd502f2a1 /update.php
parent0d161c6ef60e4bcfe36f0a9b1e090955156a162a (diff)
downloadvolse-hubzilla-79a6b70a26bdfc8e02b94ecef3d20559590eacc7.tar.gz
volse-hubzilla-79a6b70a26bdfc8e02b94ecef3d20559590eacc7.tar.bz2
volse-hubzilla-79a6b70a26bdfc8e02b94ecef3d20559590eacc7.zip
friend finder data structures
Diffstat (limited to 'update.php')
-rw-r--r--update.php22
1 files changed, 21 insertions, 1 deletions
diff --git a/update.php b/update.php
index fe8052b00..39e678bba 100644
--- a/update.php
+++ b/update.php
@@ -326,7 +326,7 @@ function update_1033() {
`k` CHAR( 255 ) NOT NULL PRIMARY KEY ,
`v` TEXT NOT NULL,
`updated` DATETIME NOT NULL
- ) ENGINE = MYISAM DEFAULT CHARSET=utf8;");
+ ) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
}
@@ -377,3 +377,23 @@ function update_1038() {
function update_1039() {
q("ALTER TABLE `addon` ADD `timestamp` BIGINT NOT NULL DEFAULT '0'");
}
+
+
+function update_1040() {
+
+ q("CREATE TABLE IF NOT EXISTS `fcontact` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `url` CHAR( 255 ) NOT NULL ,
+ `name` CHAR( 255 ) NOT NULL ,
+ `photo` CHAR( 255 ) NOT NULL
+ ) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
+
+ q("CREATE TABLE IF NOT EXISTS `ffinder` (
+ `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `uid` INT UNSIGNED NOT NULL ,
+ `cid` INT UNSIGNED NOT NULL ,
+ `fid` INT UNSIGNED NOT NULL
+ ) ENGINE = MYISAM DEFAULT CHARSET=utf8 ");
+
+}
+