feat: prepare core Laravel configuration and tour model

This commit is contained in:
2026-08-16 08:12:10 +03:30
parent 0e8dd4f026
commit e9f75f1337
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -80,6 +80,7 @@ class Tour extends Model
public function favorites() public function favorites()
{ {
return $this->morphMany(Favorite::class, 'favoritable'); return $this->morphMany(Favorite::class, 'favoritable');
} }
public function files() public function files()
+1
View File
@@ -40,3 +40,4 @@ return Application::configure(basePath: dirname(__DIR__))
// //
})->create(); })->create();
+1 -1
View File
@@ -72,7 +72,7 @@ return [
], ],
'admin' => [ 'admin' => [
'driver' => 'eloquent', 'driver' => 'eloquent',
'model' =>\App\Models\Admin::class, 'model' => \App\Models\Admin::class,
], ],
// 'users' => [ // 'users' => [