All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
store
or state-file
are not specified it will not fail.
store
and adds state-file
:
store
: Path where to get the class in charge of managing the migration data. If it is not
specified it will use the default implementation which stores it in a file, i.e. .migrate
.state-file
: Set the path of the state file. This path is also passed to the constructor of
the class specified by store
.fileExtension
: Indicates the file extension for the migrations. By default .js
.Basic features:
template-file
.store
: The migration states store file you want to uselastRunIndicator
: The text to append to the last migration that is appliednoDescriptionText
: Text to show when a migration has no descriptionignoreMissing
: Ignores missing migration files if they are not found.dateFormat
: The date format to use on the reports. By default it uses yyyy-mm-dd
.templateFile
: The template to use to create your migrations.
By default it is false
, which makes the program throw an error if a migration is absent.store
environment
section of the serverless.yml into the
process.env
of the migrations.SERVERLESS_ROOT_PATH
which points to the absolute path of the project.