<?php

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

class AddMenuContentColumns extends Migration
{

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('menu_content_languages', function (Blueprint $table) {
            $table->text('cta_3')->nullable();
            $table->text('social_1')->nullable();
            $table->text('social_2')->nullable();
            $table->string('phone', 255)->nullable();
            $table->string('email', 255)->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('menu_content_languages', function (Blueprint $table) {
            $table->dropColumn('cta_3');
            $table->dropColumn('social_1');
            $table->dropColumn('social_2');
            $table->dropColumn('phone');
            $table->dropColumn('email');
        });
    }
}
