Hello, I have created a schema.yml but I do not know how to create 2 relations for a same table. How can i disctinct those 2 relations (rsource). With a suffix ?
Here is my code : TrackerPret: actAs: { Timestampable: ~ } connection: doctrine attributes: export: tables columns: date_affectation: { type: timestamp, notnull: true } date_retour: { type: timestamp, notnull: true } date_retour_reel: { type: timestamp, notnull: true } nom_utilisateur: { type: string(255) } prenom_utilisateur: { type: string(255) } id_manager: { type: integer, notnull: true } code_projet: { type: string(255) } id_article: { type: integer, notnull: true } commentaire_pret: { type: string(4000), notnull: true } oid_cdp: { type: integer, notnull: true } oid_user: { type: integer, notnull: true } oid_prj: { type: integer, notnull: true } relations: TrackerManager: {local: id_manager, foreign: id,foreignAlias: TrackerManagers } TrackerArticle: {local: id_article, foreign: id,foreignAlias: TrackerArticles } rsource: {local: oid_user, foreign: oid,foreignAlias: ASAusers } rsource: {local: oid_cdp, foreign: oid,foreignAlias: ASAcdps } -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en