title: DB Query Commands are producing strange sql queries
body: <p>I have my model as: </p>
  
  <pre><code>type Report struct {
      ID    int     `json:"id,omitempty" gorm:"primary_key"`
      Title *string `json:"title" gorm:"not null"`
  }
  </code></pre>
  
  <p>I have initialized variable <code>report</code> as <code>var report Report</code> I have successfully auto migrated this model as database table and have populated database as <code>sql INSERT</code> using GORM's <code>db.Create(&amp;report)</code>.</p>
  
  <p>The problem I am facing is while trying query commands. Every query commands supported by GORM such as <code>db.Find(&amp;report)</code> , <code>db.First(&amp;report, 1)</code> is resulting to queries such as folows: </p>
  
  <pre><code>SELECT * FROM "reports"  WHERE "reports"."deleted_at" IS NULL AND ((id = $1))
  SELECT * FROM "reports"  WHERE "reports"."deleted_at" IS NULL AND ((id = $1))
  SELECT * FROM reports WHERE (reports.deleted_at IS NULL) AND ((id = $1))
  SELECT * FROM reports WHERE (reports.deleted_at IS NULL) AND ((id = $1))
  SELECT 0 done
  </code></pre>
  
  <p>I am unable to query database. I am using GORM with cockroach db. This works fine when using GO pq driver and raw sql commands.</p>