<?php

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

class CreateTrackerActionLanguagesTable extends Migration
{
    public function up()
    {
        Schema::create('tracker_action_languages', function (Blueprint $table) {
            $table->bigIncrements('translation_id');
            $table->unsignedBigInteger('tracker_action_id');
            $table->string('language_id', 10);

            $table->string('title', 150);
        });
    }

    public function down()
    {
        Schema::dropIfExists('tracker_action_languages');
    }
}
