1
0
mirror of https://github.com/quay/quay.git synced 2026-01-27 18:42:52 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Joseph Schorr
e140a3928d Implement a solution for long index names in sqlalchemybridge (#283)
We now cap the index name length at 64 (as per MySQL restrictions). If
an index name is *longer* than that, we hash the index name in its
entirety and then append the short-sha of the hash as a suffix to a
shortened version of the index name. This ensures the index name meets
the length requirements while *also* being stable across generations.

This change also adds a legacy map of long index names to the names we
manually applied, to ensure they don't get regenerated either
2020-03-27 14:19:31 -04:00
Tom McKay
e6ae94db8b 'make black' results 2019-12-02 12:23:08 -05:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00