sajad torkamani

Generate a migration

symfony console make:migration

Symfony will detect the changes you’ve made to your entities and generate the appropriate migrations.

Run migration

symfony console doctrine:migrations:migrate

List migrations

symfony console doctrine:migrations:list

Sources

Tagged: Doctrine