HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/spion/database/migrations/2025_01_13_111149_create_user_websites_table.php
<?php

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

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('user_websites', function (Blueprint $table) {
        $table->id();
        $table->string('user_id')->nullable();
        $table->string('first_name')->nullable();
        $table->string('last_name')->nullable();
        $table->string('email')->nullable();
        $table->string('business_name')->nullable();
        $table->string('business_email')->nullable();
        $table->string('business_phone')->nullable();
        $table->string('business_address_1')->nullable();
        $table->string('business_address_2')->nullable();
        $table->string('street')->nullable();
        $table->string('city')->nullable();
        $table->string('state')->nullable();
        $table->string('zip_code')->nullable();
        $table->string('country')->nullable();
        $table->string('domain_name')->nullable();
        $table->string('subdomain_preference')->nullable();
        $table->json('social_urls')->nullable();
        $table->string('logo')->nullable();
        $table->json('media')->nullable();
        $table->json('pages')->nullable();
        $table->text('business_paragraph')->nullable();
        $table->json('services_name')->nullable();
        $table->json('services_description')->nullable();
        $table->string('primary_color')->nullable();
        $table->string('secondary_color')->nullable();
        $table->string('highlight_color')->nullable();
        $table->text('instructions')->nullable();
        $table->timestamps();
        });
    }

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