mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 20:33:40 +00:00
Add maximum_compatibility boolean to devices to address redraw issues with certain hardware (#178)
This commit is contained in:
parent
bcfc62c782
commit
9578251238
5 changed files with 54 additions and 1 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("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");
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue