diff --git a/migrations/02_add_archive_count.py b/migrations/02_add_archive_count.py index c3ed782..7a4c459 100644 --- a/migrations/02_add_archive_count.py +++ b/migrations/02_add_archive_count.py @@ -75,4 +75,4 @@ .alias() ) q = blobs_alerts.select().where(blobs_alerts.c.alerts != blobs_alerts.c.count) - print(q.compile(engine)) + print(q.compile(engine, compile_kwargs={"literal_binds": True}))