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

🚸(apps) run the db_migrate job before starting application pods #411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 17, 2019

  1. 🚸(apps) run the db_migrate job before starting application pods

    If we run db_migrate after starting the new pod:
    - the current pod has to be compatible with the state of the db before and
      after the migration.
    - the new pod has to be compatible with the state of the database before
      and after a migration. This is not possible for a new database, and not
      easy for schema updates.
    If we run db_migrate before starting a new pod, the new pod only has to be
    compatible with the state of the database after the migration.
    Samuel Paccoud - FUN MOOC committed Dec 17, 2019
    Configuration menu
    Copy the full SHA
    c6c80fa View commit details
    Browse the repository at this point in the history