title: PropelORM v1 multiple databases
body: <p>I have few problems with setting PropelORM to work with multiple databases. I couldn't find anything useful in the documentation. </p>
  
  <ol>
  <li><p>Generating schemas from multiple databases</p>
  
  <p>I prefer to make a change to database schema first and then run</p>
  
  <pre><code>$ propel-gen . reverse
  </code></pre>
  
  <p>to get <em>schema.xml</em>. What if my system consists of more then one database? Can it generate multiple schemas? I know from the documentation <em>buildtime-conf.xml</em> has to be created but it doesn't do anything for me.</p></li>
  <li><p>Generating classes</p>
  
  <p>Let's say I created to different schemas <em>blog.schema.xml</em> and <em>platform.schema.xml</em>. Is it possible to:</p>
  
  <ol>
  <li><p>have a different class prefix for each schema? In <em>build.properties</em> I can set <code>propel.classPrefix</code> but that will work globally for each schema. </p></li>
  <li><p>have a different project name for each schema? Again in the <em>build.properties</em> I can set <code>propel.project</code> and that will create a certain directory in classes directory. Right now all classes will go to the same place. If I will use the same table name in both schemas one class will overwrite the other.</p></li>
  </ol></li>
  </ol>
  
  <p>The solution I can come on my own is to have a 2 different directories setup for a certain database however I would prefer more elegant solution.</p>