Fix: AI Blog Assistant retry logic and Subdomain routing for Akademi

This commit is contained in:
Muhammet Güler
2026-02-16 14:55:06 +03:00
parent 0fa8e4e435
commit 7101f7878a
10 changed files with 458 additions and 1 deletions
@@ -0,0 +1,31 @@
<?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('blog_topics', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->text('context')->nullable(); // Additional context/prompt for AI
$table->string('status')->default('active'); // active, passive
$table->timestamp('last_used_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('blog_topics');
}
};