/** * @return \yii\db\ActiveQuery */ public function getProfile() { return $this->hasOne(Profile::className(), ['profile_id' => 'auth_user_id'])->from(['profile' => Profile::tableName()]); }
/** * @return \yii\db\ActiveQuery */ public function getProfile() { return $this->hasOne(Profile::className(), ['profile_id' => 'auth_user_id'])->from(['profile' => Profile::tableName()]); }