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

add Lion-sur-Mer in the database #32

Open
nsitbon opened this issue Jan 29, 2019 · 2 comments
Open

add Lion-sur-Mer in the database #32

nsitbon opened this issue Jan 29, 2019 · 2 comments
Assignees
Labels

Comments

@nsitbon
Copy link

nsitbon commented Jan 29, 2019

Hi is it possible to add Lion-sur-Mer city ? here is my code for my postgresql DB (my 2 cents)

INSERT INTO cities (department_code, insee_code, zip_code, name, slug, gps_coordinates) VALUES ('14', '14365', 14780, 'Lion-sur-Mer', 'lion sur mer', POINT(-0.332261764705882368,49.301512941176469));

Best regards.

@Stanislas-Poisson
Copy link
Owner

Hi.
You've found a bug ;)

For an official build, I prefere to use the official list, repicat inside the project : https://raw.githubusercontent.com/Stanislas-Poisson/French-zip-code/master/storage/builder/cities.txt
Your city is listed here but not in the final list. So the code have a bug. Now I have to search deep and fix it.

@nsitbon
Copy link
Author

nsitbon commented Jan 30, 2019

Thank you so much for the feedback and sorry for the bug. I thought it was just a missing entry...

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

No branches or pull requests

2 participants