Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeders state in database with using url option #1455

Open
kangreon opened this issue Jan 26, 2024 · 0 comments
Open

Seeders state in database with using url option #1455

kangreon opened this issue Jan 26, 2024 · 0 comments

Comments

@kangreon
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant