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:
@@ -337,7 +337,7 @@ class workspaceTools
|
||||
* @return database connection
|
||||
*/
|
||||
private function getDatabase($rbac = false)
|
||||
{
|
||||
{
|
||||
if (isset($this->db) && $this->db->isConnected()) {
|
||||
return $this->db;
|
||||
}
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user