diff --git a/database/seeders/CanastaSeeder.php b/database/seeders/CanastaSeeder.php index ab8803d..4fd700b 100644 --- a/database/seeders/CanastaSeeder.php +++ b/database/seeders/CanastaSeeder.php @@ -101,7 +101,7 @@ private function insertCaracteristicas($caracteristicasToInsert) : void { $match = Producto::where('name',$name)->first(); if ($match) { foreach ($item['caracteristicas'] as $key => $caracteristica) { - DB::table('productos_caracteristicas')->insert([ + DB::table('producto_caracteristica')->insert([ 'producto_id' => $match->id, 'caracteristica_id' => $caracteristica, ]);