g1t/services/billing/migrations/0029_audit_retention.sql
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Audit logs are kept by plan: a week on free, 90 days on the plan, and what staff set for an account in sudo | 1 | -- Days of audit log an account's workspaces keep, set by g1t staff in |
| 2 | -- sudo in place of the plan's (7 free, 90 on the plan). NULL: the plan's. | |
| 3 | ALTER TABLE billing_accounts ADD COLUMN audit_retention_days INTEGER; |