Sindbad~EG File Manager

Current Path : /home/webg5288/laravel/compro/database/migrations/
Upload File :
Current File : //home/webg5288/laravel/compro/database/migrations/2020_02_06_142620_create_destinations_table.php

<?php

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

class CreateDestinationsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('destinations', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title');
            $table->string('slug');
            $table->string('image');
            $table->longText('content');
            $table->enum('status', ['PUBLISH', 'DRAFT']);
            $table->integer('create_by');
            $table->integer('update_by')->nullable();
            $table->integer('delete_by')->nullable();
            $table->timestamps();
        });
    }

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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists