chore:move market data seeder csv to vapor accessible location

This commit is contained in:
hackerESQ
2024-10-23 11:41:15 -05:00
parent d53d1a3ed3
commit 10e00e6ef6
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ class MarketDataSeeder extends Seeder
$chunkSize = 500;
// Path to the CSV file
$csvFilePath = storage_path('app/market_data_seed.csv');
// $csvFilePath = storage_path('app/market_data_seed.csv');
$csvFilePath = realpath(__DIR__.'/market_data_seed.csv');
// Open the file in read mode
if (($handle = fopen($csvFilePath, 'r')) !== false) {