Skip to content

Commit

Permalink
sprinkle with alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Feb 12, 2024
1 parent f8c65f9 commit d7dcdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/02_add_archive_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
]
).select_from(
blobs.join(alerts, sa.true())
)
).alias()
q = blobs_alerts.select().where(blobs_alerts.c.alerts != blobs_alerts.c.count)
print(q.compile(engine))

0 comments on commit d7dcdb9

Please sign in to comment.