Hi. I'm thinking about model for bus courses between cities. I have 2 tables (cities, courses). Cities table has 2 fields (from_city_id, to_city_id). Both fields are foreign keys to cities table. How to model this association? Is it possible?
Maybe I should have 2 tables with cities (fromCity and toCity)? Thanks Jacek Czapla --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php -~----------~----~----~----~------~----~------~--~---
