print only if migration takes place

This commit is contained in:
callebtc 2022-12-06 21:05:09 +01:00
parent 6eb9c5d9ee
commit e15cfeb943

View File

@ -223,7 +223,8 @@ async def m007_set_invoice_expiries(db):
"""
)
).fetchall()
logger.info(f"Mirgraion: Checking expiry of {len(rows)} invoices")
if len(rows):
logger.info(f"Mirgraion: Checking expiry of {len(rows)} invoices")
for i, (
payment_request,
checking_id,