SQLite
Version 5.0.0
Tracks the NSchema.Core 5.0.0 rearchitecture (lockstep major versioning). See the core changelog for the engine-wide changes; the provider-facing ones are below.
Added
newasks which file to use. The plugin declares the database file as a scaffolding question and composes the answer into theconnection_stringit writes.
Changed
UseSqlite(...)replacesUseSqliteSchema(...), andUseSqliteDialect()replacesUseSqliteGenerator().- Introspection implements
IDatabaseIntrospector(the core seam replacingISchemaProvider) and returns the newNSchema.Modelschema model. - SQL generation is a
SqlDialect(the core seam replacingISqlGenerator), registered viaUseSqliteDialect(). - Unsupported operations are error diagnostics now. Actions SQLite cannot express (in-place column changes, constraint changes on an existing table, sequences, enums, routines, grants, materialized views, …) surface as errors on the plan result instead of throwing
NotSupportedException, so you always get the complete plan. - Comment changes are skipped with a warning. SQLite has no
COMMENT ON; a declared comment previously emitted no SQL silently, and now carries a warning diagnostic explaining why it never converges. - The plugin is configured by a
DATABASEstatement (replacing thePROVIDERblock), and its scaffold template no longer pins a version — the host owns thePLUGINdeclaration.