![]() |
DMZ: Joining tables renaming - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: DMZ: Joining tables renaming (/showthread.php?tid=24525) |
DMZ: Joining tables renaming - El Forum - 11-12-2009 [eluser]Tomas Berglund[/eluser] Hi, Is it possible to use other type of joining table naming? I have an old project that I want to convert to CI and DMZ. It's a huge database and renaming existing tables to fit DMZ is not possible becuase other software also use this database. I want a DMZ joining table setup like this: Models: "Member" and "Company". Tables: "member" and "company" with "member2company" as joining table (instead of members_companies) and instead of "member_id" and "company_id" there is columns named "owner" and "reference", where "owner" is "member_id" and "reference" is "company_id". Is this possible? And DMZ is a really great thing! love it! Best regards /Tomas Berglund |