atcheck/database/seeds/DatabaseSeeder.php

23 lines
433 B
PHP
Raw Normal View History

2019-11-18 18:33:29 +01:00
<?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
]);
2019-11-18 18:33:29 +01:00
}
}