MySQL Workbench - default data size

In MySQL Workbench, is there a way to set the default data size?

For example, whenever I select the VARCHAR data type, it defaults to VARCHAR (45).

In most cases, I set the length to VARCHAR (255).

So, to save some extra effort, how would I set the default value for VARCHAR (255)?

+6
source share
1 answer

In version 5.2.47:

File> Properties> Model tab. In the Default Columns section of the Column Type field, change the value to VARCHAR (255).

+6
source

Source: https://habr.com/ru/post/947494/


All Articles