emigrate/packages/cli
Joakim Carlstein 570bd1fa2b feat(cli): make the default reporter print the full command output when done
In interactive mode the output is normally clipped to the number of lines that the current terminal window can show without scrolling
so to remedy that the full command output is now printed to the console when done
2023-11-22 14:35:38 +01:00
..
src feat(cli): make the default reporter print the full command output when done 2023-11-22 14:35:38 +01:00
CHANGELOG.md feat(cli): storage and reporter are now their own options 2023-11-22 14:35:35 +01:00
package.json chore(lint): configure project wide linting to make use of Turborepo again 2023-11-17 14:20:06 +01:00
README.md refactor(cli): rename the emigrate package to @emigrate/cli to be more in line with other tools 2023-11-15 14:42:10 +01:00
tsconfig.json refactor(cli): rename the emigrate package to @emigrate/cli to be more in line with other tools 2023-11-15 14:42:10 +01:00

@emigrate/cli

Emigrate is a tool for managing database migrations. It is designed to be simple yet support advanced setups, modular and extensible.

Installation

Install the Emigrate CLI in your project:

npm install --save-dev @emigrate/cli

Usage

Create a new migration:

emigrate new -d migrations -e .js create some fancy table

Will create a new empty JavaScript migration file with the name "YYYYMMDDHHmmssuuu_create_some_fancy_table.js" in the migrations directory.