1.0.3 • Published 5 years ago

yamigrate v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

YAMigrate

Yet another postgres db migration tool.

Features

  • extremely simple
  • dotenv compatible
  • migration scripts are run in a transaction with auto-rollback on error

How to use

First set up a "migrations" folder in your project root. Put your migration scripts into this folder.

Number all your migration scripts with a "{#}_" prefix, for example "1_initial_ddl.sql" or "2_unique_foo_constraint.sql"

Then:

npm install yamigrate npx yamigrate

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago