1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-02-08 21:31:20 +00:00
parent 35a760aadc
commit 880422ca88

View File

@ -383,10 +383,10 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
if (!empty($field['length'])) {
$length = $field['length'];
if ($length > 4) {
return 'BIGSERIAL PRIMARY KEY';
return 'BIGSERIAL';
}
}
return 'SERIAL PRIMARY KEY';
return 'SERIAL';
}
if (!empty($field['length'])) {
$length = $field['length'];
@ -575,7 +575,7 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict
if ( ! empty($field['autoincrement'])) {
$name = $this->conn->quoteIdentifier($name, true);
return $name.' '.$this->getNativeDeclaration($field);
return $name . ' ' . $this->getNativeDeclaration($field);
}
$default = '';