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

📁 Path: /home/skhata/chandrasons.com/database/migrations/2024_01_01_000014_create_enquiries_table.php
📊 Size: 1.24 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('enquiries', function (Blueprint $table) {
            $table->id();
            $table->string('name', 255);
            $table->string('phone', 30);
            $table->string('email', 255)->nullable();
            $table->string('subject', 500)->nullable();
            $table->text('message');
            $table->enum('buyer_type', ['retail','wholesale','nepal_export','other']);
            $table->string('company_name', 255)->nullable();
            $table->string('city_district', 255)->nullable();
            $table->text('product_interest')->nullable();
            $table->string('monthly_quantity', 100)->nullable();
            $table->string('heard_from', 100)->nullable();
            $table->string('source_page', 100)->nullable();
            $table->string('language', 10)->default('en');
            $table->timestamp('read_at')->nullable();
            $table->timestamp('replied_at')->nullable();
            $table->timestamps();
        });
    }
    public function down(): void { Schema::dropIfExists('enquiries'); }
};
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨