So I am trying to embark on learning Symfony, and I want to do it right. So I am now thinking about the best way to manage my schemas. Up until now I was mainly using phpMyAdmin to create my tables as I go. But recently I took different approach. I started using workbench ERD modelling and I really like it. As it forces to sort think ahead about the database structure. And I found this:
https://github.com/johmue/mysql-workbench-schema-exporter
This exports the workbench ERD to (i think) Doctrine entities.
Another way I am thinking is to use the migrations. But it would seem like migrations is just the more tedious option which kind of gives the same result (minus the actual entity classes), as you have to type out all the relationships yourself. Whereas in workbench it is drag and drop.
So I suppose, the real question is, how reliable is the first method? Anyone have any experience using it? Would you better recommend using migrations instead? If so why? Is there any other way, I may not be aware?