2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Small change to uuid should trigger migrations

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

View File

@ -15,6 +15,7 @@ before_install:
script: script:
- make coverage - make coverage
- make style - make style
- git ls-files --exclude-standard --others
after_success: after_success:
- coveralls - coveralls

View File

@ -127,7 +127,7 @@ class StockItem(models.Model):
] ]
# UUID for generating QR codes # 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 # 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') part = models.ForeignKey('part.Part', on_delete=models.CASCADE, related_name='locations')