[Melbourne-pm] DBIx::Class join errors ...

Simon Taylor simon at unisolve.com.au
Sun Mar 6 14:23:56 PST 2011


Hello Malcolm,

> I have been able to get around the issue by modifying my schema to
> append _id to the primary key fields, but I really shouldn't have to do
> that ...
>
> How would I go about fixing this properly? It sounds like a problem
> with the SQL query generator that DBIx::Class uses but as I am working
> at several layers removed from it, I'm a little at a loss as to how to
> attack this problem ...

This does sound like a bug in the automatic schema.

Have you tried making the references clause in the "show" table more 
specific, ie:

     channel uuid not null references channel (channel)

Cheers,

Simon


More information about the Melbourne-pm mailing list