Skip to content

Commit 407fccc

Browse files
committed
📦️ chore: upgrade PostgreSQL to version 17
Update docker-compose and documentation to use PostgreSQL 17, matching production environment on Heroku.
1 parent 21ce26d commit 407fccc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CLAUDE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ Always specify settings module: `--settings=pythonie.settings.dev` (or `tests`,
3535
### Database
3636

3737
- Development (default): SQLite at `pythonie/db.sqlite3`
38-
- Docker/Tests: PostgreSQL 13 in docker-compose
39-
- Production: PostgreSQL on Heroku via `DATABASE_URL` environment variable
38+
- Docker/Tests: PostgreSQL 17 in docker-compose
39+
- Production: PostgreSQL 17 on Heroku via `DATABASE_URL` environment variable
40+
41+
**Important**: When using Heroku CLI tools locally (e.g., `task database:reset`), ensure you have PostgreSQL 17 installed locally. This simplifies database reset operations and ensures compatibility with production.
4042

4143
### Key Dependencies
4244

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121

2222

2323
postgres:
24-
image: postgres:13.21
24+
image: postgres:17
2525
ports:
2626
- "5432:5432"
2727
environment:

0 commit comments

Comments
 (0)