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
We have some problem with pgsql generating model rules
The generator makes all integer columns as […, 'default', 'value' => null] even column set as not null
I've verified this and confirm that it generates the same default rule for null and not null columns.
But, does anyone know what's the purpose of specifying a default value equals null for integers in postgresql?
I mean why is this block of code needed?
What steps will reproduce the problem?
We have some problem with pgsql generating model rules
The generator makes all integer columns as […, 'default', 'value' => null] even column set as not null
What is the expected result?
What do you get instead?
Replace code from (https://github.com/yiisoft/yii2-gii/blob/master/src/generators/model/Generator.php#L358)
into
Additional info
The text was updated successfully, but these errors were encountered: