Files
nahodka-back/src/main/resources/db/changelog/add/018-add-address-posts.yaml
2026-10-15 00:13:19 +03:00

20 lines
725 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

databaseChangeLog:
- changeSet:
id: 018-add-address-posts
author: krylov
comment: >
Полный адрес, который пользователь выбрал/ввёл в форме. Раньше он
терялся: при наличии координат city/district перезаписывались данными
Nominatim, а сам адрес нигде не хранился.
preConditions:
onFail: MARK_RAN
not:
columnExists:
tableName: posts
columnName: address
changes:
- addColumn:
tableName: posts
columns:
- column: { name: address, type: VARCHAR(500) }