how do I use sequelize findorcreate defaults
<p>I am trying to use the findorcreate method in sequelize and it correctly inserts a row in my mysql database, but the values I put in the defaults section are not getting inserted.</p>

<p>Here is my code</p>

<pre><code>return userDb
  .findOrCreate({
    defaults: {
      first_name: 'john',
      last_name: 'doe',
      email: 'test@test.com'
    },
    where: {
      user_id:UserId
    }
  })
</code></pre>

<p>here is the insert statement that the debug outputs</p>

<pre><code>INSERT INTO `user` (`id`,`user_id`,`deleted`,`created_on`) VALUES (DEFAULT,200,'0',NOW());
</code></pre>

<p>as you can see it does not even attempt to insert the 3 fields I have in the default section. Am I missing something?</p>