<?php

namespace Wahlemedia\Showroom\Updates;

use Schema;
use October\Rain\Database\Schema\Blueprint;
use October\Rain\Database\Updates\Migration;

class add_short_description_to_items_table extends Migration
{
    public function up()
    {
        Schema::table('wahlemedia_showroom_items', function (Blueprint $table) {
            $table->text('short_description')->nullable();
        });
    }

    public function down()
    {
        Schema::dropColumn('short_description');
    }
}
