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: Post Deploy migration #460

Open
Webonaute opened this issue Dec 6, 2021 · 1 comment
Open

Feature request: Post Deploy migration #460

Webonaute opened this issue Dec 6, 2021 · 1 comment

Comments

@Webonaute
Copy link

hi.

It would be nice to have post deploy migration which can be run when full deployment is processed.

Right now we are using EC2 Launch config to rotate our server to new version. So it mean we can't modifie column or remove them while running a migration, otherwise, old server will start serving errors. So the idea, would be to have a postDeploy migration which will allo us to run cleanups, removing tables or columns, updating user data to new schema once we fully completed our server rotation.

@greg0ire
Copy link
Member

greg0ire commented Dec 6, 2021

Hi! I don't think this package has a concept of deploy, has it? How would it know that the so-called postDeploy migration needs to be run? Also, even if it knows about it, currently migrations are not run by this bundle, are they? The bundle provides commands to run migrations when you call them, right?

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