<?php namespace Tps\Shops\Updates;

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

class BuilderTableUpdateTpsShopsCategories4 extends Migration
{
    public function up()
    {
        Schema::table('tps_shops_categories', function($table)
        {
            $table->integer('sort_order')->nullable();
        });
    }
    
    public function down()
    {
        Schema::table('tps_shops_categories', function($table)
        {
            $table->dropColumn('sort_order');
        });
    }
}
