On Thu, Sep 13, 2007 at 09:25:54AM -0600, Craig wrote:
> Hi Sebastian:
> I do have the set_primary_key call before the add_columns call. Should 
> it be the reverse?

You need to have told DBIC the column exists before you can set it as part of
the PK.

You'll find databases work the same way :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/                    http://www.shadowcat.co.uk/ 

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to