Anons79 Mini Shell

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

<?php

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

class CreateJabatansTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('jabatans', function (Blueprint $table) {
            $table->id();
            $table->string('nama_jabatan');
            $table->unsignedBigInteger('departemen_id')->index();
            $table->boolean('operator');
            $table->text('keterangan')->nullable();
            $table->timestamps();
        });
    }

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

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