<?php namespace tps\Airport\Updates;

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

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