BUG-13425 Cambiar el tamanio del campo PASSWORD, tabla AUTHENTICATION_SOURCE en la bd RBAC.

Se realizo un cambio en el schema de la BD Rbac para que el campo Password de la tabla AUTHENTICATION_SOURCE tenga un tamanio mayor de 150 caracteres.

Ademas de esto se realizaron cambios en la clase WsTools para poder hacer el cambio en el schema de la bd actual al realizar un upgrade.
Please enter the commit message for your changes. Lines starting
This commit is contained in:
jennylee
2013-11-22 13:54:30 -04:00
parent 0a9f3708cb
commit bbcbca67cd

View File

@@ -381,11 +381,9 @@ class workspaceTools
*
* @return array with the database schema
*/
public function getSchema($rbac = null)
public function getSchema($rbac = false)
{
if($rbac == null){
if($rbac == false){
$oDataBase = $this->getDatabase();
} else {
$oDataBase = $this->getDatabase(true);
@@ -673,11 +671,7 @@ class workspaceTools
throw new Exception("Only MySQL is supported");
}
if($rbac == true) {
$workspaceSchema = $this->getSchema(true);
} else {
$workspaceSchema = $this->getSchema();
}
$workspaceSchema = $this->getSchema($rbac);
$changes = System::compareSchema($workspaceSchema, $schema);
@@ -691,11 +685,9 @@ class workspaceTools
return $changed;
}
}
if($rbac == true) {
$oDataBase = $this->getDatabaseRbac();
} else {
$oDataBase = $this->getDatabase();
}
$oDataBase = $this->getDatabase($rbac);
$oDataBase->iFetchType = MYSQL_NUM;
$oDataBase->logQuery(count($changes));