Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

migrations: Fix migration 290 not being marked atomic.

Tim Abbott16cdc3c66b5c
diff --git a/zerver/migrations/0290_remove_night_mode_add_color_scheme.py b/zerver/migrations/0290_remove_night_mode_add_color_scheme.py
index 644cd02485b..d4cc31144a2 100644
--- a/zerver/migrations/0290_remove_night_mode_add_color_scheme.py
+++ b/zerver/migrations/0290_remove_night_mode_add_color_scheme.py
@@ -13,6 +13,7 @@ def set_color_scheme_to_night_mode(apps: StateApps, schema_editor: DatabaseSchem
UserProfile.objects.filter(night_mode=True).update(color_scheme=COLOR_SCHEME_NIGHT)
class Migration(migrations.Migration):
+ atomic = False
dependencies = [
('zerver', '0289_tighten_attachment_size'),