Add migration to update Blockonomics site URL

This commit is contained in:
cnohall 2025-07-20 23:37:38 +09:00
parent dce8d798b3
commit 9157c0971c
1 changed files with 28 additions and 0 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
{
if($g = \App\Models\Gateway::find(65))
{
$g->site_url = 'https://help.blockonomics.co/solutions/articles/33000291849';
$g->save();
}
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};