- Nuevo modulo de historial de cambios (ServicioHistorial) - Observer para tracking automatico de cambios en servicios - Correccion de variables auxiliar en ServiciosController - Actualizacion de configuraciones y migraciones - Endpoint para consultar historial de cambios Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.8 KiB
PHP
Executable File
55 lines
1.8 KiB
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Carbon\Carbon;
|
|
|
|
class CorreosSucursalesTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('correos_sucursales')->insert([
|
|
[
|
|
'email' => 'guillermo@drenax.com.mx',
|
|
'sucursal_id' => 1,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
],
|
|
[
|
|
'email' => 'bladimir@drenax.com.mx',
|
|
'sucursal_id' => 1,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
],
|
|
[
|
|
'email' => 'supervisorcln@drenax.com.mx',
|
|
'sucursal_id' => 1,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
],
|
|
[
|
|
'email' => 'sergio@drenax.com.mx',
|
|
'sucursal_id' => 2,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
],
|
|
[
|
|
'email' => 'gerencialosmochis@drenax.com.mx',
|
|
'sucursal_id' => 2,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
],
|
|
[
|
|
'email' => 'marcela@drenax.com.mx',
|
|
'sucursal_id' => 3,
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
]
|
|
]);
|
|
}
|
|
}
|