Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
migrations: Fix migration 0617 case sensitivity bug.
Tim Abbott5571fb6a3e93
diff --git a/zerver/migrations/0617_remove_prefix_from_archived_streams.py b/zerver/migrations/0617_remove_prefix_from_archived_streams.pyindex 9b2aeee0d6a..4c7898da0a5 100644--- a/zerver/migrations/0617_remove_prefix_from_archived_streams.py+++ b/zerver/migrations/0617_remove_prefix_from_archived_streams.py@@ -32,7 +32,7 @@ def remove_prefix_from_archived_streams(continue# Check if there's an active stream or another archived stream with the new name- if not Stream.objects.filter(realm=archived_stream.realm, name=new_name).exists():+ if not Stream.objects.filter(realm=archived_stream.realm, name__iexact=new_name).exists():archived_stream.name = new_namearchived_stream.save(update_fields=["name"])