Run migrations before starting dev server #6
Reference in New Issue
Block a user
Delete Branch "fix/run-migrations-on-startup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Chains
migrate --noinputbeforerunserverin the web service command so migrations are applied automatically ondocker compose up.Fixes the "186 unapplied migrations" warning on first run.