I believe it defaults to id, try specifying column: pk_id under options - Jon
On Mon, Apr 20, 2009 at 8:40 AM, Gandalf <[email protected]> wrote: > > my route does not mention the id: > > invoices: > class: sfDoctrineRouteCollection > options: > model: ABInvoice > module: invoices > prefix_path: invoices > with_wildcard_routes: true > > > > On 4/20/09, Jonathan Wage <[email protected]> wrote: > > I think you need to then change your route and the generator.yml if you > want > > to use a column other than the id. > > > > - Jon > > > > On Mon, Apr 20, 2009 at 4:02 AM, Gandalf <[email protected]> wrote: > > > >> > >> Hello, > >> > >> Somehow the generator wired the model primary key to ID, if I change > >> the primary key, al the genrated code breaks, from the routes to the > >> lists.... > >> > >> Any clue? > >> > >> Thanks > >> > >> P > >> > >> > > >> > > > > > > -- > > Jonathan H. Wage > > Open Source Software Developer & Evangelist > > http://www.jwage.com > > http://www.doctrine-project.org > > http://www.symfony-project.org > > > > > > > > > > > -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com http://www.doctrine-project.org http://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
