sequelize init:migrations

Initializes migrations

Options

NameDescription
--force
  • Dangerous 💥
--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
--debugWhen available show various debug information
--helpShow help
--versionShow version number