Add researched Moscow seed content (22 places, RU/EN, 3 lengths)
Gorky Park (6), Red Square area (10), and Moscow-City (6) landmarks with real historical/architectural facts, each with short/medium/long narration text in Russian and English. Widened built_year to varchar(128) since several entries need more than a bare year (e.g. demolition/reconstruction ranges). Verified end-to-end against the live backend: all 22 places load via seed_loader, nearby search returns correctly distance-sorted results with radius expansion in sparser areas (confirmed at Gorky Park, 900m), and place detail/search-fallback endpoints return full bilingual content. Full pytest suite passes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
d2ab424e7e
commit
ca28c93daf
5 changed files with 797 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ class Place(Base):
|
|||
)
|
||||
address: Mapped[str | None] = mapped_column(String(256))
|
||||
district: Mapped[str | None] = mapped_column(String(128))
|
||||
built_year: Mapped[str | None] = mapped_column(String(32))
|
||||
built_year: Mapped[str | None] = mapped_column(String(128))
|
||||
architect_builder: Mapped[str | None] = mapped_column(String(256))
|
||||
architectural_style: Mapped[str | None] = mapped_column(String(128))
|
||||
notable_people: Mapped[str | None] = mapped_column(Text)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue