use binary comparison for branch column
Collation settings did not apply in production?
@@ -11,7 +11,7 @@ func AddBranches(tx migration.LimitedTx) error {
repository_id INT NOT NULL,
- name VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
+ name VARBINARY(255) NOT NULL,
credential_count INT UNSIGNED NOT NULL,
FOREIGN KEY (repository_id) REFERENCES repositories(id) ON DELETE CASCADE,
