<?php

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

class InsertUpdateTaxRegimen extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        $tax_regime = TaxRegimen::updateOrCreate(
            ['code' => '625'],
            [
                'name' => 'Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas',
                'sort_order' => '22'
            ]
        );
    }

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