We're updating the issue view to help you get more done. 

Make generated constraint names short and non-random

Description

cause non-explicitly named constraints to use randomly generated hex characters. Instead, it would be better to go back to a scheme that uses the table and column names, allowing naming consistency and control over the name length.

Concat the table and column names, md5 it, then convert the hex to base 35 (full alphanumeric). This guarantees a < 30 character hash.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Brett Meyer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major