mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-02 18:47:10 -05:00 
			
		
		
		
	Fix: include db_index caveat in squashed migrations (#8292)
This commit is contained in:
		
							parent
							
								
									2e6f85cc3a
								
							
						
					
					
						commit
						c324a71e91
					
				@ -1,6 +1,7 @@
 | 
				
			|||||||
# Generated by Django 4.2.13 on 2024-06-28 17:57
 | 
					# Generated by Django 4.2.13 on 2024-06-28 17:57
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import django.db.models.deletion
 | 
					import django.db.models.deletion
 | 
				
			||||||
 | 
					from django.conf import settings
 | 
				
			||||||
from django.db import migrations
 | 
					from django.db import migrations
 | 
				
			||||||
from django.db import models
 | 
					from django.db import models
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -43,7 +44,7 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
            name="content",
 | 
					            name="content",
 | 
				
			||||||
            field=models.TextField(
 | 
					            field=models.TextField(
 | 
				
			||||||
                blank=True,
 | 
					                blank=True,
 | 
				
			||||||
                db_index=True,
 | 
					                db_index=("mysql" not in settings.DATABASES["default"]["ENGINE"]),
 | 
				
			||||||
                help_text="The raw, text-only data of the document.  This field is primarily used for searching.",
 | 
					                help_text="The raw, text-only data of the document.  This field is primarily used for searching.",
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user