arreglado nombre de tabla

This commit is contained in:
Alejandro Tasistro 2024-03-19 15:41:11 -03:00
parent 76199273c9
commit 27960f17e7
1 changed files with 1 additions and 1 deletions

View File

@ -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,
]);