• File: OperatorsTableSeeder.php
  • Full Path: /var/www/amparoapi/database/seeders/OperatorsTableSeeder.php
  • Date Modified: 10/14/2021 6:25 PM
  • File size: 723 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use Ramsey\Uuid\Uuid;
use DB;

class OperatorsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('operators')->insert([
            '0' => [
                'name' => 'Ivo Naftal',
                'last_name' => 'Mandemba',
                'email' => 'miguelmacamo9@gmail.com',
                'password' => Hash::make('12345678'),
                'phone' => '845030902',
                'store_id' => 1,
                'created_at' => now(),
                'updated_at' => now()
            ]
        ]);
    }
}