Allows to create and run migrations using the serverless context
With this plugin you can
migrateavailable via the
SERVERLESS_ROOT_PATHwhich points to the root directory of your project.
Basically, these migrations can do anything that involves applying I/O changes and undo them. Watch the CHANGELOG to see what has been added to the date.
Check out the project located in the folder example of this repository. It contains a README with all the explanation you need to start creating your migrations. For starters, this is what you must do to start working with migrations:
serverless-migrate-pluginin your project:
npm i serverless-migrate-plugin
plugins: - serverless-migrate-plugin
sls migrate create <your-migration-name>
Now you are ready to implement your migrations. Once you have finished, you can test them using
sls migrate up and
sls migrate down.
It is highly recommended you to read about how to create migrations for migrate.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Latest commit b2f54ec on Sep 24, 2017