mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 02:55: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(
|
||||
model_name='build',
|
||||
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(
|
||||
model_name='attachment',
|
||||
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