38 lines
889 B
PHP
38 lines
889 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Carbon;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class EstadoMovimientoSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
//
|
|
|
|
DB::table('estado_movimientos')->insert([
|
|
[
|
|
'nombre' => 'Venta',
|
|
'created_at' => Carbon::now(),
|
|
'updated_at' => Carbon::now()
|
|
],
|
|
[
|
|
'nombre' => 'Abono',
|
|
'created_at' => Carbon::now(),
|
|
'updated_at' => Carbon::now()
|
|
],
|
|
[
|
|
'nombre' => 'Cancelacion',
|
|
'created_at' => Carbon::now(),
|
|
'updated_at' => Carbon::now()
|
|
],
|
|
]);
|
|
}
|
|
}
|