Add citizenship field and update related logic in SberPaymentOrder resources

This commit is contained in:
Mekan1206
2026-08-27 21:02:05 +05:00
parent 8393f1a867
commit d73589315e
4 changed files with 175 additions and 16 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('sber_payment_orders', function (Blueprint $table) {
$table->string('citizenship')->nullable()->default('TM');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('sber_payment_orders', function (Blueprint $table) {
$table->dropColumn('citizenship');
});
}
};