K
K
kkoshakk2015-11-12 10:36:41
MySQL
kkoshakk, 2015-11-12 10:36:41

The structure of the base of settlements?

Good afternoon, I am creating a bulletin board on Laravel, working on a database of settlements, I want my service to be able to search by settlements (for example, by region, district or by a specific city), at the moment my database looks like this : id--name--parent_id--slug. Is there anything else that needs to be added to the database to organize a search for specific settlements in the future site?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor, 2015-11-12
@master2016

Add for future uses such as coordinates, population, and area code.
But didn’t you think to use the Google or Yandex service?

A
Alexander, 2015-11-12
@drunking

What is it for you? There is FIAS .

E
eskrano, 2015-11-16
@eskrano

u92.yellow.elastictech.org here is the laravel board. Of course, it is not finished, but I took populated points from VK when I did it. But then I also made a control option through the admin panel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question