Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollback the entire context #387

Open
PavanKumarNew opened this issue Jul 26, 2021 · 1 comment
Open

Rollback the entire context #387

PavanKumarNew opened this issue Jul 26, 2021 · 1 comment

Comments

@PavanKumarNew
Copy link

Hi Team,

Currently when i am running the down command it is rollbacking only the last file.
I need to rollback the files that were executed in the context,
Please suggest.

Example if i migrate two files using migrate up command and if i want to rollback all that files that were migrated in the context , how can i leverage the functionality.

@davidzwa
Copy link

davidzwa commented Jul 27, 2021

To hop onto this issue, I'd like to have the up() do one migration at a time instead of all.
Maybe a command line flag like --all can help both cases to become more predictable.

Must add: Im used to EF Core, so this is already much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants