westonganger / active_snapshot

Simplified snapshots and restoration for ActiveRecord models and associations with a transparent white-box implementation
MIT License
103 stars 16 forks source link

Remove redundant SnapshopItem item_type uniqueness validation #39

Closed westonganger closed 1 year ago

westonganger commented 1 year ago

The uniqueness validation on item_type is redundant to the one for item_id. Lets remove this for simplification and performance.