aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-04 17:35:06 -0700
committerFriendika <info@friendika.com>2011-09-04 17:35:06 -0700
commit481853d2cc44a4bf6c540e72c741ff453305a925 (patch)
treec29357adbc460d0e3096ef57e2a4844d44eaaef1 /update.php
parentf6a43afb8da061ac13d778eb7fba6e2ea6dda6d7 (diff)
downloadvolse-hubzilla-481853d2cc44a4bf6c540e72c741ff453305a925.tar.gz
volse-hubzilla-481853d2cc44a4bf6c540e72c741ff453305a925.tar.bz2
volse-hubzilla-481853d2cc44a4bf6c540e72c741ff453305a925.zip
saved searches on network page
Diffstat (limited to 'update.php')
-rw-r--r--update.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/update.php b/update.php
index 80761cce4..3d7b31813 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1085 );
+define( 'UPDATE_VERSION' , 1086 );
/**
*
@@ -704,10 +704,20 @@ function update_1083() {
`cmd` CHAR( 32 ) NOT NULL ,
`item` INT NOT NULL ,
`contact` INT NOT NULL
- ) ENGINE = MYISAM ;");
+ ) ENGINE = MYISAM ");
}
function update_1084() {
q("ALTER TABLE `contact` ADD `attag` CHAR( 255 ) NOT NULL AFTER `nick` ");
}
+
+function update_1085() {
+ q("CREATE TABLE IF NOT EXISTS `search` (
+ `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+ `uid` INT NOT NULL ,
+ `term` CHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+ INDEX ( `uid` ),
+ INDEX ( `term` )
+ ) ENGINE = MYISAM ");
+}