<?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::table('instagram_reposts', function (Blueprint $table) {
            $table->text('video_description')->nullable()->after('reel_id')
                ->comment('Description of the video being reposted on Instagram');
            $table->text('instagram_caption')->nullable()->after('video_description')
                ->comment('Caption generated for the Instagram video repost');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('instagram_reposts', function (Blueprint $table) {
            $table->dropColumn('video_description');
            $table->dropColumn('instagram_caption');
        });
    }
};
