Skip to content

ApplyMigrations does not find pending migrations #1

@sam-wheat

Description

@sam-wheat

List<string> migrations = (await context.Database.GetPendingMigrationsAsync()).ToList();

context is of the type that implements IMigration which is probably why the migrations are not found. Probably should be of the type of that directly implements DbContext.

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