title: Field 'x' doesn't have a default value
body: <p>I got an error <code>CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'editedbyid' doesn't have a default value.</code> The SQL statement executed was: </p>
  
  <pre><code>INSERT INTO `pos` (`serialnumber`, `posmodelid`, `active`, `created`, `updated`, `forapproval`, `approvedbyid`) VALUES (:yp0, :yp1, 1, NOW(), :yp2, :yp3, :yp4)"
  </code></pre>
  
  <p>I'm using MySQL, PHP and uii framework. How can i resolve this?</p>