Carga inicial
This commit is contained in:
68
database/seeds/EstatusServiciosTableSeeder.php
Normal file
68
database/seeds/EstatusServiciosTableSeeder.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class EstatusServiciosTableSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('cat_estatus_servicios')->insert([
|
||||
|
||||
[
|
||||
'nombre' => 'Realizado',
|
||||
'color_1' => '#04B404',
|
||||
'color_2' => NULL,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Reprogramado',
|
||||
'color_1' => '#FF8000',
|
||||
'color_2' => NULL,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Cancelado',
|
||||
'color_1' => '#B40404',
|
||||
'color_2' => NULL,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pendiente',
|
||||
'color_1' => '#FFFF00',
|
||||
'color_2' => '#000000',
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Negativo',
|
||||
'color_1' => '#FE2E2E',
|
||||
'color_2' => '#FFFFFF',
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Pagado',
|
||||
'color_1' => '#0000FF',
|
||||
'color_2' => NULL,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
[
|
||||
'nombre' => 'Visita/asesoría',
|
||||
'color_1' => '#A4A4A4',
|
||||
'color_2' => NULL,
|
||||
'created_at' => Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => Carbon::now()->toDateTimeString(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user