ok

Mini Shell

Direktori : /home2/selectio/www/3idiotsgadgetstore.in/database/seeds/
Upload File :
Current File : /home2/selectio/www/3idiotsgadgetstore.in/database/seeds/AdminRoleTable.php

<?php

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

class AdminRoleTable extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admin_roles')->insert([
            'id' => 1,
            'name' => 'Master Admin',
        ]);

        DB::table('admin_roles')->insert([
            'id' => 2,
            'name' => 'Employee',
        ]);
    }
}

Zerion Mini Shell 1.0