Open s4ke opened 1 year ago
Before we decide on actually doing this with diffing, we have to be careful to not accidentally create a footgun that deletes tenants and users by accident.
Tenants are already guarded by their softdelete nature though. However there is no way to delete a tenant and then recreate it without admin intervention anyways.
This leads to at least an argument against full diff-logic being a good idea. Instead, we can expose libraries for fetching and creating, but not full automatic migrations similar to how we do it for DataPoints.