mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Chore: silence migration result if no docs
This commit is contained in:
parent
4c6fdbb21f
commit
2ada8ec681
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue