changed the creator for tasks from project_user to user, fixed api, documentation, filters, some other fixes

This commit is contained in:
iIronside
2021-12-06 15:13:31 +03:00
parent daae8b16b6
commit e78ff7d779
23 changed files with 6024 additions and 117 deletions

View File

@ -230,4 +230,9 @@ class User extends ActiveRecord implements IdentityInterface
{
return $this->hasMany(ManagerEmployee::className(), ['employee_id' => 'id']);
}
public function getProjectUser()
{
return $this->hasMany(ProjectUser::className(), ['user_id' => 'id']);
}
}