dbmap is a database migration management tool for PostgreSQL.
Note:
dbmapis not a SQL generator. It is a database migration management tool.dbmapwill 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 installdbmap init -c <connection-string>dbmap create-migrationdbmap apply-migrations