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
It is fine to set defaultValue to null if allowNull is true.
If I create a table with multiple columns. And if a column (say "c2") has allowNull is true then when I try to insert (by raw SQL statement) a row without specifying column "c2" then its value will be automatically inserted as null.
Resolve below TODO:
File:
src/lib/items/Attribute.php::toColumnSchema()
:Conclusion:
It is fine to set
defaultValue
tonull
ifallowNull
istrue
.If I create a table with multiple columns. And if a column (say "c2") has
allowNull
istrue
then when I try to insert (by raw SQL statement) a row without specifying column "c2" then its value will be automatically inserted asnull
.Part of #10
and
Part of cebe#180
The text was updated successfully, but these errors were encountered: