mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
a9261577bc
closes https://github.com/coder/coder/issues/20899 This is in response to a migration in v2.27 that takes very long on deployments with large `api_keys` tables. NOTE: The optimization causes the _up_ migration to delete old data (keys that expired more than 7 days ago). The _down_ migration won't resurrect the deleted data.