<?php

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

class CreateMercadoConfigsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('mercado_configs', function (Blueprint $table) {
            $table->increments('id');
            $table->string('email', 50);
            $table->string('funcionamento', 100);
            $table->string('descricao', 200);
            $table->integer('total_de_produtos');
            $table->integer('total_de_clientes');
            $table->integer('total_de_funcionarios');
            $table->timestamps();
        });
    }

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