This commit is contained in:
parent
e9d7274fc2
commit
be5750aee8
@ -178,7 +178,10 @@ class Doctrine_DataDict_Firebird extends Doctrine_DataDict
|
||||
throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$dbType);
|
||||
}
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type,
|
||||
'length' => $length,
|
||||
'unsigned' => $unsigned,
|
||||
'fixed' => $fixed);
|
||||
}
|
||||
/**
|
||||
* Obtain DBMS specific SQL code portion needed to set the CHARACTER SET
|
||||
|
@ -174,6 +174,9 @@ class Doctrine_DataDict_Mssql extends Doctrine_DataDict
|
||||
throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$db_type);
|
||||
}
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type,
|
||||
'length' => $length,
|
||||
'unsigned' => $unsigned,
|
||||
'fixed' => $fixed);
|
||||
}
|
||||
}
|
||||
|
@ -363,7 +363,7 @@ class Doctrine_DataDict_Mysql extends Doctrine_DataDict
|
||||
$length = ((int) $length == 0) ? null : (int) $length;
|
||||
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type, 'length' => $length, 'unsigned' => $unsigned, 'fixed' => $fixed);
|
||||
}
|
||||
/**
|
||||
* Obtain DBMS specific SQL code portion needed to set the CHARACTER SET
|
||||
|
@ -180,6 +180,9 @@ class Doctrine_DataDict_Oracle extends Doctrine_DataDict
|
||||
throw new Doctrine_DataDict_Exception('unknown database attribute type: ' . $dbType);
|
||||
}
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type,
|
||||
'length' => $length,
|
||||
'unsigned' => $unsigned,
|
||||
'fixed' => $fixed);
|
||||
}
|
||||
}
|
||||
|
@ -541,7 +541,10 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
|
||||
throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$db_type);
|
||||
}
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type,
|
||||
'length' => $length,
|
||||
'unsigned' => $unsigned,
|
||||
'fixed' => $fixed);
|
||||
}
|
||||
/**
|
||||
* Obtain DBMS specific SQL code portion needed to declare an integer type
|
||||
|
@ -231,7 +231,10 @@ class Doctrine_DataDict_Sqlite extends Doctrine_DataDict
|
||||
throw new Doctrine_DataDict_Exception('unknown database attribute type: '.$dbType);
|
||||
}
|
||||
|
||||
return array($type, $length, $unsigned, $fixed);
|
||||
return array('type' => $type,
|
||||
'length' => $length,
|
||||
'unsigned' => $unsigned,
|
||||
'fixed' => $fixed);
|
||||
}
|
||||
/**
|
||||
* Obtain DBMS specific SQL code portion needed to declare an integer type
|
||||
|
Loading…
Reference in New Issue
Block a user