Naughty Panda Manga

    @ericlathrop/migrate-postgresql

    0.0.1 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @ericlathrop/migrate-postgresql

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    7.78 kB

    Total Files

    9

    Last publish

    Collaborators

    • ericlathrop