<?php namespace Tps\Shops\Updates;

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

class BuilderTableUpdateTpsShops8 extends Migration
{
    public function up()
    {
        Schema::table('tps_shops_', function($table)
        {
            $table->integer('category');
            $table->dropColumn('category_id');
        });
    }
    
    public function down()
    {
        Schema::table('tps_shops_', function($table)
        {
            $table->dropColumn('category');
            $table->bigInteger('category_id');
        });
    }
}
