Skip to content

Question: Is having a non schema-aware DbContextModelSnapshot an issue? It sure looks weird. #2

@IgorPietraszko

Description

@IgorPietraszko

I have implemented everything as described in your article Entity Framework Core - Changing DB Migration Schema At Runtime and it works great! Thanks a lot for that as I am using this approach to support a multi-tenant setup on PostgreSQL.
I only have one question - what about DbContextModelSnapshot? It is not schema-aware but does not seem to cause me any issues. Its just weird since it always reflects the latest SCHEMA I generated migrations for. Is it possible to make it schema-aware?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions