Closed erayaydin closed 4 years ago
Can you please correct it in a PR
There is an issue with country Pakistan as well.
One way to fix this is to add country_id
column to cities
table. Then create a relationship between City and Country Models. One can then create a route to get cities by country e.g Route::get('country/{countryId}/cities', 'LocationController@getCitiesByCountry');
Hello,
In Turkey, we have not states. We only have cities and towns. Because of this, there are duplicated items on cities and states. For example;
Istanbul
inCitiesTableSeeder
and alsoIstanbul
inStatesTableSeeder