title: Laravel all return ID become 0
body: <p>I've got a problem with all my queries with a <code>varchar</code> ID returning an integer.</p>
  
  <p>For example,a query which should return <code>C-1451963448-MjL</code> returns instead 0.</p>
  
  <p>My query:</p>
  
  <pre><code>$transaction = Transaction::with('user')-&gt;get();
  return response()-&gt;json($transaction);
  </code></pre>
  
  <p>which returns:</p>
  
  <pre><code>[
    {
      "id": 0,
      "user_id": 8,
      "amount": "56164.00",
      "created_at": "2016-01-05 10:10:48",
      "user": {
        "id": 8,
        "facebook_id": null,
        "first_name": "Alta",
        "last_name": "Keebler",
      }
    },
  ]
  </code></pre>
  
  <p>the transaction id becoming 0. Last time I tried it succeeded, but now every ID with <code>varchar</code> returns 0 instead of the real value. </p>
  
  <p>I've tried to <code>foreach</code> the get query, and yes the id is <code>0</code>. 
  I also tried to <code>dd($transaction)</code> when i checked it, it return me with correct ID.</p>
  
  <p>What should I do to make it work again?</p>