<?php namespace TPS\Birzha\Updates;

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

class BuilderTableDeleteTpsBirzhaDocs extends Migration
{
    public function up()
    {
        Schema::dropIfExists('tps_birzha_docs');
    }
    
    public function down()
    {
        Schema::create('tps_birzha_docs', function($table)
        {
            $table->engine = 'InnoDB';
            $table->string('section_name', 191);
            $table->text('section_docs');
            $table->integer('id');
        });
    }
}
