title: Laravel insert empty value Postgress error
body: <p>When creating elements in Laravel 4 using the ORM like so:</p>
  
  <pre><code>FigureModel::create( array( 'numericFieldOne'=&gt;1, 'numericFieldTwo'=&gt; null ) );
  FigureModel::create( array( 'numericFieldOne'=&gt;1, 'numericFieldTwo'=&gt; '' ) );
  </code></pre>
  
  <p>In mysql all is well and all the items are perfect inserterd, no problem so far:
  <img src="https://i.stack.imgur.com/YsVTZ.png" alt="enter image description here"></p>
  
  <p>But in postgress, it tries to insert empty values without a quote making postress crash. Like so:</p>
  
  <p><img src="https://i.stack.imgur.com/rcrxA.png" alt="enter image description here"></p>
  
  <p>What to do?? Does anyone have an idea about how to tackle this problem? Thanks!!</p>
  
  <p>( and custom setters for each element validating it to be a number or null is not an option )</p>