Select Git revision
20230830084959
-
Vasilii Iakliushin authored
Contributes to gitlab-org/gitlab#423445 **Problem** We have a discrepancy between GitLab database and `db/structure.sql`. GitLab database contains 255 character limit for regex fields. But this limit is missing for self-hosted instances and GDK. **Solution** Recently we added a Rails validation to prevent regex longer than 511 characters (gitlab-org/gitlab!128153). We can migrate existing columns to match this limit. It's a three step migration: 1. Add NOT VALID CHECK to verify length of regex fields 2. Validate regex fields 3. Remove any char limits from regex fields Changelog: changed EE: true
Vasilii Iakliushin authoredContributes to gitlab-org/gitlab#423445 **Problem** We have a discrepancy between GitLab database and `db/structure.sql`. GitLab database contains 255 character limit for regex fields. But this limit is missing for self-hosted instances and GDK. **Solution** Recently we added a Rails validation to prevent regex longer than 511 characters (gitlab-org/gitlab!128153). We can migrate existing columns to match this limit. It's a three step migration: 1. Add NOT VALID CHECK to verify length of regex fields 2. Validate regex fields 3. Remove any char limits from regex fields Changelog: changed EE: true
Code owners
Assign users and groups as approvers for specific file changes. Learn more.