Runware/ComfyUI fixes, dashboard links, import action, Leonardo plugin, widget, added status field and test connection button

This commit is contained in:
2025-12-03 14:48:45 +01:00
parent 3ec8e471bc
commit 090ec2c44b
16 changed files with 1019 additions and 142 deletions

View File

@@ -0,0 +1,36 @@
<?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::table('api_providers', function (Blueprint $table) {
$table->timestamp('last_checked_at')->nullable()->after('plugin');
$table->string('last_status', 50)->nullable()->after('last_checked_at');
$table->unsignedInteger('last_response_time_ms')->nullable()->after('last_status');
$table->text('last_error')->nullable()->after('last_response_time_ms');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('api_providers', function (Blueprint $table) {
$table->dropColumn([
'last_checked_at',
'last_status',
'last_response_time_ms',
'last_error',
]);
});
}
};