Drop token column from ci_runners table

What does this MR do and why?

  • Drop token column from ci_runners table
  • token column was ignored in %18.3 (Reference)

References

Drop column `token` from `ci_runners` (#554452 - closed)

How to set up and validate locally

  • Run VERSION=20250825154503 bin/rails db:migrate:up:ci
  • Verify token column is removed from ci_runners table and it's partitioned tables - group_type_ci_runners, project_type_ci_runners, instance_type_ci_runners.
  • Also, indexes and check constraints are removed from the above-mentioned tables.
  • Run VERSION=20250825154503 bin/rails db:migrate:down:ci
  • Verify that the token text type column has been created
  • Check constraint char_length(token) <= 128 are also created and indexes
  • Note that indexes are not named the same as before, but they generate a unique name which won't collide with any existing ones. We can ignore this since it is not major in terms of how the application works/performs

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading