ok

Mini Shell

Direktori : /home2/selectio/public_html/ecommerce-website/website/database/seeds/
Upload File :
Current File : //home2/selectio/public_html/ecommerce-website/website/database/seeds/AdminTable.php

<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;

class AdminTable extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admins')->insert([
            'id' => 1,
            'name' => 'Master Admin',
            'phone' => '01759412381',
            'email' => 'admin@admin.com',
            'admin_role_id' => 1,
            'image' => 'def.png',
            'password' => bcrypt(12345678),
            'remember_token' =>Str::random(10),
        ]);
    }
}

Zerion Mini Shell 1.0