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,6 +223,7 @@ async def m007_set_invoice_expiries(db):
"""
)
).fetchall()
if len(rows):
logger.info(f"Mirgraion: Checking expiry of {len(rows)} invoices")
for i, (
payment_request,