LLM reel caption and video description + Refactor in services

This commit is contained in:
2025-06-30 16:14:29 +02:00
parent 21abbcdff5
commit 228d67a48d
20 changed files with 575 additions and 151 deletions

View File

@ -0,0 +1,32 @@
<?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');
});
}
};