23 lines
433 B
PHP
23 lines
433 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('users')->insert([
|
|
'name' => 'admin',
|
|
'surname' => 'main',
|
|
'email' => 'admin@admin.com',
|
|
'password' => bcrypt('pass1234'),
|
|
'is_Admin' => true
|
|
]);
|
|
}
|
|
}
|