Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/voku/.././../database/seeders
الملفات الموجودة في هذا الـ Path:
.
..
CustomerPlanTableSeeder.php
CustomerTableSeeder.php
DatabaseSeeder.php
PlansTableSeeder.php
UserTableSeeder.php

مشاهدة ملف: CustomerTableSeeder.php

<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class CustomerTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $customer = [
            'admin_id'       => 1 ,
            'first_name'     => 'Admin',
            'last_name'      => 'Customer',
            'email'          => 'admincustomer@demo.com',
            'password'       => bcrypt('123456'),
            'status'         => 'inactive',
            'remember_token' => null,
            'created_at'     => now(),
            'updated_at'     => now(),
            'deleted_at'     => null,
        ];

        \App\Models\Customer::insert($customer);
    }
}