Skip to content
Snippets Groups Projects

Change the MySQL collation type to utf8_bin to ensure case-sensitive tags are supported

Merged Stan Hu requested to merge stanhu/gitlab-ce:fix-mysql-migration-with-tags into master

MySQL tables had a collation type of utf8_ci, which makes the name case-insensitive. Previously this migration was run only after indices were built, but it needs to happen before if there is existing data that is case-sensitive. This is an idempotent change, so applying it again in the existing migration (20150425164651) should not change anything.

This is related to !623 (merged), but this migration should run before that one.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading