mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Fix for link length migration (#9249)
- Found some fields which had not been migrated correctly
This commit is contained in:
		@@ -14,6 +14,8 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
        migrations.AlterField(
 | 
					        migrations.AlterField(
 | 
				
			||||||
            model_name='build',
 | 
					            model_name='build',
 | 
				
			||||||
            name='link',
 | 
					            name='link',
 | 
				
			||||||
            field=models.TextField()  # Temporary change to force new ALTER COLUMN operation in the next migration
 | 
					            field=models.TextField(
 | 
				
			||||||
 | 
					                null=True, blank=True
 | 
				
			||||||
 | 
					            )  # Temporary change to force new ALTER COLUMN operation in the next migration
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,6 +13,8 @@ class Migration(migrations.Migration):
 | 
				
			|||||||
    operations = [migrations.AlterField(
 | 
					    operations = [migrations.AlterField(
 | 
				
			||||||
            model_name='attachment',
 | 
					            model_name='attachment',
 | 
				
			||||||
            name='link',
 | 
					            name='link',
 | 
				
			||||||
            field=models.TextField()  # Temporary change to force new ALTER COLUMN operation in the next migration
 | 
					            field=models.TextField(
 | 
				
			||||||
 | 
					                null=True, blank=True
 | 
				
			||||||
 | 
					            )  # Temporary change to force new ALTER COLUMN operation in the next migration
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user