Retention period of the row change history
- Remove feature flag and include changelog for row edit history
From Bram:
Yes, for the core version of Baserow we need to have an environment variable where you can configure how many days you want the row change history to persist. For the audit log, we for example, have these environment variables.
- BASEROW_ENTERPRISE_AUDIT_LOG_CLEANUP_INTERVAL_MINUTES
- BASEROW_ENTERPRISE_AUDIT_LOG_RETENTION_DAYS
I can imagine something similar for the row change history as well. The SaaS version should work differently. We need to have the ability to configure the visible row change history per plan. I don't think we should actually delete row history records, but only allow the users to fetch until a certain period based on their plan. For example:
Free: 14 days retention Premium: 90 days retention Advanced: 365 days retention
Where the highest plan can never be higher than the row change history retention days environment variable because that data will actually get deleted.