Anons79 Mini Shell

Directory : /home/aplikasiposinfo/.trash/database/migrations/
Upload File :
Current File : /home/aplikasiposinfo/.trash/database/migrations/2022_06_17_114953_create_karyawan_units_table.php

<?php

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

class CreateKaryawanUnitsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('karyawan_units', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('karyawan_id')->index();
            $table->unsignedBigInteger('unit_id')->index();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('karyawan_units');
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]