This commit is contained in:
salam committed 2026-05-08 10:27:23 +02:00
1 parent 521e617879
commit f9e1f9b49c
17 files changed
+295 -80

No files matched your search

@@ -17,13 +17,14 @@ return new class extends Migration
$table->string('email')->unique();
$table->string('company');
$table->string('gender')->nullable();
$table->string('anrede')->nullable();
$table->string('first_name')->nullable();
$table->string('last_name')->nullable();
$table->string('address')->nullable();
$table->string('zip')->nullable();
$table->string('city')->nullable();
$table->timestamp('vereidigung')->nullable();
$table->boolean('im_newsletter')->default(false);
$table->boolean('deaktiviert')->default(false);
$table->timestamps();
});
}
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('mail_vorlages', function (Blueprint $table) {
$table->id();
$table->string('titel');
$table->string('subjekt');
$table->longText('inhalt');
$table->timestamps();
});
@@ -16,9 +16,8 @@ return new class extends Migration
$table->string('name');
$table->foreignId('mail_gruppen_id');
$table->foreignId('mail_vorlage_id');
$table->date('sende_zeitpunkt');
$table->date('versand_am')->nullable();
$table->string('status')->nullable()->default('wartend');
$table->timestamp('sende_zeitpunkt');
$table->timestamp('versand_am')->nullable();
$table->boolean('ist_active')->default(0);
$table->timestamps();
});