Skip to content

@databases/[email protected]

Compare
Choose a tag to compare
@ForbesLindesay ForbesLindesay released this 03 May 14:02
f09f53f

Breaking Changes

  • No longer exports run method (#71)

    Internally, it was refactored to use modern-spawn

  • Requires more recent version of @types/node (#71)

    This will only impact you if you are using TypeScript.

New Features

  • Add CLI for creating postgres databases (#81)

  • You can now specify the migrationsScript as a string (#72)

    If you were previously doing:

    {
      "pg": {
        "migrations": ["yarn", "run", "migrations"]
      }
    }

    you can now do:

    {
      "pg": {
        "migrations": "yarn run migrations"
      }
    }

    You can continue specifying them as an array if you prefer.