Fix factories and seeders having wrong directory name

This commit is contained in:
Matthew Penner 2021-01-23 15:05:35 -07:00
parent f9bb791a7d
commit 8a79589317
16 changed files with 16 additions and 16 deletions

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Pterodactyl\Models\Allocation;
use Illuminate\Database\Eloquent\Factories\Factory;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Carbon\Carbon;
use Illuminate\Support\Str;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Ramsey\Uuid\Uuid;
use Pterodactyl\Models\Backup;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Carbon\Carbon;
use Illuminate\Support\Str;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Pterodactyl\Models\DatabaseHost;
use Illuminate\Support\Facades\Crypt;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Ramsey\Uuid\Uuid;
use Pterodactyl\Models\Egg;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Illuminate\Support\Str;
use Pterodactyl\Models\EggVariable;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Illuminate\Support\Str;
use Pterodactyl\Models\Location;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Ramsey\Uuid\Uuid;
use Pterodactyl\Models\Nest;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Ramsey\Uuid\Uuid;
use Illuminate\Support\Str;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Pterodactyl\Models\Schedule;
use Illuminate\Database\Eloquent\Factories\Factory;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Carbon\Carbon;
use Ramsey\Uuid\Uuid;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Pterodactyl\Models\Subuser;
use Pterodactyl\Models\Permission;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Pterodactyl\Models\Task;
use Illuminate\Database\Eloquent\Factories\Factory;

View file

@ -1,6 +1,6 @@
<?php
namespace Database\Factories;
namespace Database\factories2;
use Carbon\Carbon;
use Ramsey\Uuid\Uuid;

View file

@ -98,7 +98,7 @@ class EggSeeder extends Seeder
*/
private function parseEggFiles(Nest $nest)
{
$files = $this->filesystem->allFiles(database_path('seeders/eggs/' . kebab_case($nest->name)));
$files = $this->filesystem->allFiles(database_path('Seeders/eggs/' . kebab_case($nest->name)));
$this->command->alert('Updating Eggs for Nest: ' . $nest->name);
Collection::make($files)->each(function ($file) use ($nest) {