unch-cms/database/seeders/UsersTableSeeder.php
2022-09-02 11:25:50 +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()
]);
}
}