mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Mark migrations with data operations "non atomic"
Ref: https://docs.djangoproject.com/en/dev/howto/writing-migrations/#non-atomic-migrations
This commit is contained in:
		@@ -354,6 +354,8 @@ def associate_manufacturers(apps, schema_editor):
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    atomic = False
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('company', '0018_supplierpart_manufacturer'),
 | 
			
		||||
    ]
 | 
			
		||||
 
 | 
			
		||||
@@ -19,6 +19,8 @@ def make_empty_email_field_null(apps, schema_editor):
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    atomic = False
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('company', '0023_auto_20200808_0715'),
 | 
			
		||||
    ]
 | 
			
		||||
 
 | 
			
		||||
@@ -138,6 +138,8 @@ def reverse_currencies(apps, schema_editor):
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    atomic = False
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ('company', '0025_auto_20201110_1001'),
 | 
			
		||||
    ]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user