Protected packages: Drop col 'package_name_pattern_ilike_query' Part 1
requested to merge gitlab-community/gitlab:416382-gerardo-navarro-protected-packages-remove-unnecessary-attribute-package_name_pattern_ilike_query into master
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 tablepackages_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
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)
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides -
Wait for Protected packages: Align logic for protection ... (!140009 - merged)
Screenshots or screen recordings
Only backend and database changes. No frontend.
How to set up and validate locally
- Execute model test for protection rule
bundle exec rspec spec/models/packages/protection/rule_spec.rb
Related to #416382
Edited by Gerardo Navarro