When a website is deleted, it should be "soft deleted" rather than completely deleted #12368
Labels
answered
For when a question was asked and we referred to forum or answered it.
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
Currently:
log_
records for this site, ie. we keep all historical RAW datasite
table.so 1) is fine and by design, but 2) is not good enough, as it leads to "orphaned" RAW data logs where we don't know which website the logs (used to) refer to.
-> Instead we should use a
soft delete
where the row would have a flagdeleted=1
.This would make the database represent the real state of the data and be more consistent with our newer practises (ie. soft deletes are used for Goals / Funnels / Forms / Heatmaps / Sessions / Scheduled reports / Segments)
The text was updated successfully, but these errors were encountered: