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 878b98a commit 8cb3f8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Backup;
use App\Models\Customer;
use App\Models\HostingPlan;
use App\Models\HostingSubscriptionBackup;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
Expand All @@ -18,6 +19,9 @@ public function run(): void
$backup = new Backup();
$backup->checkCronJob();

$backup = new HostingSubscriptionBackup();
$backup->checkCronJob();

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

0 comments on commit 8cb3f8e

Please sign in to comment.