make required fields non-nullable at db level