Fixes T4183. If you have too many repositories sharing the same credential and MySQL is in strict mode, we'll fail a query when trying to write a credential with a name longer than 255 characters. Instead, shorten the variable-length part to 128 characters.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T4183: 20131121.repocredentials.2.mig.php fails with too many repos - Data too long for column 'name' in passphrase_credential
- Commits
- Restricted Diffusion Commit
rP95c2b5097447: Shorten extremely long credential names when migrating them
Wiped credentials column and successfully re-ran migration with storage upgrade --force --apply phabricator:20131121.repocredentials.2.mig.php
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped