Commit a83d65b3 authored by Abraão Barbosa's avatar Abraão Barbosa
Browse files

Merge branch 'update_dashboard' of...

Merge branch 'update_dashboard' of https://github.com/alissonalbuquerque/pad-upe into update_dashboard
parents 84c74f9c 95dfd753
...@@ -19,15 +19,15 @@ class UserSeeder extends Seeder ...@@ -19,15 +19,15 @@ class UserSeeder extends Seeder
public function run() public function run()
{ {
// UsersTeacher // UsersTeacher
$ids = range(1, 5); $ids = [1, 2, 3, 4, 5];
foreach($ids as $id) foreach($ids as $id)
{ {
User::create([ User::create([
'type' => User::TYPE_TEACHER, 'type' => User::TYPE_TEACHER,
'name' => "User {$id}", 'name' => "Professor {$id}",
'email' => "user{$id}@upe.br", 'email' => "professor{$id}@upe.br",
'email_verified_at' => null, 'email_verified_at' => null,
'password' => Hash::make('12345678'), 'password' => Hash::make('@professor'),
'document' => "00000000{$id}", 'document' => "00000000{$id}",
'status' => User::STATUS_ACTIVE, 'status' => User::STATUS_ACTIVE,
'unidade_id' => 3, 'unidade_id' => 3,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment