Carga inicial
This commit is contained in:
402
database/seeds/RespuestasEmpresarialTableSeeder.php
Normal file
402
database/seeds/RespuestasEmpresarialTableSeeder.php
Normal file
@@ -0,0 +1,402 @@
|
||||
<?php
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class RespuestasEmpresarialTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('respuestas_empresarial')->insert([
|
||||
|
||||
//Respuesta 1
|
||||
[
|
||||
'nombre' => 'Si',
|
||||
'pregunta_id' => 1,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'No',
|
||||
'pregunta_id' => 1,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 50,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 2
|
||||
[
|
||||
'nombre' => 'Si',
|
||||
'pregunta_id' => 2,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'No',
|
||||
'pregunta_id' => 2,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 50,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 3
|
||||
[
|
||||
'nombre' => 'Excelente',
|
||||
'pregunta_id' => 3,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Bueno',
|
||||
'pregunta_id' => 3,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Regular',
|
||||
'pregunta_id' => 3,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Malo',
|
||||
'pregunta_id' => 3,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pésimo',
|
||||
'pregunta_id' => 3,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 4
|
||||
[
|
||||
'nombre' => 'Si',
|
||||
'pregunta_id' => 4,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'No',
|
||||
'pregunta_id' => 4,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 50,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 5
|
||||
[
|
||||
'nombre' => 'Excelente',
|
||||
'pregunta_id' => 5,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Bueno',
|
||||
'pregunta_id' => 5,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Regular',
|
||||
'pregunta_id' => 5,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Malo',
|
||||
'pregunta_id' => 5,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pésimo',
|
||||
'pregunta_id' => 5,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 6
|
||||
[
|
||||
'nombre' => 'Excelente',
|
||||
'pregunta_id' => 6,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Bueno',
|
||||
'pregunta_id' => 6,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Regular',
|
||||
'pregunta_id' => 6,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Malo',
|
||||
'pregunta_id' => 6,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pésimo',
|
||||
'pregunta_id' => 6,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 7
|
||||
[
|
||||
'nombre' => 'Excelente',
|
||||
'pregunta_id' => 7,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Bueno',
|
||||
'pregunta_id' => 7,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Regular',
|
||||
'pregunta_id' => 7,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Malo',
|
||||
'pregunta_id' => 7,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pésimo',
|
||||
'pregunta_id' => 7,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 8
|
||||
[
|
||||
'nombre' => 'Si',
|
||||
'pregunta_id' => 8,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'No',
|
||||
'pregunta_id' => 8,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 50,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 9
|
||||
[
|
||||
'nombre' => 'Excelente',
|
||||
'pregunta_id' => 9,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Bueno',
|
||||
'pregunta_id' => 9,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Regular',
|
||||
'pregunta_id' => 9,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Malo',
|
||||
'pregunta_id' => 9,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pésimo',
|
||||
'pregunta_id' => 9,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 10
|
||||
[
|
||||
'nombre' => '10-9',
|
||||
'pregunta_id' => 10,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 100,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => '8-7',
|
||||
'pregunta_id' => 10,
|
||||
'orden' => 2,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 80,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => '6-5',
|
||||
'pregunta_id' => 10,
|
||||
'orden' => 3,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 60,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => '4-3',
|
||||
'pregunta_id' => 10,
|
||||
'orden' => 4,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 40,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => '2-1',
|
||||
'pregunta_id' => 10,
|
||||
'orden' => 5,
|
||||
'tipo_campo' => 'Checkbox',
|
||||
'puntuacion' => 20,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 11
|
||||
[
|
||||
'nombre' => '',
|
||||
'pregunta_id' => 11,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Email',
|
||||
'puntuacion' => null,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
|
||||
//Respuesta 12
|
||||
[
|
||||
'nombre' => '',
|
||||
'pregunta_id' => 12,
|
||||
'orden' => 1,
|
||||
'tipo_campo' => 'Fecha',
|
||||
'puntuacion' => null,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user