mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-28 18:40:35 +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;
|
namespace Database\Seeders;
|
||||||
|
|
||||||
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||||
|
use App\Models\Backup;
|
||||||
use App\Models\Customer;
|
use App\Models\Customer;
|
||||||
use App\Models\HostingPlan;
|
use App\Models\HostingPlan;
|
||||||
use Illuminate\Database\Seeder;
|
use Illuminate\Database\Seeder;
|
||||||
|
@ -14,6 +15,8 @@ class DatabaseSeeder extends Seeder
|
||||||
*/
|
*/
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
|
$backup = new Backup();
|
||||||
|
$backup->checkCronJob();
|
||||||
|
|
||||||
$findCustomer = Customer::where('email', 'jhondoe@gmail.com')->first();
|
$findCustomer = Customer::where('email', 'jhondoe@gmail.com')->first();
|
||||||
if (! $findCustomer) {
|
if (! $findCustomer) {
|
||||||
|
|
Loading…
Reference in a new issue