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.
This commit is contained in:
jennylee
2013-11-28 16:44:08 -04:00
parent bf683e1ab5
commit a95f924af3
2 changed files with 5 additions and 5 deletions

View File

@@ -108,7 +108,7 @@
<column name="SYS_UPDATE_DATE" type="TIMESTAMP" />
<column name="SYS_STATUS" type="INTEGER" required="true" default="0" />
</table>
<table name="RBAC_USERS">
<table name="USERS">
<vendor type="mysql">
<parameter name="Name" value="USERS"/>
<parameter name="Engine" value="MyISAM"/>

View File

@@ -338,12 +338,12 @@ class workspaceTools
*/
private function getDatabase($rbac = false)
{
if (isset($this->db) && $this->db->isConnected()) {
if (isset($this->db) && $this->db->isConnected() && $rbac == false) {
return $this->db;
}
G::LoadSystem('database_' . strtolower($this->dbAdapter));
if ($rbac = true){
if ($rbac == true){
$this->db = new database($this->dbAdapter, $this->dbRbacHost, $this->dbRbacUser, $this->dbRbacPass, $this->dbRbacName);
} else {
$this->db = new database($this->dbAdapter, $this->dbHost, $this->dbUser, $this->dbPass, $this->dbName);
@@ -383,7 +383,7 @@ class workspaceTools
*/
public function getSchema($rbac = false)
{
$oDataBase = $this->getDatabase($rbac);
$oDataBase = $this->getDatabase($rbac);
$aOldSchema = array();