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

RES-1908 country codes #665

Merged
merged 9 commits into from
Aug 2, 2023
Merged

RES-1908 country codes #665

merged 9 commits into from
Aug 2, 2023

Conversation

edwh
Copy link
Collaborator

@edwh edwh commented Jun 21, 2023

  • Add the country_code field to users and groups via a migration.
  • Change the code to use the country_code field. I initially did this with the migration deleting the country field in the groups table to get the tests running without it, then removed that delete.
  • Add a scheduled hourly command to sync the country code field to country

Copy link
Contributor

@ngm ngm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good, just missing a reverse of the migration I think.

I'll have a bit of a smoke test through locally.

database/migrations/2023_06_12_153317_country_codes.php Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 1, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

No Coverage information No Coverage information
4.7% 4.7% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@edwh edwh merged commit 1abc978 into develop Aug 2, 2023
@ngm ngm deleted the RES-1908_country_codes branch June 19, 2024 16:20
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