sequelize db:migrate:undo
Reverts a migration
Options
Name | Description |
---|---|
--name <migration name> | Name of the migration to undo |
--env <environment> | The environment to run the command in |
--config <file path> | The path to the config file |
--options-path <file path> | The path to a JSON file with additional options |
--migrations-path <folder path> | The path to the migrations folder |
--seeders-path <folder path> | The path to the seeders folder |
--models-path <folder path> | The path to the models folder |
--url <connection string> | The database connection string to use |
--debug | When available show various debug information |
--help | Show help |
--version | Show version number |