ddl-generator
ddl-generator copied to clipboard
optionally add cushion to data lengths
As an alternative use unconstrained types (text, varchar specifically) and add a column check constraint using a between with the minimum and maximum lengths found within the data. Or give the user the option to just drop any kind of length validation altogether.