Anons79 Mini Shell

Directory : /proc/self/cwd/database/migrations/
Upload File :
Current File : //proc/self/cwd/database/migrations/2022_10_21_051448_create_monitoring_units_table.php

<?php

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

class CreateMonitoringUnitsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('monitoring_units', function (Blueprint $table) {
            $table->integer('id', true);
            $table->integer('unit_id')->index('unit_id');
            $table->string('status', 15);
            $table->date('tanggal');
            $table->text('keterangan')->nullable();
            $table->integer('libur')->default(0);
            $table->timestamp('created_at')->useCurrent();
            $table->timestamp('updated_at')->default('0000-00-00 00:00:00');
        });
    }

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

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