wip newsletter

This commit is contained in:
salam committed 2026-05-04 14:32:40 +02:00
1 parent 6549c1196d
commit 2514349783
13 files changed
+604 -43

No files matched your search

@@ -0,0 +1,40 @@
<?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('mail_adressens', function (Blueprint $table) {
$table->id();
$table->string('email')->unique();
$table->string('company');
$table->string('gender')->nullable();
$table->string('first_name')->nullable();
$table->string('last_name')->nullable();
$table->string('teilhaber')->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('istpartner')->default(false);
$table->boolean('burogemeinschaft')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('mail_adressens');
}
};