Added missing migration from #15314

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-16 10:44:28 +01:00
parent 44f18d210e
commit e8f1190628

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('settings', function (Blueprint $table) {
$table->integer('due_checkin_days')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('settings', function (Blueprint $table) {
$table->dropColumn('due_checkin_days');
});
}
};