Database seeder formatting
Database seeder formatting
This commit is contained in:
parent
ba685c5504
commit
de63bf0ab3
|
@ -6,16 +6,9 @@ use Illuminate\Database\Seeder;
|
|||
|
||||
class DatabaseSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Seed the application's database.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
\App\Models\User::factory(1)->create();
|
||||
//\App\Models\Server::factory(10)->create();
|
||||
//\App\Models\Domains::factory(4)->create();
|
||||
$this->call(SettingsSeeder::class);
|
||||
$this->call(ProvidersSeeder::class);
|
||||
$this->call(LocationsSeeder::class);
|
||||
|
|
|
@ -9,11 +9,6 @@ use Illuminate\Support\Str;
|
|||
|
||||
class DomainsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$id1 = Str::random(8);
|
||||
|
|
|
@ -8,11 +8,6 @@ use Illuminate\Support\Str;
|
|||
|
||||
class LabelsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$os = [
|
||||
|
|
|
@ -7,11 +7,6 @@ use Illuminate\Support\Facades\DB;
|
|||
|
||||
class LocationsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$locations = array(
|
||||
|
|
|
@ -8,11 +8,6 @@ use Illuminate\Support\Facades\DB;
|
|||
|
||||
class OsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$os = [
|
||||
|
|
|
@ -9,11 +9,6 @@ use Illuminate\Support\Str;
|
|||
|
||||
class ProvidersSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
|
|
@ -9,11 +9,6 @@ use Illuminate\Support\Str;
|
|||
|
||||
class ServersSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$id1 = Str::random(8);
|
||||
|
|
|
@ -8,11 +8,6 @@ use Illuminate\Support\Facades\DB;
|
|||
|
||||
class SettingsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$settings = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user