<?php

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

class AddPointsAndSheetToArticles extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('articles', function (Blueprint $table) {
            $table->text('point_recommend2')->nullable();
            $table->text('point_recommend3')->nullable();
            $table->text('point_recommend4')->nullable();
            $table->text('sheet_copy')->nullable();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('articles', function (Blueprint $table) {
            $table->dropColumn('point_recommend2');
            $table->dropColumn('point_recommend3');
            $table->dropColumn('point_recommend4');
            $table->dropColumn('sheet_copy');
        });
    }
}
