[Dbix-class] Adding relationships to an already-constructed schema

Toby Corkindale toby.corkindale at strategicdata.com.au
Fri Apr 3 05:48:04 BST 2009


Jess Robinson wrote:
> On Thu, 2 Apr 2009, Toby Corkindale wrote:
>> Start by assuming I'm smoking crack and do actually want to do this.. :)
>>
>> If I have a $schema that is already initialised, and I decide I want 
>> to add a new relationship to one of my tables, what is the proper way 
>> to do
>>  so?
> 
> Dig around in DBIx-Class-Journal which actually does this at one point ;)

Ah, thankyou Jess! :)

It's great to have a known-working example to study.

Cheers,
Toby



More information about the DBIx-Class mailing list