Context
Heroku notified us that PostgreSQL 15 reaches end-of-life on 2027-Jan-20 and all databases must be upgraded by 2026-Dec-20. After that date Heroku will force-upgrade to PG 18 automatically (and reserves the right to deprovision databases that aren't upgraded). We should upgrade on our own schedule rather than wait for the forced upgrade.
Affected database:
- App:
revelry-slax
- Add-on:
postgresql-corrugated-17078 (attached as DATABASE_URL / HEROKU_POSTGRESQL_CRIMSON_URL)
- Plan: Standard 0
- Current version: PG 15.18 (flagged "deprecating")
- Data size: ~15 MB / 14 tables
- Maintenance window: Thursdays 22:00 – Fridays 02:00 UTC
Target version: PG 18 (Heroku's current default; avoids another upgrade cycle soon)
Tasks
References
Deadline: complete before 2026-Dec-20 (Heroku forced upgrade after that date)
Context
Heroku notified us that PostgreSQL 15 reaches end-of-life on 2027-Jan-20 and all databases must be upgraded by 2026-Dec-20. After that date Heroku will force-upgrade to PG 18 automatically (and reserves the right to deprovision databases that aren't upgraded). We should upgrade on our own schedule rather than wait for the forced upgrade.
Affected database:
revelry-slaxpostgresql-corrugated-17078(attached asDATABASE_URL/HEROKU_POSTGRESQL_CRIMSON_URL)Target version: PG 18 (Heroku's current default; avoids another upgrade cycle soon)
Tasks
mix.lock; check release notes for PG 16–18 breaking changes relevant to our queries)heroku addons:create heroku-postgresql:standard-0 -a revelry-slax --fork DATABASE_URL, upgrade the fork, and run the app against it (then destroy the fork).github/workflows/test.ymlcurrently pinsimage: postgres:9.6, bump topostgres:18(worth doing early to shake out compatibility issues in tests)heroku pg:upgrade:prepare DATABASE_URL -a revelry-slax --version 18heroku maintenance:on -a revelry-slaxheroku pg:upgrade:run DATABASE_URL -a revelry-slaxheroku maintenance:off -a revelry-slaxheroku pg:info -a revelry-slaxshows PG 18, app boots, smoke-test core flowsheroku pg:backups:schedules -a revelry-slaxReferences
Deadline: complete before 2026-Dec-20 (Heroku forced upgrade after that date)