<?php namespace tps\Airport\Updates;

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

class BuilderTableUpdateTpsAirportPageContent extends Migration
{
    public function up()
    {
        Schema::table('tps_airport_page_content', function($table)
        {
            $table->string('type')->default('page_information');
        });
    }
    
    public function down()
    {
        Schema::table('tps_airport_page_content', function($table)
        {
            $table->dropColumn('type');
        });
    }
}
