Fix multiline check constraint migration
What does this MR do and why?
This MR changes the check constraint creation to use our standard helpers. Might fix broken master: gitlab-org/quality/engineering-productivity/master-broken-incidents#3798 (comment 1598700492)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.