Paltzhalter

This commit is contained in:
salam committed 2025-10-17 14:03:30 +02:00
1 parent 44da4addcd
commit d1ce891d9c
10 files changed
+205 -47

No files matched your search

@@ -0,0 +1,31 @@
<?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_platzhalters', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->text('platzhalter')->nullable();
$table->text('platzhaltertext')->nullable();
$table->boolean('controll')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('projekt_platzhalters');
}
};