ProjektMethodesRelationManager

This commit is contained in:
salam committed 2025-10-06 08:57:21 +02:00
1 parent 77f8b3c047
commit 9a7e6fa248
11 files changed
+209 -29

No files matched your search

@@ -0,0 +1,32 @@
<?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::create('projekt_methodes', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('methode_id')->default(0);
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
$table->decimal('faktor', 5, 2)->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('projekt_methodes');
}
};