mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
Update DatabaseSeeder.php
This commit is contained in:
parent
071a519db5
commit
d3a27764a8
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue