Skip to content

Commit

Permalink
Notify if there are no migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Jan 16, 2025
1 parent 603fe90 commit 152a52f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cvat/apps/redis_handler/management/commands/migrateredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ def handle(self, *args, **options) -> None:
)
self.stderr.write(self.style.ERROR(f"\n{traceback.format_exc()}"))
raise CommandError(str(ex))
else:
self.stdout.write("No migrations to apply")

0 comments on commit 152a52f

Please sign in to comment.