Explain the "why"

This commit is contained in:
Alexander Hess 2026-12-04 10:59:33 +01:00
commit cfe8473fad
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -56,7 +56,7 @@ class Address(meta.Base):
index=True,
)
city_name: orm.Mapped[str] = orm.mapped_column(
"city",
"city", # because `.city` is the relationship to `City`
sa.Unicode(length=25),
nullable=False,
)