title: Grails Entity constrain
body: <p>This is my user entity.. Why my lastlogin is not null in database? i have aLready set blank to true.</p>
  
  <pre><code>class Users {
  
  
  static hasMany = [farm:Farms,report:Reports,reportMessage:ReportMessages]
  
  String userName 
  String Password
  Date LastLogin
  String userImage
  
  static constraints = {
      userName (blank:false, unique:true)
      Password (blank:false)
      userImage (blank:false)
      LastLogin (blank:true)
  
  }
  </code></pre>
  
  <p>}</p>