ClearBowl/api/database/seeds/UsersTableSeeder.php

21 lines
379 B
PHP
Raw Normal View History

<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
2019-11-30 22:07:51 +01:00
DB::table('users')->insert([
'email' => 'artur.nowakowski@gmail.com',
'password' => bcrypt('Tester#123'),
]);
}
}