Skip to content

Commit

Permalink
Update DatabaseSeeder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Apr 25, 2024
1 parent 071a519 commit d3a2776
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\Backup;
use App\Models\Customer;
use App\Models\HostingPlan;
use Illuminate\Database\Seeder;
Expand All @@ -14,6 +15,8 @@ class DatabaseSeeder extends Seeder
*/
public function run(): void
{
$backup = new Backup();
$backup->checkCronJob();

$findCustomer = Customer::where('email', 'jhondoe@gmail.com')->first();
if (! $findCustomer) {
Expand Down

0 comments on commit d3a2776

Please sign in to comment.