1, 'venta_id' => 1263, 'pago_id' => 15538, 'numero' => 7, ], [ 'id' => 2, 'venta_id' => 1263, 'pago_id' => 15539, 'numero' => 8, ], [ 'id' => 3, 'venta_id' => 1263, 'pago_id' => 15540, 'numero' => 9, ], ]; $this->execute('SET unique_checks=0; SET foreign_key_checks=0;'); $this->table('venta_abono_cuotas') ->insert($data) ->saveData(); $this->execute('SET unique_checks=1; SET foreign_key_checks=1;'); } }