🚀 Hostinger Optimized
🖥️ Server: LiteSpeed
💻 System: Linux s20058.bom1.stableserver.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
👤 User: skhata (1324)
🐘 PHP: 8.4.20
🚫 Disabled: ✨ NONE

💻 Terminal

📁 /home/skhata/chandrasons.com/public
$

📄 2024_01_01_000013_create_blog_posts_table.php

📁 Path: /home/skhata/chandrasons.com/database/migrations/2024_01_01_000013_create_blog_posts_table.php
📊 Size: 1.16 KB
🔒 Perm: 0644
📝 MIME: text/x-php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration {
    public function up(): void {
        Schema::create('blog_posts', function (Blueprint $table) {
            $table->id();
            $table->string('slug', 255)->unique();
            $table->string('author', 255)->default('Chandra & Sons Team');
            $table->string('category', 100)->nullable();
            $table->json('tags')->nullable();
            $table->string('featured_image', 500)->nullable();
            $table->string('title', 500);
            $table->text('excerpt')->nullable();
            $table->longText('content')->nullable();
            $table->string('meta_title', 500)->nullable();
            $table->text('meta_description')->nullable();
            $table->string('og_image', 500)->nullable();
            $table->enum('status', ['draft','published','scheduled'])->default('draft');
            $table->timestamp('published_at')->nullable();
            $table->timestamps();
        });
    }
    public function down(): void { Schema::dropIfExists('blog_posts'); }
};
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨