Open bbb95 opened 4 years ago
Tracking of many-to-many associations is not supported at the moment
Tracking of many-to-many associations is not supported at the moment
Does the above apply to embeds, particularly embeds_many?
@fantypants Embeds are tracked as part of the diff of the enclosing schema, embeds_one and embeds_many both work.
Hello,
I track schemas
items
,reservations
, anditems_reservations
. I want to show all Item changes, including the item reservations, when any item_reservation is inserted or deleted.I start the query from versions and searching for entity_schema is items, and entity_id is the current item id. After that I need to join all 'items_reservations' versions to know when item was reserved or deleted from reservation.
Do you have any solution or idea, how can I make this?
Thanks