title: "ERROR: Validation error" message when executing two Sequelize commands in "pretest" script
body: <p>I'm writing tests for my project. It uses Sequelize and I thought about doing the following:</p>
  
  <pre><code>"pretest": "NODE_ENV=testing yarn sequelize db:migrate &amp;&amp; yarn sequelize db:seed:all",
  "test": "mocha --require @babel/register 'src/tests/**/*.spec.js'",
  "posttest": "NODE_ENV=testing yarn sequelize db:migrate:undo:all"
  </code></pre>
  
  <p>But the following shows:</p>
  
  <pre><code>❯ yarn test     
  yarn run v1.19.2
  $ NODE_ENV=testing yarn sequelize db:migrate &amp;&amp; yarn sequelize db:seed:all
  $ /home/gabriel/Workspace/graphql-apollo/node_modules/.bin/sequelize db:migrate
  
  Sequelize CLI [Node: 12.13.1, CLI: 5.5.1, ORM: 5.21.2]
  
  Loaded configuration file "src/config/database.js".
  == 20191123132531-create-users: migrating =======
  == 20191123132531-create-users: migrated (0.047s)
  
  == 20191123132658-create-messages: migrating =======
  == 20191123132658-create-messages: migrated (0.028s)
  
  $ /home/gabriel/Workspace/graphql-apollo/node_modules/.bin/sequelize db:seed:all
  
  Sequelize CLI [Node: 12.13.1, CLI: 5.5.1, ORM: 5.21.2]
  
  Loaded configuration file "src/config/database.js".
  == 20191123132945-users: migrating =======
  
  ERROR: Validation error
  
  error Command failed with exit code 1.
  </code></pre>
  
  <p>If I execute the migration and seeding command separately, it works fine.  I also tried to use <code>concurrently</code>, but the same happens.</p>
  
  <pre><code>"pretest": "concurrently 'NODE_ENV=testing yarn sequelize db:migrate' 'yarn sequelize db:seed:all'",
  </code></pre>