Description:
As the protocol grows, the database will fill with 100% claimed/completed vaults, slowing down queries for active vaults.
Acceptance Criteria:
[ ] Create an archived_vaults table.
[ ] Run a weekly cron job to move vaults where claimable_balance == 0 and end_time has passed to the archive table.
Labels: database, optimization