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()
{
return $this->morphMany(Favorite::class, 'favoritable');
}
public function files()
+1
View File
@@ -40,3 +40,4 @@ return Application::configure(basePath: dirname(__DIR__))
//
})->create();
+1 -1
View File
@@ -72,7 +72,7 @@ return [
],
'admin' => [
'driver' => 'eloquent',
'model' =>\App\Models\Admin::class,
'model' => \App\Models\Admin::class,
],
// 'users' => [