feat: support for additional devices

This commit is contained in:
Benjamin Nussbaum 2025-05-13 16:14:01 +02:00
parent 27ea7d1496
commit d75d099490
4 changed files with 96 additions and 16 deletions

View file

@ -0,0 +1,28 @@
<?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('devices', function (Blueprint $table) {
$table->string('image_format')->default('auto')->after('rotate');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('devices', function (Blueprint $table) {
$table->dropColumn('image_format');
});
}
};