mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Refs #24109 -- Doc'd the elidable feature in squashing migrations docs.
This commit is contained in:
		
							parent
							
								
									f01ad1cb6a
								
							
						
					
					
						commit
						d1eda9b4ad
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -582,8 +582,8 @@ Once the operation sequence has been reduced as much as possible - the amount
 | 
			
		|||
possible depends on how closely intertwined your models are and if you have
 | 
			
		||||
any :class:`~django.db.migrations.operations.RunSQL`
 | 
			
		||||
or :class:`~django.db.migrations.operations.RunPython` operations (which can't
 | 
			
		||||
be optimized through) - Django will then write it back out into a new set of
 | 
			
		||||
migration files.
 | 
			
		||||
be optimized through unless they are marked as ``elidable``) - Django will then
 | 
			
		||||
write it back out into a new set of migration files.
 | 
			
		||||
 | 
			
		||||
These files are marked to say they replace the previously-squashed migrations,
 | 
			
		||||
so they can coexist with the old migration files, and Django will intelligently
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue