Skip to content

Commit b677418

Browse files
committed
migrations thing
1 parent f732d1e commit b677418

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__version__

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.2
1+
0.2.3

firmware_uploads/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def higher_version_than(self, semver: semantic_version.Version):
4747

4848

4949
class FirmwareUpload(models.Model):
50-
product = models.ForeignKey(Product, on_delete=models.CASCADE, default=1)
50+
product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True)
5151

5252
major_version = models.IntegerField()
5353
minor_version = models.IntegerField()

0 commit comments

Comments
 (0)