JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "2023_08_23_065713_create_blogs_table.php"

Full Path: /var/www/laravel_filter/Modules/Blog/Database/Migrations/2023_08_23_065713_create_blogs_table.php
File size: 1006 B
MIME-type: text/x-php
Charset: utf-8

<?php

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

return new class extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('blogs', function (Blueprint $table) {
            $table->id();
            $table->integer('admin_id')->default(0);
            $table->text('slug');
            $table->integer('blog_category_id');
            $table->string('image');
            $table->integer('views')->default(0);
            $table->integer('status')->default(0);
            $table->string('show_homepage')->default('no');
            $table->string('is_popular')->default('no');
            $table->text('tags')->nullable();
            $table->timestamps();
        });
    }

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