Skip to content

Swap columns for shared_runners_duration conversion

Tianwen Chen requested to merge 424823-swap into master

What does this MR do and why?

This is to swap the columns related to shared_runners_duration after the backfill for:

  • ci_project_monthly_usages
  • ci_namespace_monthly_usages

The backfills (see !129573 (merged)) are completed at:

  • ci_project_monthly_usages completed at Thu, 07 Sep 2023 12:40:01.872815000 UTC +00:00
  • ci_namespace_monthly_usages completed at Sat, 09 Sep 2023 17:50:04.048930000 UTC +00:00

See the document here for the process that I'm trying to follow: https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html#migrating-integer-primary-keys-to-bigint

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Related to #424823 (closed)

Edited by Tianwen Chen

Merge request reports