Hi Folks,
In this post I’ll share few tips when doing database modelling with MySQL Workbench.
If you need to create a table based on another, duplicate the old tables rather than creatiog the table from scratch. To do this. press Ctrl C, Ctrl V. Then update the table name.
Use separate multiple EER diagrams where appropriate. If working on a large database when multiple different concerns, consider using a separate EER diagram for each concern. Don’t shove all very many tables into a single EER diagram.
Double-check queries when synchronizing entity model with database. you will be surprised at some unexpected SQL you may occasionally find generated by MySQL Workbench. To avoid nasty surprises, always read through the SQL queries before applying them to your database.
Use MySQL Model tab to quickly view all tables in a MySQL Workbench file.
When copying tables, pay attention to autoincrement clause carried over from the old table, deleting it if necessary.
That’s all for now. Till next time, happy software development.