diff --git a/lib/tasks/db.js b/lib/tasks/db.js index 6fbeb998..55dc2f15 100644 --- a/lib/tasks/db.js +++ b/lib/tasks/db.js @@ -113,7 +113,8 @@ module.exports = { task: function () { return getMigrator('seeder').then(function (migrator) { - return migrator.pending() + return (helpers.umzug.getStorage('seeder') === 'none' ? + migrator.pending() : migrator.executed()) .then(function (seeders) { if (seeders.length === 0) { console.log('No seeders found.');