mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Small change to uuid should trigger migrations
This commit is contained in:
parent
dde8657612
commit
7e149f817c
@ -15,6 +15,7 @@ before_install:
|
||||
script:
|
||||
- make coverage
|
||||
- make style
|
||||
- git ls-files --exclude-standard --others
|
||||
|
||||
after_success:
|
||||
- coveralls
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user