feat: implement dual CDN strategy and archive management UI

This commit is contained in:
dyzulk
2026-01-07 04:43:42 +07:00
parent b4cbd8506c
commit 1b3787628d
5 changed files with 180 additions and 76 deletions

View File

@@ -26,6 +26,7 @@ return new class extends Migration
$table->string('bat_path')->nullable();
$table->string('mac_path')->nullable();
$table->string('linux_path')->nullable();
$table->boolean('is_latest')->default(false);
$table->timestamp('last_synced_at')->nullable();
$table->string('common_name')->nullable();
@@ -58,6 +59,9 @@ return new class extends Migration
if (!Schema::connection('mysql_ca')->hasColumn('ca_certificates', 'last_synced_at')) {
$table->timestamp('last_synced_at')->nullable()->after('linux_path');
}
if (!Schema::connection('mysql_ca')->hasColumn('ca_certificates', 'is_latest')) {
$table->boolean('is_latest')->default(false)->after('last_synced_at');
}
});
}
}