diff --git a/src/Presets/Preset.php b/src/Presets/Preset.php index 34a8b11..aa63d63 100644 --- a/src/Presets/Preset.php +++ b/src/Presets/Preset.php @@ -76,7 +76,7 @@ public function factoryPath(): string { return join_paths( $this->basePath(), - $this->config('factory.path', 'database/factories') + $this->config('factory.path', join_paths('database', 'factories')) ); } @@ -87,7 +87,7 @@ public function migrationPath(): string { return join_paths( $this->basePath(), - $this->config('migration.path', 'database/migrations') + $this->config('migration.path', join_paths('database', 'migrations')) ); } @@ -98,7 +98,7 @@ public function seederPath(): string { return join_paths( $this->basePath(), - $this->config('seeder.path', 'database/seeders') + $this->config('seeder.path', join_paths('database', 'seeders')) ); }