diff options
author | friendica <info@friendica.com> | 2014-02-25 19:48:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-25 19:48:13 -0800 |
commit | e7e97e578b3069b8d24ea2a18ce4d3648b402ca3 (patch) | |
tree | a2fce103f82322b6680b6ac7207ca080c53f29cb /install/update.php | |
parent | 2c72e49d1f63404b464f284d86ce2dce7f2eb493 (diff) | |
download | volse-hubzilla-e7e97e578b3069b8d24ea2a18ce4d3648b402ca3.tar.gz volse-hubzilla-e7e97e578b3069b8d24ea2a18ce4d3648b402ca3.tar.bz2 volse-hubzilla-e7e97e578b3069b8d24ea2a18ce4d3648b402ca3.zip |
put bookmarked chatrooms into poco
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 8612e7354..9c9b6129a 100644 --- a/install/update.php +++ b/install/update.php @@ -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; +} +
\ No newline at end of file |