<?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('industries', function (Blueprint $table) {
            $table->id();

            $table->string('name')->nullable();

            $table->string('first_image')->nullable();
            $table->longText('first_description')->nullable();
            $table->json('first_bullet_points')->nullable();

            $table->string('second_image')->nullable();
            $table->longText('second_description')->nullable();
            $table->json('second_bullet_points')->nullable();

            $table->string('third_image')->nullable();
            $table->longText('third_description')->nullable();
            $table->json('third_bullet_points')->nullable();

            $table->string('meta_title')->nullable();
            $table->text('meta_description')->nullable();
            $table->string('meta_keyword')->nullable();


            $table->timestamps();
        });
    }

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