Added mail to inform users about still running time entries

This commit is contained in:
Constantin Graf
2024-07-18 12:49:28 +02:00
committed by Constantin Graf
parent 855db81104
commit 8db0a7d25e
10 changed files with 347 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
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('time_entries', function (Blueprint $table) {
$table->dateTime('still_active_email_sent_at')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('time_entries', function (Blueprint $table) {
$table->dropColumn('still_active_email_sent_at');
});
}
};