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

No seeders found. when exec "sequelize db:seed:undo:all" #308

Closed
chentsulin opened this issue Jun 2, 2016 · 1 comment
Closed

No seeders found. when exec "sequelize db:seed:undo:all" #308

chentsulin opened this issue Jun 2, 2016 · 1 comment

Comments

@chentsulin
Copy link

sequelize db:seed:all

Loaded configuration file "config/database.json".
Using environment "development".
Using gulpfile /usr/local/lib/node_modules/sequelize-cli/lib/gulpfile.js
Finished 'db:seed:all' after 77 ms
== 20160602141623-user-seed: migrating =======
== 20160602141623-user-seed: migrated (0.024s)

works fine. But

sequelize db:seed:undo:all

Loaded configuration file "config/database.json".
Using environment "development".
Using gulpfile /usr/local/lib/node_modules/sequelize-cli/lib/gulpfile.js
Finished 'db:seed:undo:all' after 75 ms
No seeders found.

Here is my .sequelizerc:

const path = require('path');

module.exports = {
  'config': path.resolve('config', 'database.json'),
  'migrations-path': path.resolve('lib', 'migrations'),
  'seeders-path': path.resolve('lib', 'seeders'),
};
@pi-kei
Copy link

pi-kei commented Jul 11, 2016

This must be the solution - #253

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

2 participants