mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	migration: Clear old data for unused usermessage flags.
In c37871ac3a, we renamed the
two unused and historical bits of the 'flags' bitfield of
the 'UserMessage' table:
* 'summarize_in_home' to 'topic_wildcard_mentioned'
* 'summarize_in_stream' to 'group_mentioned'
This commit clears out the old data for those bits.
Additionally, we are clearing 'force_expand' and 'force_collapse'
unused flags to save future work.
			
			
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							a7f02c89d7
						
					
				
				
					commit
					24fa361f40
				
			@@ -3489,6 +3489,7 @@ class AbstractUserMessage(models.Model):
 | 
			
		||||
        "topic_wildcard_mentioned",
 | 
			
		||||
        "group_mentioned",
 | 
			
		||||
        # These next 2 flags are from features that have since been removed.
 | 
			
		||||
        # We've cleared these 2 flags in migration 0486.
 | 
			
		||||
        "force_expand",
 | 
			
		||||
        "force_collapse",
 | 
			
		||||
        # Whether the message contains any of the user's alert words.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user