Properly rephrase
This commit is contained in:
parent
f764128a57
commit
e617a5e5c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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"),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue