🚀 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_000011_create_testimonials_table.php

📁 Path: /home/skhata/chandrasons.com/database/migrations/2024_01_01_000011_create_testimonials_table.php
📊 Size: 1.02 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('testimonials', function (Blueprint $table) {
            $table->id();
            $table->enum('source', ['manual','google_review'])->default('manual');
            $table->string('client_name', 255);
            $table->string('designation', 255)->nullable();
            $table->string('company', 255)->nullable();
            $table->string('photo', 500)->nullable();
            $table->text('quote');
            $table->tinyInteger('rating')->default(5);
            $table->enum('status', ['draft','approved','rejected'])->default('approved');
            $table->string('google_review_id', 255)->nullable()->unique();
            $table->integer('sort_order')->default(0);
            $table->timestamps();
        });
    }
    public function down(): void { Schema::dropIfExists('testimonials'); }
};
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨