<?php

use App\Models\Catalogs\Incoterm;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class InsertUpdateIncoterms extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        $incoterm = Incoterm::updateOrCreate(
            ['code' => 'DPU'],
            [
                'name' => 'ENTREGADA Y DESCARGADA EN LUGAR ACORDADO.',
                'sort_order' => '16'
            ]
        );
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
