efcore / EFCore.FSharp

Adds F# design-time support to EF Core
MIT License
234 stars 26 forks source link

Nullable needed on some column parameters #30

Closed ahartman00 closed 5 years ago

ahartman00 commented 5 years ago

When creating a column, the unicode, maxLength, and fixedLength parameters need to be wrapped in Nullable(). I am generating migrations for sqlite.

Column: member val Gloss:string = "" with get, set Example before: table.Column<string>(unicode = false) after: table.Column<string>(unicode = Nullable(false))

simon-reynolds commented 5 years ago

Closed by #33 Nullable values now written as table.Column<string>(unicode = Nullable(false))