fix: reorg migrtion

This commit is contained in:
hackerESQ
2025-05-16 19:59:39 -05:00
parent 1b0f9c134c
commit 1ccf515ca2
@@ -97,17 +97,17 @@ return new class extends Migration
'--force' => true,
]);
Artisan::call('db:seed', [
'--class' => MarketDataSeeder::class,
'--force' => true,
]);
CurrencyRate::timeSeriesRates(
Holding::all()->groupBy('market_data.currency')->keys()->toArray(),
Transaction::min('date')
);
CurrencyRate::refreshCurrencyData();
Artisan::call('db:seed', [
'--class' => MarketDataSeeder::class,
'--force' => true,
]);
}
/**