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

Hetényi Csaba csabiwork at tata.hu
Wed Oct 20 17:40:22 GMT 2010


  Thank You All for help

The "db_schema" option works:

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

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

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

Thank You!




More information about the Catalyst mailing list