Files
mareike/database/migrations/2026_05_12_140002_update_invoices.php
th.guenther 0cf9602958 Direct payments for invoices
Events can be moved to archive and moved back
Fixed validation
2026-05-12 16:04:15 +02:00

22 lines
485 B
PHP

<?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::table('invoices', function (Blueprint $table) {
$table->string('payment_purpose')->nullable()->default(null)->after('contact_bank_iban');
});
}
public function down(): void
{
}
};