jeroenzwart / laravel-csv-seeder

Seed your database with Laravel using CSV files
Other
92 stars 30 forks source link

Problem parsing CSV file #32

Open alchemizt opened 8 months ago

alchemizt commented 8 months ago

EDIT: Ah, a silly mistake, I didn't change the delimiter to: $this->delimiter = ',';

I got this error when I tried to load a CSV file:

CsvSeeder: Found only one column in header, maybe a wrong delimiter (;) for the CSV file was set CsvSeeder: 0 of 586 rows has been seeded in table "list_compounds"

It is definitely delimited by commas, I can parse it with LibreOffice Calc.