Skip to content

Rename WebHook service_id to integration_id part 1

What does this MR do and why?

This is the first step of a multi deployment to rename web_hooks.service_id to web_hooks.integration_id. Usually this would be done in one MR containing:

  • Code changes to use the new column name
  • A migration doing rename_column_concurrently
  • A post migration doing cleanup_concurrent_column_rename

But the web_hooks table is quite large and the first migration might run for too long. We decided to make it a multistep deployment instead:

  1. %15.3 (this MR)
    • Post migration doing rename_column_concurrently
  2. %15.4
    • Post migration doing cleanup_concurrent_column_rename
    • Code changes to use the new column name

This is part of our epic to rename "services" to "integrations" in &2504 (closed).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Andy Schoenen

Merge request reports