Closed hasandz closed 8 years ago
You are right, I think the script is forgetting to flush the last buffer. I will fix it ASAP.
It should be fixed now. Please update to latest commit. I found out that I had the continent codes wrong and also some error about foreign key checks which caused this problem when both combined. You shouldn't have any errors in your existing entries. If you want to truncate tables and make fresh inserts, use --refresh option of the seed command
php artisan geonames:seed --refresh
Please let me know if you are having any other problems. Thanks for using the package.
Thank you for fast response.
Yes, it seems working right now.
Console Says: Seeding File: countryInfo.txt 252/252 ▓▓▓ 100% Remaining Time: < 1 sec -252
Mysql Says: SELECT count(*) FROM geonames.geonames_country_infos; -200
Where are the other 52 countries? I guess, something wrong with the import/seed.
For example TR|Turkey is in the file, but not in the database.
Thank you.