sequelize / cli

The Sequelize CLI
MIT License
2.53k stars 529 forks source link

Seeders state in database with using url option #1455

Open kangreon opened 7 months ago

kangreon commented 7 months ago

Hi. Could you help me. Why sequalize doesn't save seeders state into database?

I'm using next command

sequelize-cli --env=test db:seed:all --config=config/options.json --url=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$DB_HOST:$DB_PORT/$POSTGRES_DB

file config/options.json

{
  "test": {
    "seederStorage": "sequelize"
  }
}

This command works at first run only

How can I save seedres state into database without using any config files?