emigrate/packages/emigrate
github-actions[bot] 72df2385a0
chore(release): version packages (#11)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-15 12:25:48 +01:00
..
src feat(emigrate): add support for reading config from emigrate.config.js (and others) 2023-11-14 16:19:58 +01:00
CHANGELOG.md chore(release): version packages (#11) 2023-11-15 12:25:48 +01:00
package.json chore(release): version packages (#11) 2023-11-15 12:25:48 +01:00
README.md chore: add some basic README files 2023-11-15 10:32:47 +01:00
tsconfig.json chore: first commit 🎉 2023-11-08 11:41:05 +01:00

emigrate

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

Installation

Install Emigrate in your project:

npm install --save-dev emigrate

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.