Laravel API hozzáadása

This commit is contained in:
2018-03-14 20:09:57 +01:00
parent dd449f32d7
commit e2d3dc51d6
83 changed files with 8143 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
use Illuminate\Database\Seeder;
use App\User;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$password = Hash::make('SysAdmin');
User::create([
'name' => 'SysAdmin',
'email' => 'sysadmin@emango.com',
'password' => $password,
]);
}
}