Answer the question
In order to leave comments, you need to log in
How to migrate data from Postgres tables to Symfony?
Symfony project.
There is a Postgres database dump, for which 2 migrations need to be done:
- Only the table structure.
- Data for these tables.
The first point is not difficult to make, through
php bin/console doctrine:mapping:import "App\Entity" annotation --path=src/Entity
I do Entity, then I create migrations for them. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question