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

run database migrations on hot-upgrade deploys #532

Open
2 tasks
vanderhoop opened this issue Mar 31, 2019 · 0 comments
Open
2 tasks

run database migrations on hot-upgrade deploys #532

vanderhoop opened this issue Mar 31, 2019 · 0 comments

Comments

@vanderhoop
Copy link
Contributor

vanderhoop commented Mar 31, 2019

As a maintainer,
I want to automatically run database migrations when pushing hot upgrades,
So that we don't have to run full-restart deploys when migrations are added.

By Way Of Explanation: at the moment, we're opting out of hot upgrades when deploying changes that include new database migration files. This is because our current automated migrations are fired off on start of the phoenix application, and hot upgrades don't issue a restart of the phoenix application (that's their chief benefit). However, using distillery hooks, we can still manage this, saving disconnects for users who are mid-retro when deploying a change that includes a database migration.

Acceptance Criteria:

Helpful Links:

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

1 participant