1
1
Fork 0

item table update for file feature

This commit is contained in:
friendica 2012-03-02 00:09:10 -08:00
commit be231e3466
3 changed files with 10 additions and 3 deletions

View file

@ -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` ) ");
}
}
function update_1130() {
q("ALTER TABLE `item` ADD `file` MEDIUMTEXT NOT NULL AFTER `inform`, ADD FULLTEXT KEY (`file`) ");
}