<?php

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

class CreateSettingsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('settings', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title', 255)->unique();
            $table->string('visible_title', 255)->nullable();
            $table->string('value', 255)->nullable();
//            $table->string('sub_title', 255)->nullable();
//            $table->string('email', 255)->nullable();
//            $table->string('phone', 255)->nullable();
//            $table->string('address_l1', 255)->nullable(s);
//            $table->string('address_l2', 255)->nullable();
//            $table->string('city', 255)->nullable();
//            $table->string('state', 255)->nullable();
//            $table->string('country', 255)->nullable();
//            $table->string('currency', 255)->nullable();
//            $table->decimal('tax', 10, 2)->nullable();
//            $table->decimal('shipping', 10, 2)->nullable();
//
//            $table->string('mail_driver', 255)->nullable();
//            $table->string('mail_host', 255)->nullable();
//            $table->string('mail_port', 255)->nullable();
//            $table->string('mail_username', 255)->nullable();
//            $table->string('mail_password', 255)->nullable();
//            $table->string('mail_encryption', 255)->nullable();
//            $table->string('mail_from', 255)->nullable();
//            $table->string('fb', 255)->nullable();
//            $table->string('twitter', 255)->nullable();
//            $table->string('gplus', 255)->nullable();
//            $table->string('youtube', 255)->nullable();
//            $table->string('instagram', 255)->nullable();
            $table->timestamps();
        });
    }

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