File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
tests/Database/Migrations Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8181 'message ' => \Coderflex \LaravelTicket \Models \Message::class,
8282 'category ' => \Coderflex \LaravelTicket \Models \Category::class,
8383 'label ' => \Coderflex \LaravelTicket \Models \Label::class,
84- ]
84+ ],
8585];
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ public function tickets(): HasMany
1515 'laravel_ticket.models.ticket ' ,
1616 parent ::getTable ()
1717 );
18+
1819 return $ this ->hasMany ($ model , 'user_id ' );
1920 }
2021
@@ -27,6 +28,7 @@ public function messages(): HasMany
2728 'laravel_ticket.models.message ' ,
2829 parent ::getTable ()
2930 );
31+
3032 return $ this ->hasMany ($ model , 'user_id ' );
3133 }
3234}
Original file line number Diff line number Diff line change 44use Illuminate \Database \Schema \Blueprint ;
55use Illuminate \Support \Facades \Schema ;
66
7- return new class () extends Migration
7+ return new class extends Migration
88{
99 public function up ()
1010 {
You can’t perform that action at this time.
0 commit comments