Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 830 Bytes

README.md

File metadata and controls

52 lines (33 loc) · 830 Bytes

dbmap

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.

Installation

From the releases page

Download the latest release from the releases page.

From source

  • Clone the repository
git clone https://github.com/akkaraju-satvik/dbmap
  • Install the dependencies
go mod download
  • Install the binary
go install

Usage

Initialize a new project

dbmap init -c <connection-string>

Create a new migration

dbmap create-migration

Apply migrations

dbmap apply-migrations