feat: Solana chain
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
/**
|
||||
* Native SOL balance column for Solana addresses.
|
||||
* USDT on Solana lives in the existing `usdt` column (SPL USDT).
|
||||
*/
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('wallet_addresses', function (Blueprint $table) {
|
||||
$table->decimal('sol', 36, 9)->nullable()->after('bnb');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('wallet_addresses', function (Blueprint $table) {
|
||||
$table->dropColumn('sol');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user