Files
Brenda WallaceandClaude Sonnet 5.5 6061b73602 Run migrations in a Heroku release phase
The Procfile had only a web process, so a deploy never ran migrations and they
had to be run by hand after the new code was live, leaving a window where the
code expected columns that did not exist yet. A release phase runs db:migrate
before the new release goes live, and if it fails the release is stopped and the
old code keeps running.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 22:56:31 +13:00

3 lines
78 B
Plaintext

release: bundle exec rails db:migrate
web: bundle exec puma -C config/puma.rb