Skip to content

Commit

Permalink
Disabled sample data seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdrake committed Mar 19, 2021
1 parent 76bdb9f commit 33e3144
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions database/seeds/LaravelCrmTablesSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ public function run()
\VentureDrake\LaravelCrm\Models\LeadStatus::firstOrCreate($item[0], $item[1]);
}

if (config('app.env') == 'local') {
factory(\VentureDrake\LaravelCrm\Models\Organisation::class, 100)->create();
factory(\VentureDrake\LaravelCrm\Models\Person::class, 200)->create();
factory(\VentureDrake\LaravelCrm\Models\Lead::class, 100)->create();
factory(\VentureDrake\LaravelCrm\Models\Deal::class, 50)->create();
}
/* if (config('app.env') == 'local') {
factory(\VentureDrake\LaravelCrm\Models\Organisation::class, 100)->create();
factory(\VentureDrake\LaravelCrm\Models\Person::class, 200)->create();
factory(\VentureDrake\LaravelCrm\Models\Lead::class, 100)->create();
factory(\VentureDrake\LaravelCrm\Models\Deal::class, 50)->create();
}*/
}
}

0 comments on commit 33e3144

Please # to comment.