mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 08:01:16 +00:00
1317ea67d6
PR #10 added 000035_api_key_suffix and PR #11 separately added 000035_api_key_smart_limits, both targeting the api_keys table. golang-migrate refuses to load when two source files share a version number, so the backend container failed health checks in fresh stacks. Bumping api_key_smart_limits to 000037 keeps PR #10 in its original slot (it landed first) and matches the next free version after 000036_contact_categories. The two migrations touch different columns so apply order does not matter.
8 lines
258 B
SQL
8 lines
258 B
SQL
DROP INDEX IF EXISTS idx_api_key_usage_endpoint;
|
|
DROP INDEX IF EXISTS idx_api_key_usage_key_time_status;
|
|
|
|
ALTER TABLE api_keys
|
|
DROP COLUMN IF EXISTS last_request_ip,
|
|
DROP COLUMN IF EXISTS description,
|
|
DROP COLUMN IF EXISTS rate_limit_per_minute;
|