Basic signup for events
This commit is contained in:
@@ -26,8 +26,10 @@ return new class extends Migration {
|
||||
$table->string('tenant');
|
||||
$table->string('type');
|
||||
$table->string('name');
|
||||
$table->string('description')->default('');
|
||||
$table->float('amount',2);
|
||||
$table->string('description')->nullable()->default('');
|
||||
$table->float('amount_standard',2);
|
||||
$table->float('amount_reduced',2)->nullable();
|
||||
$table->float('amount_solidarity', 2)->nullable();
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('type')->references('slug')->on('participation_types')->restrictOnDelete()->cascadeOnUpdate();
|
||||
|
||||
Reference in New Issue
Block a user