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

Initial implementation of a breakpoint for migration rollback. #497

Closed

Conversation

rquadling
Copy link
Collaborator

See #494 for the issue.

@robmorgan
Copy link
Member

waiting to see if theres further support from the community

@pedanticantic
Copy link

This is a really good feature and I would love to see if incorporated into phinx! It means you can have a "safety net" so you don't accidentally roll back all your database changes. It also means that when you start a new task, you can put a breakpoint in on the "current" change, and it's really easy to roll back to that point while you're working on that task.

samizdam and others added 22 commits December 3, 2015 23:33
Old domain of box project is squatted!
Add support for type YEAR
Change box project lint to actual github page.
MySQL adapter add support for type YEAR - Issues cakephp#551
Updated tests to support statuses requirement of needing the full row to display the breakpoint.
…list of version numbers, the other returns the full row (along with the breakpoint flag).

Updated the testRollbacksByDate test to mock the getFullVersions() call appropriately.
Updated the testMigrationsByDate test to verify that getFullVersions() is not called as the full record is not needed as part of the migration run.
@shadowhand
Copy link
Contributor

Thank you for contributing! The branch you made this PR against is no longer accepting patches. This probably happened because we didn't merge your changes fast enough. 😭

Please create a new PR against the current default branch if you want to see these changes merged.

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

Successfully merging this pull request may close these issues.

None yet

6 participants