add account_external for linking to legacy authentication infrastructure (e.g. ldap, pam, AD, phpBB, Drupal, etc) - this field is not used by Red.

This commit is contained in:
friendica
2013-03-01 13:42:22 -08:00
parent a7efec2b51
commit 0bdab225db
4 changed files with 16 additions and 4 deletions

View File

@@ -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;
}