- **First way:** Create tables before (using SQL statements) then create ERD (Database → Reverse Engineer). - **Second way:** Create empty databases then create ERD (Database → Reverse Engineer), you ...
You can export the erd.txt to a database migration script. This process is also called forward-engineering for database schema. You can save the erd text into a file, then load it as stdin. e.g.