was successfully added to your cart.

Regeneración BBDD Symfony en Deploy

/migrations#rm -rf ./*

#php bin/console doctrine:migrations:generate

#php bin/console doctrine:migrations:migrate

#php bin/console doctrine:migrations:current

#php bin/console doctrine:migrations:diff

#php bin/console c:c

#php bin/console doctrine:migrations:migrate

 

Ver https://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html

Para diferencias:

#php bin/console doctrine:migrations:generate
#php bin/console doctrine:migrations:version –add –all
#php bin/console doctrine:migrations:diff
#php bin/console doctrine:migrations:migrate