In MySQL Workbench, is there a way to set the default datatype sizes?
For example, whenever I select the VARCHAR datatype, it defaults to VARCHAR(45).
In most cases, I set the length to VARCHAR(255).
So, to save myself some extra effort, how would I set the default to VARCHAR(255)?
In version 5.2.47:
File > Properties > "Model" tab. In the "Column defaults" section for the "column type" field, change the value to VARCHAR(255).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With