Sindbad~EG File Manager

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

<?php

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

class CreateArticlesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('articles', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title');
            $table->string('slug');
            $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('articles');
    }
}

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