Rename plan_limits.web_hook_calls column to web_hook_calls_high
About
When we introduced webhook rate-limiting initially for free plans, we migrated a configurable limit web_hook_calls
into plan_limits
.
When we later introduced rate-limiting of paid plans hooks we decided to have stepped limits by the number of seats of the customer #337228 (comment 964737393). The next two columns migrated were called:
web_hook_calls_min
web_hook_calls_mid
Proposal
For consistency, we should rename web_hook_calls
to web_hook_calls_high
so it's clear the relationship between this property and the others, to avoid future confusion.
We should follow the guidelines in https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html#renaming-columns.
Edited by Luke Duncalfe