Skip to content

Commit

Permalink
Use PositiveBigIntegerField for node memory field
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Jan 18, 2024
1 parent 6872ecf commit 5df2ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Migration(migrations.Migration):
("name", models.CharField(max_length=64)),
("system_uuid", models.UUIDField()),
("cpu", models.PositiveIntegerField()),
("memory", models.PositiveIntegerField()),
("memory", models.PositiveBigIntegerField()),
(
"capacity_type",
models.CharField(
Expand Down
2 changes: 1 addition & 1 deletion analytics/analytics/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Node(models.Model):
name = models.CharField(max_length=64)
system_uuid = models.UUIDField()
cpu = models.PositiveIntegerField()
memory = models.PositiveIntegerField()
memory = models.PositiveBigIntegerField()
capacity_type = models.CharField(max_length=12, choices=NodeCapacityType.choices)
instance_type = models.CharField(max_length=32)

Expand Down

0 comments on commit 5df2ea8

Please sign in to comment.