Skip to content

Check for pending database migrations on start

João Pereira requested to merge db-dont-apply-migrations-on-start into master

Currently, we're applying up migrations on start automatically when the application starts. This is dangerous for clustered environments. Instead of applying migrations we should check if all known migrations (to the instance) are applied and halt if not, similar to what Rails does.

Merge request reports

Loading