forked from hans/Nominatim
fix version counts
This commit is contained in:
@@ -160,7 +160,7 @@ def create_place_entrance_table(conn: Connection, config: Configuration, **_: An
|
|||||||
""")
|
""")
|
||||||
|
|
||||||
|
|
||||||
@_migration(5, 2, 99, 1)
|
@_migration(5, 2, 99, 0)
|
||||||
def convert_country_tokens(conn: Connection, config: Configuration, **_: Any) -> None:
|
def convert_country_tokens(conn: Connection, config: Configuration, **_: Any) -> None:
|
||||||
""" Convert country word tokens
|
""" Convert country word tokens
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@ def convert_country_tokens(conn: Connection, config: Configuration, **_: Any) ->
|
|||||||
create_country_names(conn, tokenizer, config.get_str_list('LANGUAGES'))
|
create_country_names(conn, tokenizer, config.get_str_list('LANGUAGES'))
|
||||||
|
|
||||||
|
|
||||||
@_migration(5, 2, 99, 2)
|
@_migration(5, 2, 99, 1)
|
||||||
def create_place_postcode_table(conn: Connection, config: Configuration, **_: Any) -> None:
|
def create_place_postcode_table(conn: Connection, config: Configuration, **_: Any) -> None:
|
||||||
""" Restructure postcode tables
|
""" Restructure postcode tables
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ def parse_version(version: str) -> NominatimVersion:
|
|||||||
return NominatimVersion(*[int(x) for x in parts[:2] + parts[2].split('-')])
|
return NominatimVersion(*[int(x) for x in parts[:2] + parts[2].split('-')])
|
||||||
|
|
||||||
|
|
||||||
NOMINATIM_VERSION = parse_version('5.2.99-1')
|
NOMINATIM_VERSION = parse_version('5.2.99-2')
|
||||||
|
|
||||||
POSTGRESQL_REQUIRED_VERSION = (12, 0)
|
POSTGRESQL_REQUIRED_VERSION = (12, 0)
|
||||||
POSTGIS_REQUIRED_VERSION = (3, 0)
|
POSTGIS_REQUIRED_VERSION = (3, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user