feat(ai): finalize AI magic edits epic rollout and operations
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-06 22:41:51 +01:00
parent 36bed12ff9
commit 1d2242fb4d
33 changed files with 2621 additions and 18 deletions

View File

@@ -0,0 +1,24 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('ai_styles', function (Blueprint $table) {
$table->unsignedInteger('version')->default(1)->after('name');
$table->index(['is_active', 'version']);
});
}
public function down(): void
{
Schema::table('ai_styles', function (Blueprint $table) {
$table->dropIndex(['is_active', 'version']);
$table->dropColumn('version');
});
}
};