<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('admin')->insert([ 'name' => 'adminTargi', 'email' => 'adminTargi@poleng.pl', 'password' => bcrypt('password'), 'type' => 256 ]); } }