chore:move market data seeder csv to vapor accessible location
This commit is contained in:
@@ -18,7 +18,8 @@ class MarketDataSeeder extends Seeder
|
|||||||
$chunkSize = 500;
|
$chunkSize = 500;
|
||||||
|
|
||||||
// Path to the CSV file
|
// 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
|
// Open the file in read mode
|
||||||
if (($handle = fopen($csvFilePath, 'r')) !== false) {
|
if (($handle = fopen($csvFilePath, 'r')) !== false) {
|
||||||
|
|||||||
|
Can't render this file because it is too large.
|
Reference in New Issue
Block a user