class Games{
var $has_many = array('gameSetting','team','log');
}
class GameSetting {}
class Team{
var $has_many = array('user','log');
}
class User {
var $has_many = array('log');
}
class Log {
}
According to the official document, With out joining tables I must create the suffix _id act as the foreign key. So in the logs table There are 3 foreign keys game_id,team_id,user_id.
How should I name the FK column and How Datamapper know which FK is reference to which table with the same suffix _id?