<?php namespace TPS\Birzha\Updates;

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

class BuilderTableUpdateTpsBirzhaCategories4 extends Migration
{
    public function up()
    {
        Schema::table('tps_birzha_categories', function($table)
        {
            $table->integer('primary_key')->default(0);
        });
    }
    
    public function down()
    {
        Schema::table('tps_birzha_categories', function($table)
        {
            $table->dropColumn('primary_key');
        });
    }
}
