aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-02 00:09:10 -0800
committerfriendica <info@friendica.com>2012-03-02 00:09:10 -0800
commitbe231e346658eb68e518324ba995aaccb7abd055 (patch)
tree12fa14ba29159ec4c8b473c244eba0bbb9b79a7c /update.php
parentf55ffcd48ce5c0b3254ae1a02fda7b29d875fa09 (diff)
downloadvolse-hubzilla-be231e346658eb68e518324ba995aaccb7abd055.tar.gz
volse-hubzilla-be231e346658eb68e518324ba995aaccb7abd055.tar.bz2
volse-hubzilla-be231e346658eb68e518324ba995aaccb7abd055.zip
item table update for file feature
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/update.php b/update.php
index 6dbd410bc..c29394b48 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1130 );
+define( 'UPDATE_VERSION' , 1131 );
/**
*
@@ -1116,4 +1116,9 @@ function update_1128() {
function update_1129() {
q("ALTER TABLE `notify` ADD `parent` INT NOT NULL AFTER `link` , ADD INDEX ( `parent` ), ADD INDEX ( `link` ), ADD INDEX ( `otype` ) ");
-} \ No newline at end of file
+}
+
+function update_1130() {
+ q("ALTER TABLE `item` ADD `file` MEDIUMTEXT NOT NULL AFTER `inform`, ADD FULLTEXT KEY (`file`) ");
+}
+