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:
parent
ba685c5504
commit
de63bf0ab3
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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 = [
|
||||||
|
@ -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(
|
||||||
|
@ -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 = [
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user