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