Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 541 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 541 Bytes

Postgres

This contains the Postgres Docker Compose definition and Schema migrations.

Schema Migration

Migrations are created and run using golang-migrate.

As of now, migrate.go is pretty inflexible, and is provided as a convenience to not require installing and using the migrate CLI. It just runs the equivalent of migrate -database YOUR_DATABASE_URL -path PATH_TO_YOUR_MIGRATIONS up. If a migration fails or needs to be cleaned up for any reason, it will need manual intervention.