sibanu_web/database/seeders/UsersTableSeeder.php
2022-08-20 13:21:23 +07:00

27 lines
581 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'name' => 'Admin Admin',
'email' => 'admin@argon.com',
'email_verified_at' => now(),
'password' => Hash::make('secret'),
'created_at' => now(),
'updated_at' => now()
]);
}
}