This commit is contained in:
nurmuhammet committed 2024-10-12 15:37:53 +05:00
1 parent 79631a64c4
commit 7b721496a8
2 files changed
+50

No files matched your search

@@ -0,0 +1,36 @@
<?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('branches', function (Blueprint $table) {
$table->string('billing_swift_username')->nullable();
$table->string('billing_swift_password')->nullable();
$table->string('billing_visa_master_username')->nullable();
$table->string('billing_visa_master_password')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('branches', function (Blueprint $table) {
$table->dropColumn('billing_swift_username');
$table->dropColumn('billing_swift_password');
$table->dropColumn('billing_visa_master_username');
$table->dropColumn('billing_visa_master_password');
});
}
};