On Fri, Sep 14, 2012 at 11:43 AM, Derek W <derekwro...@gmail.com> wrote:

> The problem is our database structure here.  The 3 tables I need to
> use do not have any relationships set.  There is no primary keys on
> these tables.  I had to manually code the relationships between the
> tables because the create helper could not - obviously.  Now that I'm
> getting to the point of trying to add functionality such as deleting,
> Catalyst seems to blow up because it requires primary key for such
> calls as action_for('delete').
>

I ran into something similar where I work. In the model code, I defined an
auto number field as the primary key. That makes DBIx::Class happy.

-- 
Robert Wohlfarth
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to