Merge pull request #11135 from cnohall/update-blockonomics-site-url

Add migration to update Blockonomics site URL
This commit is contained in:
David Bomba 2025-07-28 17:14:28 +10:00 committed by GitHub
commit 6316195324
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
{
//
}
};