<?php

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

class CreateProductTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('product', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('carrier_id');
            $table->integer('country_id');
            $table->string('sku');
            $table->string('amounts');
            $table->boolean('is_pinless');
            $table->boolean('open_amount');
            $table->boolean('for_testing');
            $table->boolean('active');
            $table->double('discount_pct');
            $table->dateTime('last_updated');
        });
    }

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