Properly rephrase

This commit is contained in:
Alexander Hess 2026-12-04 16:02:23 +01:00
commit e617a5e5c1
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -62,7 +62,7 @@ class Pixel(meta.Base):
# The foreign key in `AddressPixelAssociation` refers to this pair
# => Its `.grid_id` always matches the `Pixel`'s `.grid`
sa.UniqueConstraint("id", "grid_id"),
# Each coordinate within the same `grid` is used at most once
# A `.grid` has at most one `Pixel` per `.n_x`-`.n_y` coordinate
sa.UniqueConstraint("grid_id", "n_x", "n_y"),
)