« Programmation PHP avec Symfony/Doctrine » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Ligne 554 :
=== Synchronisation ===
==== Vers le code ====
===== Vers les entités =====
<syntaxhighlight lang=bash>
php bin/console doctrine:mapping:import App\\Entity annotation --path=src/Entity
</syntaxhighlight>
 
===== Vers les migrations =====
Pour créer la migration permettant de parvenir à la base de données actuelle :
<syntaxhighlight lang=bash>