[Dbix-class] DBIx::Class::Schema::Loader with multiple schemas

Alejandro Imass aimass at yabarana.com
Wed Dec 19 22:50:46 GMT 2012


On Wed, Dec 19, 2012 at 5:28 PM, Nick Anderson <nick at webcraftcs.com> wrote:
>
> Thanks for your ideas Alejandro,
>
> Operating on the two DBs in db_schema simultaneously ensures that all
> inter-DB relationships are created correctly, otherwise they seem to create
> independently without any connecting relationships when running
> individually.
>

I didn't catch the bit in your OP that there were relationships
between the schemas. NOW I fully understand the problem you were
having.
We've never used relationships between schemas only after your post
did we even suspect that could be done, by passing an array ref to
db_schema. Thanks for the tip !

Cheers,

-- 
Alejandro Imass



More information about the DBIx-Class mailing list