title: Upsert with attribute included updated_at
body: <p>I want to make some script backfill data from an old database to a new database, with <code>gorm</code> as it ORM, and I want to upsert using <code>FirstOrCreate</code>, below are the attributes and query used:</p>
  
  <pre><code>user {
    ID: someid,
    Name: somename,
    .
    .
    .
    CreatedAt: time.Time,
    UpdatedAt: 2020-03-24 17:57:00,
  }
  
  err = db.Where(user{ID: someid}).Assign(user).FirstOrCreate(&amp;user)
  </code></pre>
  
  <p>I want in new database, the data is as it is (<code>updated_at = 2020-03-24 17:57:00</code>) but I got <code>updated_at</code> is <code>time.Now()</code></p>
  
  <p>How can I upsert the data with <code>updated_at</code> is updated as I send it?</p>