Course api beginnings
This commit is contained in:
@@ -11,6 +11,13 @@ class DatabaseSeeder extends Seeder
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
// $this->call(UsersTableSeeder::class);
|
||||
DB::table('users')->insert([
|
||||
'name' => 'admin',
|
||||
'email' => 'test@test.com',
|
||||
'password' => bcrypt('password1')
|
||||
]);
|
||||
DB::table('courses')->insert([
|
||||
'name' => 'test course 1'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user