<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateCertidaoNegativaTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('certidao_negativa', function (Blueprint $table) {
            $table->id();

            $table->string('nome_contribuinte')->nullable();
            $table->string('cnpj_cpf')->nullable();
            $table->string('codigo_controle')->nullable();
            $table->string('empresa')->nullable();

            $table->timestamps();
        });
    }

    public function getConnection()
    {
        return parent::getConnection(); // TODO: Change the autogenerated stub
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('certidao_negativa');
    }
}
