×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Pascual Muñoz
Added: Oct 28, 2016 6:51 PM
Modified: Oct 30, 2016 10:12 AM
Views: 11
Para importar schemas de bases de datos existentes.
  1. //MAPEAMOS
  2. ./console doctrine:mapping:convert xml ../src/vendor/Bundle/Resources/config/doctrine/metadata/orm --from-database -f            
  3.  
  4. //IMPORTAMOS
  5.  ./console doctrine:mapping:import BlogBundle yml
  6.  
  7. //GENERAMOS ENTIDADES.            
  8. ./console doctrine:generate:entities BlogBundle
  9.