🚀 **feat(payment): integrate BTC Pay for invoice handling and remove QR code dependencies**

This commit is contained in:
fsociety
2024-10-24 16:38:20 +02:00
parent 1621879217
commit 6eaba91e9e
3 changed files with 122 additions and 76 deletions

View File

@@ -0,0 +1,28 @@
<?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('payment_events', function (Blueprint $table) {
$table->dropColumn('zap_endpoint');
$table->text('btc_pay_invoice')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('payment_events', function (Blueprint $table) {
//
});
}
};