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

Successful rollbacks should remove or invalidate deployments from the tracking DB #50

Open
nativestranger opened this issue Aug 22, 2017 · 1 comment

Comments

@nativestranger
Copy link

No description provided.

@cjestel
Copy link
Contributor

cjestel commented Aug 22, 2017

We'll see if we can get to this one. JP and I talked about making updates like this off hours while we are at pgwest in another week or two. This feature was intentionally left out when built because from a prod perspective we don't ever rollback a migration, we would copy the rollback to the changes folder and deploy as a new migration so that the timeline of production isn't capable of being off from what may be deployed to test (aka, prod having moved forward and then back while test env's just moved forward).

We've discussed making this a config option so that in test env's a rollback is officially supported. We also have discussed a --rollback X option where X is an integer to specify the number of migrations to rollback without having to pass in file names

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

2 participants