enable user donations

This commit is contained in:
Benjamin Takats
2023-01-18 15:44:01 +01:00
parent 21ac6bfd97
commit 19ddbc9880
5 changed files with 121 additions and 40 deletions

View File

@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
* @return void
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('lightning_address')
->nullable();
$table->text('lnurl')
->nullable();
$table->string('node_id')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
});
}
};