first commit
Some checks failed
tests / ci (push) Has been cancelled

This commit is contained in:
2026-10-27 11:01:11 +00:00
parent 9b8b21c853
commit fb04d71a8d
29 changed files with 9733 additions and 326 deletions

View File

@@ -0,0 +1,24 @@
<?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('reservations', function (Blueprint $table) {
$table->uuid('recurring_group_id')->nullable()->index()->after('requester_id');
$table->string('recurrence_pattern')->nullable()->after('recurring_group_id');
});
}
public function down(): void
{
Schema::table('reservations', function (Blueprint $table) {
$table->dropIndex(['recurring_group_id']);
$table->dropColumn(['recurring_group_id', 'recurrence_pattern']);
});
}
};