diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index b71ca5a..abc15ac 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -13,5 +13,6 @@ class DatabaseSeeder extends Seeder public function run() { $this->call(CanastaSeeder::class); + $this->call(GrupoDeCompraSeeder::class); } } diff --git a/database/seeds/GrupoDeCompraSeeder.php b/database/seeds/GrupoDeCompraSeeder.php index 89a0982..6c634da 100644 --- a/database/seeds/GrupoDeCompraSeeder.php +++ b/database/seeds/GrupoDeCompraSeeder.php @@ -31,14 +31,14 @@ class GrupoDeCompraSeeder extends Seeder $usersToInsert[] = [ 'name' => $registro['barrio'], - 'password' => Hash::make($registro['barrio']), + 'password' => Hash::make("asd"), "is_admin" => 0, 'grupo_de_compra_id' => $key ]; $usersToInsert[] = [ 'name' => $registro['barrio'] . "_admin", - 'password' => Hash::make($registro['barrio'] . "admin"), + 'password' => Hash::make("asd"), "is_admin" => 1, 'grupo_de_compra_id' => $key ];