title: Multiple databases support in Symfony
body: <p>I am using Propel as my DAL for my Symfony project. I can't seem to get my application to work across two or more databases.</p>
  
  <p>Here's my schema.yml:</p>
  
  <pre><code>db1:
    lkp_User:
      pk_User:                     { type: integer, required: true, primaryKey: true, autoIncrement: true }
      UserName:                    { type: varchar(45), required: true }
      Password:                    longvarchar
      _uniques:
        Unique:                    [ UserName ]
  
  db2:
    tesco:
      Id:                  { type: integer, required: true, primaryKey: true, autoIncrement: true }
      Name:                { type: varchar(45), required: true }
      Description:         longvarchar
  </code></pre>
  
  <p>And here's the databases.yml:</p>
  
  <pre><code>dev:
    db1:
      param:
        classname: DebugPDO
  test:
    db1:
      param:
        classname: DebugPDO
  all:
    db1:
      class: sfPropelDatabase
      param:
        classname: PropelPDO
        dsn: 'mysql:dbname=bpodb;host=localhost'   #where the db is located
        username: root
        password: #pass
        encoding: utf8
        persistent: true
        pooling: true
  
  
    db2:
      class: sfPropelDatabase
      param:
        classname: PropelPDO
        dsn: 'mysql:dbname=mystore2;host=localhost'   #where the db is located
        username: root
        password: #pass
        encoding: utf8
        persistent: true
        pooling: true
  </code></pre>
  
  <p>When I call <code>php symfony propel-build-model</code>, only <code>db1</code> is generated, <code>db2</code> is not. </p>
  
  <p>Any idea how to fix this problem?</p>