Skip to content

Protected packages: Drop col 'package_name_pattern_ilike_query' Part 1

What does this MR do and why?

  • The changes in !140009 (merged) made the column package_name_pattern_ilike_query obsolete => this is why we are droping the column
  • Given the GitLab guide, this is the first MR necessary for dropping a column.
  • In this MR, we are ignoring the column package_name_pattern_ilike_query in table packages_protection_rules
  • Enable null values for colum package_name_pattern_ilike_query
  • Changes as part of the work on protected packages
  • This MR needs to wait for Protected packages: Align logic for protection ... (!140009 - merged)

Changelog: other

🛠 with at Siemens

MR acceptance checklist

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

MR Checklist (@gerardo-navarro)

Screenshots or screen recordings

Only backend and database changes. No frontend.

How to set up and validate locally

  1. Execute model test for protection rule
bundle exec rspec spec/models/packages/protection/rule_spec.rb

Related to #416382

Edited by Gerardo Navarro

Merge request reports