Skip to content

can't use DbContext.Database.GetPendingMigrations and Database.Migrate() #1

Description

@shikiiGithub

When calling any of DbContext.Database.GetPendingMigrations and DbContext. Database.Migrate(), EFCore will throw an exception.

System.InvalidOperationException:“Relational-specific methods can only be used when the context is using a relational database provider.”

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