hasColumn('name', 'string', null); $this->hasMany('MysqlGroup', 'MysqlGroupMember.group_id'); } }