-
Notifications
You must be signed in to change notification settings - Fork 5
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
Trim spaces in the location fields and regenerate location ids #318
Comments
Tasks:
Resources: update database script locally |
Blocked by #402 |
Because the dash is a legitimate character in subdivision-name. and municipality, it is suggested to change the separator to a character that will be disallowed when setting the data. For example Question: Why is it a problem with is ending with the separator (for |, example is |
In the current DEV db, there are:
Also tested for two+ consecutive spaces in either field, but found none. |
The trimming of spaces has already been done in #406 I suggest we manually remove these entries from the dev database once the #406 is released. |
Blocked until after release. Or maybe we should automatically remove all unused entries in the location table once in a while? |
Deleted 15 unused locations by hand in PROD. |
Description
Some location IDs in the location table contain a
_
at the end. The municipality may have ending spaces. Example: US-Washington-Wenatchee_Proposed solution
Trim spaces at the beginning and end of the municipality values. As part of this issue, we should also trim spaces in country_code and subdivision_name to avoid the same problem.
The text was updated successfully, but these errors were encountered: