JSPM

postgres-shift

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 454
  • Score
    100M100P100Q96513F
  • License WTFPL

A simple forwards only migration solution for [postgres.js](https://github.com/porsager/postgres)

Package Exports

  • postgres-shift
  • postgres-shift/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postgres-shift) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

postgres-shift

A simple forwards only migration solution for postgres.js.

postgres-shift

shift()

postgres-shift exports a single function which is used to start migrations. It expects a postgres.js sql database object to run migrations with.

Example