änderungen zuammengeführt

This commit is contained in:
DigitalInfinity committed 2026-05-12 20:23:45 +00:00
1 parent ec5b6ba86f
commit e952c060f3
33 files changed
+1097

No files matched your search

@@ -0,0 +1,32 @@
<?php
use App\Models\Course;
use App\Models\Kid;
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::create('course_kid', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->foreignIdFor(Kid::class);
$table->foreignIdFor(Course::class);
$table->date("date")->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('course_kid');
}
};