diff options
author | friendica <info@friendica.com> | 2013-01-01 01:57:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-01 01:57:20 -0800 |
commit | 93d85858d556e64fa86befa859ee01241a0a2754 (patch) | |
tree | 452c7c63e3555794458e2af8090197f9b49837be /install/update.php | |
parent | 6accc190d4041c1dd859f36560f93a019ce197ee (diff) | |
download | volse-hubzilla-93d85858d556e64fa86befa859ee01241a0a2754.tar.gz volse-hubzilla-93d85858d556e64fa86befa859ee01241a0a2754.tar.bz2 volse-hubzilla-93d85858d556e64fa86befa859ee01241a0a2754.zip |
poco discovery
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 3b75f0e5f..614887709 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1012 ); +define( 'UPDATE_VERSION' , 1013 ); /** * @@ -189,3 +189,11 @@ ADD INDEX ( `expires` )"); return UPDATE_FAILED; } +function update_r1012() { + $r = q("ALTER TABLE `xchan` ADD `xchan_connurl` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `xchan_url` , +ADD INDEX ( `xchan_connurl` )"); + + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |