You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2022. It is now read-only.
But it doesn't. After executing grunt sequelize:dev:migrate I receive this error:
Running "sequelize:dev:migrate" (sequelize) task
Warning: Unknown grunt-sequelize command: dev Use --force to continue.
Error: Unknown grunt-sequelize command: dev
The text was updated successfully, but these errors were encountered:
Hi. All configurations in examples are for tasks that actually do one thing (concat, uglify etc.). That kind of tasks are also called multi tasks. In other words they have 2 level nesting. So your example should describe the sequelize:dev task. But sequelize task do more than one thing.
I think environment specific configuration should be based on the NODE_ENV variable and config file (like in RoR and original sequelize-cli tool). It allows you share the configuration settings between your applications and other helper tools (grunt, gulp etc) for all environments. For example if we want to run migrations for tests, then it should looks like NODE_ENV=test grunt sequelize:migrate.
I've recently bumped an issue in the CLI tool. They also stick with RoR ideology with environment variable and configuration file. I think in future we'll reuse theirs code base for migrations and other sequelize related things, so now I'm trying to be on the same wave with them.
According to the grunt documentation http://gruntjs.com/configuring-tasks#options, something like this should work:
But it doesn't. After executing
grunt sequelize:dev:migrate
I receive this error:The text was updated successfully, but these errors were encountered: