Anons79 Mini Shell

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

<?php

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

class CreatePerusahaanablesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('perusahaanables', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('perusahaan_id')->index();
            $table->unsignedBigInteger('perusahaanable_id')->index();
            $table->string('perusahaanable_type');
            $table->timestamps();
        });
    }

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

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