Changes to holidays and the overlap between this year and the previous year

This commit is contained in:
2026-09-23 12:20:39 +03:30
parent 5e306564b2
commit 0fd5867701
15 changed files with 653 additions and 62 deletions
@@ -0,0 +1,23 @@
<?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::create('holidays', function (Blueprint $table) {
$table->id();
$table->date('date')->unique();
$table->string('title')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('holidays');
}
};