put bookmarked chatrooms into poco

This commit is contained in:
friendica
2014-02-25 19:48:13 -08:00
parent 2c72e49d1f
commit e7e97e578b
5 changed files with 52 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1100 );
define( 'UPDATE_VERSION' , 1101 );
/**
*
@@ -1136,3 +1136,11 @@ function update_r1099() {
return UPDATE_FAILED;
}
function update_r1100() {
$r = q("ALTER TABLE `xchat` ADD `xchat_edited` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
ADD INDEX ( `xchat_edited` ) ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}