wip
This commit is contained in:
1 parent
c149ed0a9f
commit
5604423af9
6 files changed
+141
-22
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('konto_textblocks', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('konto_id')->constrained();
|
||||
$table->string('name');
|
||||
$table->string('beschreibung')->nullable();
|
||||
$table->integer('textblock_kennung_id')->default(0)->nullable();
|
||||
$table->text('textblock');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('konto_textblocks');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user