Use 'is_unique' CI native rule instead of hand written methods in model for unique constraints