1 Commits (ca7f2ec73cb559f0875e580b81a1e0f18b06c21a)

Author SHA1 Message Date
Tom Hacohen baa42d040d Collection: also save the collection UID on the model itself.
This enables us to have db-constraints for making sure that UIDs are
unique, as well as being more efficient for lookups (which are very
common).

The UID should always be the same as the main_item.uid, though that's
easily enforced as neither of them is allowed to change.
4 years ago