@dayone-labs/evolutions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Evolutions

Database evolutions for PostgreSQL and NodeJS/Bun. With checksum, CLI, support for plain *.sql files and down migrations for development.

Usage

Usage: evolutions [options] [command]

Options:
-p, --port <port> Postgres port (default: "5432")
-h, --host <host> Postgres host (default: "localhost")
-u, --user <username> Postgres user (default: "postgres")
-w, --password <password> Postgres password (default: "postgres")
-d, --database <database> Postgres database (default: "postgres")
-s, --schema <schema> Database schema (default: "public")
--allow-down Apply down evolutions. DON'T DO THIS IN PRODUCTION !!!
--help display help for command

Commands:
apply [folder]
options
down-to <version>
help [command] display help for command

Readme

Keywords

none

Package Sidebar

Install

npm i @dayone-labs/evolutions

Weekly Downloads

9

Version

0.2.0

License

MIT

Unpacked Size

30 kB

Total Files

15

Last publish

Collaborators

  • marekpiechut