fix: update migration messages for clarity in source_markdown migration process

This commit is contained in:
Anish Sarkar 2026-02-17 12:00:33 +05:30
parent ef53203e4b
commit e910001518

View file

@ -69,7 +69,7 @@ def _populate_source_markdown(conn, batch_size: int = 500) -> None:
total = count_result.scalar()
if total == 0:
print("No documents with blocknote_document need migration")
print("No documents with blocknote_document need migration")
return
print(f" Migrating {total} documents (with blocknote_document) to source_markdown...")
@ -129,7 +129,7 @@ def _populate_source_markdown(conn, batch_size: int = 500) -> None:
offset += batch_size
print(
f"source_markdown migration complete: {migrated} migrated, "
f"source_markdown migration complete: {migrated} migrated, "
f"{failed} failed out of {total} total"
)