Categories
How to properly create migrations in Symfony?
How do I see it: an entity is created and a migration is generated based on it? or how to do it right?
Answer the question
In order to leave comments, you need to log in
The easiest way is everything from the console, but then you google it)
Создаем модель php bin/console make:entity Создаем миграцию php bin/console make:migration Применяем миграцию php bin/console doctrine:migrations:migrate
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question