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

[Feature Request] Rollback intelligence for migrations #6

Open
bkuhl opened this issue Dec 9, 2014 · 2 comments
Open

[Feature Request] Rollback intelligence for migrations #6

bkuhl opened this issue Dec 9, 2014 · 2 comments

Comments

@bkuhl
Copy link

bkuhl commented Dec 9, 2014

Rolling back is a complicated process and it'd be sweeeeet if this package handled when to run database rollbacks. It'd require looking at the current/target releases to figure out how many/which migrations needed to be rolled back. This might be able to be accomplished by looking at the output of a diff between the releases? If it required a database connection, a Laravel package might be in order.

@philbates35
Copy link

+1 This would be an excellent feature.

@ikari7789
Copy link
Collaborator

Sorry for the late response. I'll be helping maintain this plugin for the foreseeable future.

I also agree that this would be an excellent feature, though as you said, it is quite a complicated process. If you can think of any good way to handle this I'm all ears. I haven't even made migrations by default as part of a release as some migrations may require special timing in how they are executed (i.e. need to take the site down while running if some columns changed or something).

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

No branches or pull requests

3 participants