more chatroom discovery

This commit is contained in:
friendica
2014-02-25 17:55:30 -08:00
parent 9a2e73ae15
commit 2c72e49d1f
4 changed files with 35 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1099 );
define( 'UPDATE_VERSION' , 1100 );
/**
*
@@ -1118,3 +1118,21 @@ function update_r1098() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
function update_r1099() {
$r = q("CREATE TABLE IF NOT EXISTS `xchat` (
`xchat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`xchat_url` char(255) NOT NULL DEFAULT '',
`xchat_desc` char(255) NOT NULL DEFAULT '',
`xchat_xchan` char(255) NOT NULL DEFAULT '',
PRIMARY KEY (`xchat_id`),
KEY `xchat_url` (`xchat_url`),
KEY `xchat_desc` (`xchat_desc`),
KEY `xchat_xchan` (`xchat_xchan`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}