Coreccion de dbAdapter
This commit is contained in:
@@ -686,11 +686,12 @@ class workspaceTools
|
|||||||
{
|
{
|
||||||
G::LoadClass("patch");
|
G::LoadClass("patch");
|
||||||
$this->initPropel( true );
|
$this->initPropel( true );
|
||||||
|
p11835::$dbAdapter = $this->dbAdapter;
|
||||||
p11835::isApplicable();
|
p11835::isApplicable();
|
||||||
$systemSchema = System::getSystemSchema();
|
$systemSchema = System::getSystemSchema($this->dbAdapter);
|
||||||
$systemSchemaRbac = System::getSystemSchemaRbac();// obtiene el Schema de Rbac
|
$systemSchemaRbac = System::getSystemSchemaRbac($this->dbAdapter);// get the Rbac Schema
|
||||||
$this->upgradeSchema( $systemSchema );
|
$this->upgradeSchema( $systemSchema );
|
||||||
$this->upgradeSchema( $systemSchemaRbac, false, true, $onedb ); // Hace Upgrade de Rbac
|
$this->upgradeSchema( $systemSchemaRbac, false, true, $onedb ); // perform Upgrade to Rbac
|
||||||
$this->upgradeData();
|
$this->upgradeData();
|
||||||
p11835::execute();
|
p11835::execute();
|
||||||
return true;
|
return true;
|
||||||
@@ -735,7 +736,7 @@ class workspaceTools
|
|||||||
if ($changed) {
|
if ($changed) {
|
||||||
return $changes;
|
return $changes;
|
||||||
} else {
|
} else {
|
||||||
CLI::logging("-> Nothing to change in the data base structure (" . ($rbac ? 'RBAC' : 'WORKFLOW') . ")\n");
|
CLI::logging("-> Nothing to change in the data base structure of " . (($rbac == true)?"RBAC":"WORKFLOW") . "\n");
|
||||||
return $changed;
|
return $changed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user