Merge branch 'multi-curr-support' into main

This commit is contained in:
hackerESQ
2025-01-28 20:34:59 -06:00
committed by GitHub
2 changed files with 28 additions and 1 deletions
-1
View File
@@ -143,7 +143,6 @@ class Transaction extends Model
public function refreshMarketData(): void public function refreshMarketData(): void
{ {
MarketData::getMarketData($this->attributes['symbol']); MarketData::getMarketData($this->attributes['symbol']);
} }
@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
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('supported_currencies', function (Blueprint $table) {
//
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('supported_currencies');
}
};