Carga inicial
This commit is contained in:
54
database/seeds/CorreosSucursalesTableSeeder.php
Normal file
54
database/seeds/CorreosSucursalesTableSeeder.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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(),
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user