diff options
author | friendica <info@friendica.com> | 2013-03-01 13:42:22 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-03-01 13:42:22 -0800 |
commit | 0bdab225dbe869a7334c376cd81df8446f863cff (patch) | |
tree | 8bc5498c3400b21add94290a9e91601ea056cb98 /install/update.php | |
parent | a7efec2b512c7915e4d29963836a04ad76a68d57 (diff) | |
download | volse-hubzilla-0bdab225dbe869a7334c376cd81df8446f863cff.tar.gz volse-hubzilla-0bdab225dbe869a7334c376cd81df8446f863cff.tar.bz2 volse-hubzilla-0bdab225dbe869a7334c376cd81df8446f863cff.zip |
add account_external for linking to legacy authentication infrastructure (e.g. ldap, pam, AD, phpBB, Drupal, etc) - this field is not used by Red.
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index c40dd1982..944841c41 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1031 ); +define( 'UPDATE_VERSION' , 1032 ); /** * @@ -387,3 +387,13 @@ KEY `issue_component` (`issue_component`) return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1031() { + $r = q("ALTER TABLE `account` ADD `account_external` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `account_email` , +ADD INDEX ( `account_external` )"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + + |