From 27960f17e760970592083fd251cc9909abdac87c Mon Sep 17 00:00:00 2001 From: ale Date: Tue, 19 Mar 2024 15:41:11 -0300 Subject: [PATCH] arreglado nombre de tabla --- database/seeders/CanastaSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ]);