%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/news/database/migrations/
Upload File :
Create Path :
Current File : /var/www/html/news/database/migrations/2017_04_29_122745_create_socials_table.php

<?php

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

class CreateSocialsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('socials', function (Blueprint $table) {
            $table->BigIncrements('id');
            $table->String('name');
            $table->String('url')->nullable();
            $table->Boolean('is_active')->default(true);
            $table->timestamps();
        });
    }

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

Zerion Mini Shell 1.0