Permalink
Browse files

Merge pull request #16 from Rvanlaak/master

Pull update of README.md for Symfony CLI users
  • Loading branch information...
2 parents 8db8d16 + e12b3ad commit 4261c730c17ec0c333c4bfc8aeab1aeffefdb418 @kayue committed Jan 30, 2013
Showing with 23 additions and 0 deletions.
  1. +23 −0 README.md
View
@@ -131,6 +131,29 @@ e.g. `wordpress_cookie: ~` and `wordpress_form_login: ~`
# ...
+
+6. When you're using the Symfony CLI, exclude the Wordpress tables by creating a default entitymanager
+
+ # app/config/config.yml
+
+ doctrine:
+ orm:
+ auto_generate_proxy_classes: %kernel.debug%
+ auto_mapping: true
+
+will become
+
+ doctrine:
+ orm:
+ auto_generate_proxy_classes: %kernel.debug%
+ default_entity_manager: default
+ entity_managers:
+ default:
+ connection: default
+ mappings:
+ YourAppBundle: ~
+
+
Multiple Blogs With Multiple Entity Manager
===========================================

0 comments on commit 4261c73

Please sign in to comment.