/** * @return \yii\db\ActiveQuery */ public function getRacers() { return $this->hasMany(Racer::className(), ['user_id' => 'id']); }