13thMarch2013 updated migrations and model with validations, indexed, and constraints