validation in database level

@abhiahirwar 

I have created validation in database as well. You need to roll back twice and then run your migration again.

rake db:rollback
rake db:rollback

rake db:migrate

I have also changed unitno to unit_no and lotno to lot_no

Rakesh