NodeJS package to generate and run database migrations
- Getting started
- Supported databases
- Available methods
- Need help
nodejs-db-migrations support the following databases:
- DB2 (coming soon);
If you want to help us adding new databases support, you can start creating an adapter and a connector for that database inside
./lib/connectors, respectively, with the name of the desired database and following the structure used in
mysql.js adapter and connector, for example.
Show all commands and options available and its descriptions.
Create the package needed migrations and execute then
Execute pending migration(s)
new(name : string [optional])
Create a new migration. If a name is specified the migrate will follow the convention
Rollback all the database and re-run all the migrations
Rollback all migrations executed
Rollback the last migration executed
Show the current package version
If you need more help, feel free to open an issue here or send an email to email@example.com.