Explain the "why"
This commit is contained in:
parent
245c123624
commit
4af3467964
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class Address(meta.Base):
|
|||
primary_key=True,
|
||||
autoincrement=False, # because the IDs come from the original data
|
||||
)
|
||||
# Duplicate entries of a place point to the earliest one (see `.is_primary`)
|
||||
primary_id: orm.Mapped[int] = orm.mapped_column(
|
||||
sa.Integer,
|
||||
nullable=False,
|
||||
|
|
|
|||
Loading…
Reference in a new issue