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
Sqlite coumns that are neither NOT NULL or NULL are nullable by default. However, .Nullable() defaults to false and is only set true if the CREATE TABLE sql explicitly denotes the column as NULL
This change sets the default value of ColumnType.Nullable() to true. If
the column is explicitly `MOT NULL` then it will be set false.
This is consistent with the SQLite documentation:
https://www.sqlitetutorial.net/sqlite-not-null-constraint/
Description
Sqlite coumns that are neither
NOT NULL
orNULL
are nullable by default. However,.Nullable()
defaults to false and is only settrue
if theCREATE TABLE
sql explicitly denotes the column asNULL
sqlite/ddlmod.go
Line 122 in 397ec6f
The text was updated successfully, but these errors were encountered: