Paltzhalter
This commit is contained in:
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');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user