Bon j'ai encore fait mon boulet... les tabs marchent pas sous gmail...
Donc c'est
_attributes:
defaultIdMethod: none
http://trac.symfony-project.com/wiki/sfBookFRmodel#Syntaxedesch%C3%A9ma%C3%A9tendu
Fait gaffe aux indentations.
++
Le 05/02/08, lionel chanson<[EMAIL PROTECTED]> a écrit :
> Normalement c'est :
> _attributes:
> defaultIdMethod: none
>
> Le 04/02/08, Flashball<[EMAIL PROTECTED]> a écrit :
> >
> > > Rajoute dans attributes: { defaultIdMethod: none }
> > >
> >
> > Décidément, je n'arrive pas à dresser propel! Je ne maitrise pas le
> > yml donc j'ai tenté différentes techniques, mais rien n'y fait, je me
> > retrouve toujours avec un Id non désiré sur l'objet "Interest" du
> > modèle. Voilà mon extrait yml de la table interest:
> >
> > interest:
> > _attributes:
> > idMethod: none
> > USER_ID:
> > type: INTEGER
> > foreignTable: user
> > foreignReference: ID
> > onDelete: RESTRICT
> > onUpdate: RESTRICT
> > QUESTION_ID:
> > type: INTEGER
> > foreignTable: question
> > foreignReference: ID
> > onDelete: RESTRICT
> > onUpdate: RESTRICT
> > CREATED_AT:
> > type: TIMESTAMP
> > _indexes:
> > fk_INTEREST_USER:
> > - USER_ID
> > fk_INTEREST_QUESTION:
> > - QUESTION_ID
> >
> >
> > Pour info, j'ai testé - sans succès:
> > _attributes:
> > idMethod: none
> >
> > _attributes:
> > defaultIdMethod: none
> >
> > attributes:
> > idMethod: none
> >
> > attributes:
> > defaultIdMethod: none
> >
> > attributes: { defaultIdMethod: none }
> >
> > Dites moi que je ne suis pas loin du but! :)
> > > >
> >
>
--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe Groupe "Symfony-fr"
de Google Groupes.
Pour transmettre des messages à ce groupe, envoyez un e-mail à
l'adresse [email protected]
Pour résilier votre abonnement à ce groupe, envoyez un e-mail à
l'adresse [EMAIL PROTECTED]
Pour afficher d'autres options, visitez ce groupe à l'adresse
http://groups.google.com/group/symfony-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---