Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mcoil.corals.io/database/migrations/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mcoil.corals.io/database/migrations/2019_02_26_051649_create_blogs_table.php
<?php

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

class CreateBlogsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('blogs', function (Blueprint $table) {
            $table->increments('id');
            $table->string('title',250)->default(null)->nullable();
            $table->string('sub_title',250)->default(null)->nullable();
            $table->unsignedInteger('category_id')->default(null)->nullable();
            $table->string('header_img',250)->default(null)->nullable();
            $table->text('contentOne')->default(null)->nullable();
            $table->string('imageOne',250)->default(null)->nullable();
            $table->string('videoOne',250)->default(null)->nullable();
            $table->text('contentTwo')->default(null)->nullable();
            $table->string('imageTwo',250)->default(null)->nullable();
            $table->string('videoTwo',250)->default(null)->nullable();
            $table->text('contentThree')->default(null)->nullable();
            $table->text('signature')->default(null)->nullable();
            $table->text('tags')->default(null)->nullable();
            $table->dateTime('created_at')->default(null)->nullable();
            $table->dateTime('updated_at')->default(null)->nullable();
        });
    }

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

Spamworldpro Mini