Skip to content

Add length limit to comment attribute on `Vulnerabilities::Feedback` model

What does this MR do and why?

Describe in detail what your merge request does and why.

In order to complete the migration outlined in #324893 (closed) we need to increase the text limit on comment column in StateTransition table. Unfortunately the comment column in Vulnerabilities::Feedback model has NO limit which means we have to follow the plan outlined in #383703 (closed)

This MR introduces a model-level comment length check on Vulnerabilities::Feedback which is step 1.

MR acceptance checklist

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

Edited by Michał Zając

Merge request reports

Loading