How to implement version control for database Things?

Hello forum,

I’m trying to figure out best practices for implementing some type of version control for Things in the database, so that the user can access all previous versions of a Thing that they are making changes to.

Has anyone done this effectively and willing to share how?

Regards,
Mihira

If by that you mean logging changes, then there are several ways of doing that. One is to create a new thing rather than overwriting it. Tag the previous thing with a “deleted” Boolean value and you already have a versioning system in place. You’d need to have a common identifier for you thing’s genealogy.

1 Like

Thanks! I did imagine it would be something like this but I’m not that experienced so I thought best to check.

Give it a try and let us know if you need further help.