mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fixing error in las commit
This commit is contained in:
parent
bbf96567eb
commit
ebde29f63c
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class DboPostgres extends DboSource {
|
|||
}
|
||||
|
||||
if (isset($default)) {
|
||||
$colList[] = 'ALTER COLUMN '. $fieldName .' SET DEFAULT ' . $this->value($default, $field);
|
||||
$colList[] = 'ALTER COLUMN '. $fieldName .' SET DEFAULT ' . $this->value($default, $col['type']);
|
||||
} else {
|
||||
$colList[] = 'ALTER COLUMN '. $fieldName .' DROP DEFAULT';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue