0.0.1 • Published 6 years ago

@ericlathrop/migrate-postgresql v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

migrate-postgresql

Make changes to your PostgreSQL schema & data in a structured way.

migrate(migrationDirectory, direction, pool)

Run all migrations found in migrationDirectory. direction is either "up" or "down". pool is an instance of the Pool class from the pg module.

create(migrationDirectory, name)

Create a new timestamped migration file in migrationDirectory.

0.0.1

6 years ago

0.0.0

6 years ago