Add explicit type for policy_type
What does this MR do and why?
Add explicit type for policy_type
- Explicitly defining the attribute type for the enum column to prevent schema loading errors Sidekiq contexts by providing type information before the database schema is fully initialized.
References
Screenshots or screen recordings
n/a
How to set up and validate locally
- Still, figuring that out myself
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.