Adds validations and db contraints to shifts