Small change to uuid should trigger migrations

This commit is contained in:
Oliver Walters committed 2019-05-02 00:41:29 +10:00
1 parent dde8657612
commit 7e149f817c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ class StockItem(models.Model):
]
# UUID for generating QR codes
uuid = models.UUIDField(default=uuid.uuid4, blank=True, editable=False)
uuid = models.UUIDField(default=uuid.uuid4, blank=True, editable=False, help_text='Unique ID for the StockItem')
# The 'master' copy of the part of which this stock item is an instance
part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations')