Closed jzebedee closed 1 year ago
It looks like #21557 was supposed to get generated column scaffolding working and #21588 is the blame source for the empty ComputedColumnSql
.
/cc @bricelam
Hmm, looks like this was never actually fixed. Pandemic brain, I guess...
We need to update RelationalScaffoldingModelFactory
to call the parameterless overload of HasComputedColumnSql
when it's empty on the db model.
In .NET 8 RC2,
dotnet ef dbcontext scaffold
fails on SQLite databases that contain generated columns.Repro environment
8.0.0-rc.2.23480.1
Microsoft.EntityFrameworkCore.Sqlite
net8.0
Major Minor Build Revision
10 0 22621 0
Repro project
CLI output