1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
zYne 2007-02-10 12:35:47 +00:00
parent e9d7274fc2
commit be5750aee8
6 changed files with 21 additions and 6 deletions

View File

@ -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

View File

@ -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);
}
}

View File

@ -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

View File

@ -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);
}
}

View File

@ -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

View File

@ -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