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