<?php namespace Romanah\Gokbakja\Updates;

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

class BuilderTableUpdateRomanahGokbakjaPivotProduction2 extends Migration
{
    public function up()
    {
        Schema::table('romanah_gokbakja_pivot_production', function($table)
        {
            $table->dateTime('date_time')->nullable();
            $table->dropColumn('time');
        });
    }
    
    public function down()
    {
        Schema::table('romanah_gokbakja_pivot_production', function($table)
        {
            $table->dropColumn('date_time');
            $table->time('time');
        });
    }
}
