ClearBowl/api/database/seeds/UsersTableSeeder.php

21 lines
379 B
PHP

<?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('users')->insert([
'email' => 'artur.nowakowski@gmail.com',
'password' => bcrypt('Tester#123'),
]);
}
}