Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 380 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 380 Bytes

pgmigrate

Wrapper for https://github.com/golang-migrate/migrate but only for PostgreSQL, and only as standalone CLI.

Added features:

  • List pending migrations before actually applying them to the DB.
  • Read connection string from .pg_service.conf.

Usage:

pgmigrate <pgservice_name> <migrations_dir>