Generates a constraint name adhering to the arsdigita standard
for naming constraints. Note that this function does not yet ensure
that the returned constraint name is not already in use, though the
probability for a collision is pretty low.
The ideal name is table_column_stem. We trim first table, then
column to make it fit.
- -max_length (defaults to
- Michael Bryzek <email@example.com>