Added constraints to property options

e.g. property :name, unique: true
Need to add specs