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