2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 03:26:45 +00:00

Fix for link length migration (#9249)

- Found some fields which had not been migrated correctly
This commit is contained in:
Oliver 2025-03-06 16:24:54 +11:00 committed by GitHub
parent 8e753b3797
commit 2e91dc202b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -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
),
]

View File

@ -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
),
]