insert([ [ 'nombre' => 'Comentarios:', 'orden' => 12, 'mostrar_numero' => 0, 'created_at' => Carbon::now()->toDateTimeString(), 'updated_at' => Carbon::now()->toDateTimeString(), ] ]); DB::table('preguntas_empresarial')->insert([ [ 'nombre' => 'Comentarios:', 'orden' => 13, 'mostrar_numero' => 0, 'created_at' => Carbon::now()->toDateTimeString(), 'updated_at' => Carbon::now()->toDateTimeString(), ] ]); DB::table('respuestas_domestico')->insert([ //Respuesta 12 [ 'nombre' => '', 'pregunta_id' => 12, 'orden' => 1, 'tipo_campo' => 'Texto', 'puntuacion' => null, 'created_at' => Carbon::now()->toDateTimeString(), 'updated_at' => Carbon::now()->toDateTimeString(), ], ]); DB::table('respuestas_empresarial')->insert([ //Respuesta 13 [ 'nombre' => '', 'pregunta_id' => 13, 'orden' => 1, 'tipo_campo' => 'Texto', 'puntuacion' => null, 'created_at' => Carbon::now()->toDateTimeString(), 'updated_at' => Carbon::now()->toDateTimeString(), ], ]); \App\Models\RespuestaDomestico::where('pregunta_id',1)->delete(); \App\Models\PreguntaDomestico::where('id',1)->delete(); \App\Models\RespuestaEmpresarial::where('pregunta_id',2)->delete(); \App\Models\PreguntaEmpresarial::where('id',2)->delete(); } }