Hi Saki, why don't you add your column to the service-company connection table ?
-----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de saki Envoyé : mercredi 28 avril 2010 11:06 À : symfony users Objet : [symfony-users] How to store data for the relation? Hi! I don't really understand how to store data for the relations. I give an example... Service table **************** Hosting Programming Administrator works Company table **************** Company1 Company2 Company3 One company has one or more services. One service can be related to several companies. If think this is many-many relation isn't is? Okay, I've already made many-many relations some weeks ago (there is a service-company connection table with service and company ids), but I would like to store the service price for the relations! How can I do this? Company1 -> Hosting(200$) Company2 -> Hosting(100$) Of course, there will be other services in the future, so it's NOT a solution to add the hosting price to the company table (as a new column) or to add it to the service table, because prices are not the same in other companies. Thank you so much in advance! -- 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 [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 -- 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 [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
