From e617a5e5c1869039b2cc82f04002aa3f1c91a6ee Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Fri, 4 Dec 2026 16:02:23 +0100 Subject: [PATCH] Properly rephrase --- src/velofy/db/pixels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/velofy/db/pixels.py b/src/velofy/db/pixels.py index c7ff9df..0102635 100644 --- a/src/velofy/db/pixels.py +++ b/src/velofy/db/pixels.py @@ -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"), )