Add maximum_compatibility boolean to devices to address redraw issues with certain hardware (#178)

This commit is contained in:
Jamie Shiell 2026-02-01 12:30:30 +00:00 committed by Benjamin Nussbaum
parent bcfc62c782
commit 9578251238
5 changed files with 54 additions and 1 deletions

View file

@ -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("devices", function (Blueprint $table): void {
$table->boolean("maximum_compatibility")->default(false);
});
}
public function down(): void
{
Schema::table("devices", function (Blueprint $table): void {
$table->dropColumn("maximum_compatibility");
});
}
};