Skip to content

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

License

Notifications You must be signed in to change notification settings

marekpiechut/evolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published