<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class GoliathAttacks2 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('goliath_attacks', function (Blueprint $table) {
            $table->timestamp('last_at')->nullable();
            $table->timestamp('rounded_last_at')->nullable();
        });

    }

    public function down()
    {
        Schema::table('goliath_attack_prefixes', function (Blueprint $table) {            
            $table->dropColumn('last_at');
            $table->dropColumn('rounded_last_at');
        });
    }
}
