mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-24 08:30:28 +00:00
Update DatabaseSeeder.php
This commit is contained in:
parent
878b98a2f8
commit
8cb3f8e7c9
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@ namespace Database\Seeders;
|
|||
use App\Models\Backup;
|
||||
use App\Models\Customer;
|
||||
use App\Models\HostingPlan;
|
||||
use App\Models\HostingSubscriptionBackup;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
|
@ -18,6 +19,9 @@ class DatabaseSeeder extends Seeder
|
|||
$backup = new Backup();
|
||||
$backup->checkCronJob();
|
||||
|
||||
$backup = new HostingSubscriptionBackup();
|
||||
$backup->checkCronJob();
|
||||
|
||||
$findCustomer = Customer::where('email', 'jhondoe@gmail.com')->first();
|
||||
if (! $findCustomer) {
|
||||
Customer::create([
|
||||
|
|
Loading…
Reference in a new issue