dbmap
is a database migration management tool for PostgreSQL.
Note:
dbmap
is not a SQL generator. It is a database migration management tool.dbmap
will help you manage them by keeping track of which scripts have been run, and which have not.
Download the latest release from the releases page.
- Clone the repository
git clone https://github.com/akkaraju-satvik/dbmap
- Install the dependencies
go mod download
- Install the binary
go install
dbmap init -c <connection-string>
dbmap create-migration
dbmap apply-migrations