I find myself building many tables in MySQL Workbench that have the same first three columns:
Not only are these three columns repeated, but their exact properties (not null, auto increment for the id, default value of 1 for isActive, etc) are also repeated.
So my Question:
-Does there exist a macro to begin building the table for a given table name, to speed up this process?
-If not can someone provide a link to getting me started for building something like this?
(Then after using this macro I can fill in the additional columns but the database development time will be less).
Thanks!
The answer to my question - which I thought of based on a great suggestion by Ed Heal (see his comments above), would be to use the SQL Additions to workbench - Snippets.
You can add a new snippet under 'My Snippets' which contains the create table script, rather than maintaining in a text file, and then just fill in the rest of the columns after you do a right mouse + 'insert snippet at text cursor'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.