Closed westonganger closed 1 year ago
I dont think we need to set the identifier at all. If anyone needs to find a snapshot they can use the created_at timestamp column.
Merged to master on Sept 19 2022, will update this issue once a new version is released.
As suggested in https://github.com/westonganger/active_snapshot/issues/13#issuecomment-965690730 , we could make the identifier option of
create_snapshot
optional. If someone does not set it then we could utilize theid
of the recordNot sure how I feel about automatically setting some identifier value that are not conciously thought about by the developer. So would like some feedback on this.