max / makenotwork
| 1 | -- Account termination with 30-day export window. |
| 2 | -- terminated_at marks when the admin permanently terminated the account. |
| 3 | -- The user can still log in and use export endpoints for 30 days. |
| 4 | -- After 30 days, the scheduler deletes the account. |
| 5 | |
| 6 | users ADD COLUMN terminated_at TIMESTAMPTZ; |
| 7 |