mirror of
https://github.com/dyzulk/trustlab-api.git
synced 2026-01-26 13:22:05 +07:00
feat: implement dual CDN strategy and archive management UI
This commit is contained in:
@@ -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');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user