Skip to content

Migrations: Make it easier to revert last migration when removing it #1972

@maumar

Description

@maumar

When trying to remove already applied migration we get a message to unapply it first because it's already in the database. However unapplying first migration is not very intuitive, one has to type "dnx . ef migration apply 0" (since we don't have named migration for empty database)

I would much rather have some sort of -force option on ef migration remove that would unapply last migration and then remove it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions