You want to hear about Doctrine Data Fixtures and Faker :-)
Doctrine 2 "demo" data - filling tables with development data
-
05-12-2021 - |
Pregunta
What is the best way to manage demo (development) data in application which uses Doctrine 2 ORM?
When I didn't use this ORM I simply draw diagram in MySQL Workbench and I used the "inserts" tab of each table to populate it with data. In Doctrine 2 I don't see such an option but I of course need it.
So, please, what is the best way to achieve that? What is your approach?
Solución 2
Otros consejos
You want to hear about Doctrine Fixtures.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow