<?php

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

class CreateBixoPaymentGatewaysTable extends Migration
{
    /*
     * Run the migrations.
     *
     * @return void
     */

    public function up()
    {

        /*
         * Table: bixo_payment_gateways
         */
        Schema::create('bixo_payment_gateways', function ($table) {
            $table->increments('id');
            $table->package::package.fieldtype.VARCHAR('name')->nullable();
            $table->package::package.fieldtype.VARCHAR('api_url')->nullable();
            $table->package::package.fieldtype.ENUM('status')->nullable();
            $table->text('marking', 200)->nullable();
            $table->softDeletes();
            $table->nullableTimestamps();
        });
    }

    /*
    * Reverse the migrations.
    *
    * @return void
    */

    public function down()
    {
        Schema::drop('bixo_payment_gateways');
    }
}