Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for non-unique country codes #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tinusg
Copy link
Contributor

@tinusg tinusg commented Oct 18, 2023

The initial seeding somehow contains a duplicate country code, which is strange because I can't find any in the Geonames dataset. I did not explore the root cause any further.

The duplication causes the initial seeding to fail because of the unique constraint. With this fix the initial seeding is able to complete without further problems.

The initial seeding somehow contains a duplicate country code, which is strange because I can't find any in the Geonames dataset. I did not explore the root cause any further.

The duplication causes the initial seeding to fail because of the unique constraint. With this fix the initial seeding is able to complete without further problems.
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (df416df) 79.84% compared to head (12363ef) 79.84%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     79.84%   79.84%           
  Complexity      273      273           
=========================================
  Files            32       32           
  Lines           883      883           
=========================================
  Hits            705      705           
  Misses          178      178           
Files Coverage Δ
src/Seeders/BaseSeeder.php 85.29% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants