mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-06-01 04:34:17 -04:00
Chore: silence migration result if no docs
This commit is contained in:
parent
4c6fdbb21f
commit
2ada8ec681
@ -39,7 +39,8 @@ def migrate_date(apps, schema_editor):
|
||||
f"[1067_alter_document_created] {total_updated} of {total_checked} processed...",
|
||||
)
|
||||
|
||||
print(f"[1067_alter_document_created] completed for {total_checked} documents.")
|
||||
if total_checked > 0:
|
||||
print(f"[1067_alter_document_created] completed for {total_checked} documents.")
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
Loading…
x
Reference in New Issue
Block a user