title: Sequelize .update() always returning [0]
body: <p>Edit: Please read edit at bottom.</p>
  
  <p>I am using sequelize, trying to findOrCreate a row in a mySQL db, and then immediately make an update to newly created rows. My .update function always returns [0], even if hard-coding known existing values into the query. </p>
  
  <pre><code>const importToSqlBI = async (metadataArray, filepath) =&gt; {
    metadataArray.shift(); // remove the header row
    let release;
    ReleaseBI.findOrCreate({
      where: {
        rel_num: metadataArray[0].release
      }
    }).then(([response, created]) =&gt; {
      release = JSON.parse(JSON.stringify(response));
      let numOnly = release.rel_num.substring(1, 3);
      release.rel_num_only = numOnly;
  
      if(created){
        updateRelease(release);
      }
      let z = mapArray(metadataArray, release);
    }).catch(err =&gt; {
      console.log("uploads.js:", 128, err);
    });
    return "finished";
  };
  
  const updateRelease = (release) =&gt; {
    let z = ReleaseBI.update({...release}, {
      where: {
        rel_id: release.rel_id
      }
    }).then((response) =&gt; {
      return response;
    }).catch(err =&gt; {
      console.log("uploads.js:", 149, err);
    });
    return z; // this always returns [0], meaning nothing was updated
  };
  </code></pre>
  
  <p>This is the code that sequelize spits out in the console. Notice there are never any values in the query, only question marks (my object contains all the correct values and the columns names are spelled correctly with the right data types).</p>
  
  <pre><code>Executing (default): UPDATE `releases` SET `rel_id`=?,`rel_num`=? WHERE `rel_id` = ?
  </code></pre>
  
  <p>It looks like it's not even grabbing anything from the object being passed into the query. </p>
  
  <p>What am I doing wrong?</p>
  
  <p>Edit: If I change the column I'm updating (from rel_num_only to rel_num), the query passes. Both are valid columns in SQL, in fact, I generated the model using auto-sequelize. So sequelize doesn't recognize the column from the model it itself made...?</p>
  
  <p>The sequelize model:</p>
  
  <pre><code>module.exports = function(sequelize, DataTypes) {
    return sequelize.define('releases', {
      rel_id: {
        type: DataTypes.INTEGER(11),
        allowNull: false,
        primaryKey: true,
        autoIncrement: true
      },
      rel_num: {
        type: DataTypes.STRING(50),
        allowNull: true
      },
      rel_num_only: {
        type: DataTypes.STRING(50),
        allowNull: true
      }
    }, {
      tableName: 'releases',
      underscored: true,
      timestamps: false
    });
  };
  </code></pre>