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 #722

Open
tgoeminne opened this issue Jun 3, 2024 · 3 comments
Open

rollback #722

tgoeminne opened this issue Jun 3, 2024 · 3 comments
Labels

Comments

@tgoeminne
Copy link

when you do rollback should the phinxlog entry in db not be deleted?

i do migrate -p plugin then rollback -p plugin, then want to do migrate again not work due to phinxlog entry in db?

@dereuromark dereuromark added the bug label Jun 3, 2024
@markstory
Copy link
Member

when you do rollback should the phinxlog entry in db not be deleted?

Yes, the records in phinxlog should be removed when a migration has been rolled back. There are tests covering this. Knowing more about which commands you're running would help with reproducing this issue.

@tgoeminne
Copy link
Author

bin/cake migrations migrate -p name, and same with rollback -p name

markstory added a commit that referenced this issue Jun 6, 2024
I wasn't able to reproduce this issue in the test suite.
@markstory
Copy link
Member

I've added a test case for the situation you've described so far in fab711c what are we missing in order to reproduce this?

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

No branches or pull requests

3 participants