Namespace seeders

This commit is contained in:
Laravel Shift 2021-06-10 20:18:00 +00:00
parent 104b441e0d
commit c90b1c6a43
20 changed files with 47 additions and 0 deletions

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Accessory; use App\Models\Accessory;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Actionlog; use App\Models\Actionlog;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\AssetModel; use App\Models\AssetModel;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Asset; use App\Models\Asset;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Category; use App\Models\Category;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Company; use App\Models\Company;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Component; use App\Models\Component;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Consumable; use App\Models\Consumable;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\CustomField; use App\Models\CustomField;
use App\Models\CustomFieldset; use App\Models\CustomFieldset;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;

View file

@ -1,5 +1,16 @@
<?php <?php
namespace Database\Seeders;
use Database\Seeders\CustomFieldSeeder;
use Database\Seeders\ConsumableSeeder;
use Database\Seeders\ComponentSeeder;
use Database\Seeders\CompanySeeder;
use Database\Seeders\CategorySeeder;
use Database\Seeders\AssetSeeder;
use Database\Seeders\AssetModelSeeder;
use Database\Seeders\ActionlogSeeder;
use Database\Seeders\AccessorySeeder;
use App\Models\Setting; use App\Models\Setting;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Department; use App\Models\Department;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Depreciation; use App\Models\Depreciation;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\License; use App\Models\License;
use App\Models\LicenseSeat; use App\Models\LicenseSeat;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Location; use App\Models\Location;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Manufacturer; use App\Models\Manufacturer;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Setting; use App\Models\Setting;
use App\Models\User; use App\Models\User;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Statuslabel; use App\Models\Statuslabel;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\Supplier; use App\Models\Supplier;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;

View file

@ -1,5 +1,7 @@
<?php <?php
namespace Database\Seeders;
use App\Models\User; use App\Models\User;
use Illuminate\Database\Seeder; use Illuminate\Database\Seeder;