feat(canvas): let admins drag server zones on the servers and dashboard canvases

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai
2026-10-23 22:13:29 +02:00
co-authored by Claude Opus 5.5
parent 9d82a76fc4
commit 9db8d55473
11 changed files with 164 additions and 20 deletions
@@ -0,0 +1,22 @@
<?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('servers', function (Blueprint $table) {
$table->json('canvas_position')->nullable();
});
}
public function down(): void
{
Schema::table('servers', function (Blueprint $table) {
$table->dropColumn('canvas_position');
});
}
};