Author: Kris.Wallsmith
Date: 2010-02-25 20:39:38 +0100 (Thu, 25 Feb 2010)
New Revision: 28298
Modified:
plugins/sfDoctrineMasterSlavePlugin/trunk/README
Log:
[sfDoctrineMasterSlavePlugin] made example emulation database config a bit more
sexy
Modified: plugins/sfDoctrineMasterSlavePlugin/trunk/README
===================================================================
--- plugins/sfDoctrineMasterSlavePlugin/trunk/README 2010-02-25 17:07:12 UTC
(rev 28297)
+++ plugins/sfDoctrineMasterSlavePlugin/trunk/README 2010-02-25 19:39:38 UTC
(rev 28298)
@@ -138,16 +138,10 @@
`databases.yml` to enable this emulation in debug and test modes.
dev:
- doctrine:
+ master: &master
class: sfDoctrineDatabase
param:
dsn: mysql:dbname=database;host=localhost
username: root
password: ~
- is_master: true
- slave:
- class: sfDoctrineDatabase
- param:
- dsn: mysql:dbname=database;host=localhost
- username: root
- password: ~
+ slave: *master
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.