Hi
In my app I have 2 tables that have a many to many relationship. Let us say these are table students and table courses. Each course can have many students and each student can also enroll in many courses.
Now I want to create a associative table which according to cakephp should be named courses_students.
However for various reasons I wish to name the new table as enrollments. I would be using the primary key of the this table at a lot of places and would rather use enrollment_id than courses_student_id as the foreign key.
If I do this would I have to do a lot of manual coding or can I still use the automagic of cakephp? Any pointers on best practices/guidelines regarding this issue?
Thanks