Commit 1fea214e909474297e19bdf4fc551921fa0447ea
1 parent
141eacf0
project entity
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
app/library/App/Model/Project.php
... | ... | @@ -29,11 +29,11 @@ class Project extends \App\Mvc\DateTrackingModel { |
29 | 29 | ]; |
30 | 30 | } |
31 | 31 | |
32 | -// public function initialize() { | |
33 | -// | |
34 | -// $this->belongsTo('user_id', User::class, 'id', [ | |
35 | -// 'alias' => 'User', | |
36 | -// ]); | |
37 | -// } | |
32 | + public function initialize() { | |
33 | + | |
34 | + $this->belongsTo('user_id', User::class, 'id', [ | |
35 | + 'alias' => 'User', | |
36 | + ]); | |
37 | + } | |
38 | 38 | |
39 | 39 | } |
40 | 40 | \ No newline at end of file | ... | ... |