feat(cms): sync site assets, revalidate webhook, and document download naming

This commit is contained in:
2026-02-10 23:38:31 +08:00
parent c4969cd4d2
commit b6e18a83ec
27 changed files with 1019 additions and 26 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('articles', function (Blueprint $table) {
// Keep original Laravel storage path when we also sync into usher-site/public.
$table->string('featured_image_storage_path')->nullable()->after('featured_image_path');
});
}
public function down(): void
{
Schema::table('articles', function (Blueprint $table) {
$table->dropColumn('featured_image_storage_path');
});
}
};