hasOne('RelationTest as Parent', 'RelationTestChild.child_id'); $this->ownsMany('RelationTestChild as Children', 'RelationTestChild.child_id'); } }