@@ -14,8 +14,7 @@ |
||
14 | 14 | public function run() |
15 | 15 | { |
16 | 16 | // Create the test users |
17 | - factory(App\User::class, 15)->create()->each(function($user) |
|
18 | - { |
|
17 | + factory(App\User::class, 15)->create()->each(function($user) { |
|
19 | 18 | $user->UserPermissions()->save(factory(App\UserPermissions::class)->make()); |
20 | 19 | }); |
21 | 20 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | class TechTips extends Model |
8 | 8 | { |
9 | 9 | protected $primaryKey = 'tip_id'; |
10 | - protected $fillable = ['user_id', 'subject', 'documentation', 'description', 'created_at']; // ToDo: Remove Created_at - future build |
|
10 | + protected $fillable = ['user_id', 'subject', 'documentation', 'description', 'created_at']; // ToDo: Remove Created_at - future build |
|
11 | 11 | |
12 | 12 | // public function user() |
13 | 13 | // { |