/** * @return \yii\db\ActiveQuery */ public function getUserEducations() { return $this->hasMany(UserEducation::className(), ['ei_id' => 'ei_id']); }