1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00

Database seeder formatting

Database seeder formatting
This commit is contained in:
cp6 2022-03-02 16:01:57 +11:00
parent ba685c5504
commit de63bf0ab3
8 changed files with 0 additions and 42 deletions

View File

@ -6,16 +6,9 @@ use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder class DatabaseSeeder extends Seeder
{ {
/**
* Seed the application's database.
*
* @return void
*/
public function run() public function run()
{ {
\App\Models\User::factory(1)->create(); \App\Models\User::factory(1)->create();
//\App\Models\Server::factory(10)->create();
//\App\Models\Domains::factory(4)->create();
$this->call(SettingsSeeder::class); $this->call(SettingsSeeder::class);
$this->call(ProvidersSeeder::class); $this->call(ProvidersSeeder::class);
$this->call(LocationsSeeder::class); $this->call(LocationsSeeder::class);

View File

@ -9,11 +9,6 @@ use Illuminate\Support\Str;
class DomainsSeeder extends Seeder class DomainsSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$id1 = Str::random(8); $id1 = Str::random(8);

View File

@ -8,11 +8,6 @@ use Illuminate\Support\Str;
class LabelsSeeder extends Seeder class LabelsSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$os = [ $os = [

View File

@ -7,11 +7,6 @@ use Illuminate\Support\Facades\DB;
class LocationsSeeder extends Seeder class LocationsSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$locations = array( $locations = array(

View File

@ -8,11 +8,6 @@ use Illuminate\Support\Facades\DB;
class OsSeeder extends Seeder class OsSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$os = [ $os = [

View File

@ -9,11 +9,6 @@ use Illuminate\Support\Str;
class ProvidersSeeder extends Seeder class ProvidersSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {

View File

@ -9,11 +9,6 @@ use Illuminate\Support\Str;
class ServersSeeder extends Seeder class ServersSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$id1 = Str::random(8); $id1 = Str::random(8);

View File

@ -8,11 +8,6 @@ use Illuminate\Support\Facades\DB;
class SettingsSeeder extends Seeder class SettingsSeeder extends Seeder
{ {
/**
* Run the database seeds.
*
* @return void
*/
public function run() public function run()
{ {
$settings = [ $settings = [