You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the default value is a function then brackets with parametrs are ignored. Example:
TYPE TIMESTAMP WITH TIME ZONENOT NULL DEFAULT NOW() =>set $type => TYPE TIMESTAMP WITH TIME ZONE() // error, must be TYPE TIMESTAMP WITH TIME ZONEset $multiAlterStatement => [
'ALTER COLUMN "date" SET DEFAULT NOW', // error, must be 'ALTER COLUMN "date" SET DEFAULT NOW()''ALTER COLUMN "date" SET NOT NULL',
];
The text was updated successfully, but these errors were encountered:
https://github.com/yiisoft/yii2/blob/73902f0730454f499d1a8bb49382e5021943656e/framework/db/pgsql/QueryBuilder.php#L266C48-L266C48
If the default value is a function then brackets with parametrs are ignored. Example:
The text was updated successfully, but these errors were encountered: