[Catalyst] Postgresql database with non default -public- schema

Eden Cardim edencardim at gmail.com
Sat Oct 23 15:05:21 GMT 2010


>>>>> "Hetényi" == Hetényi Csaba <csabiwork at tata.hu> writes:

    Hetényi>  Thank You All for help The "db_schema" option works:

    Hetényi> script/pcm_create.pl model DB DBIC::Schema Pcm::Schema
    Hetényi> create=static components=TimeStamp,EncodedColumn
    Hetényi> db_schema=pcmbiz 'dbi:Pg:.....

    Hetényi> I hope "at some point in the future" the schema loader will
    Hetényi> support multiple db schemas!

    Hetényi> The automatic schema generation is a very convenient
    Hetényi> feature -especially in developing phase, when table
    Hetényi> structures often change. :)

Have a look at DBIx::Class::Schema::Versioned, it's designed
specifically for managing changes in your schema.

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://blog.edencardim.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list