Migrations: SQLite should ignore schema rather than throwing. #6679
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Asked by @VorSiechtIP (or a user with the same name) on StackOverflow:
I have a shared model that will be used to create both SqlServer and SQLite databases. I added the Table attribute onto each one of my model classes and supplied a schema:
When I migrate the SQLite database using
context.Database.Migrate()
, I get a NotSupportedException error. I know that SQLite doesn't support schemas, so I was wondering if there was an easy way to ignore the schema attribute during migrate?The text was updated successfully, but these errors were encountered: