<?php

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

class Update1558627415685KegiatanpkapksTable extends Migration
{
    public function up()
    {
        Schema::table('kegiatanpkapks', function (Blueprint $table) {
            $table->unsignedInteger('team_id')->nullable();
            $table->foreign('team_id', 'team_fk_70433')->references('id')->on('teams');
        });
    }

    public function down()
    {
        Schema::table('kegiatanpkapks', function (Blueprint $table) {
        });
    }
}
