- 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>
31 lines
778 B
PHP
Executable File
31 lines
778 B
PHP
Executable File
<?php
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class SucursalesTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('sucursales')->insert([
|
|
[
|
|
'nombre' => 'Culiacán',
|
|
'calle' => 'Pascual Orozco',
|
|
'num_ext' => '1949',
|
|
'colonia' => 'Nuevo Culiacán',
|
|
'cp' => '80170',
|
|
'telefono' => '6677139250',
|
|
'gerente' => 'Gabriel Salazar',
|
|
'encargado' => 'Brenda Tamayo',
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
]
|
|
]);
|
|
}
|
|
}
|