<?php

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

class AddProjectsApiFields extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('projects_lang', function (Blueprint $table) {
            $table->text('the_solution')->nullable();
            $table->text('the_impact')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('projects_lang', function (Blueprint $table) {
            $table->dropColumn('the_impact');
            $table->dropColumn('the_solution');
        });
    }
}
