|
|
@@ -3068,7 +3068,7 @@ class DboSource extends DataSource {
|
|
|
}
|
|
|
$out = $this->_buildFieldParameters($out, $column, 'beforeDefault');
|
|
|
|
|
|
- if (isset($column['key']) && $column['key'] === 'primary' && $type === 'integer') {
|
|
|
+ if (isset($column['key']) && $column['key'] === 'primary' && ($type === 'integer' || $type === 'biginteger')) {
|
|
|
$out .= ' ' . $this->columns['primary_key']['name'];
|
|
|
} elseif (isset($column['key']) && $column['key'] === 'primary') {
|
|
|
$out .= ' NOT NULL';
|