Use PositiveIntegerField

This commit is contained in:
shamoon
2026-01-26 10:38:57 -08:00
parent 978906a3aa
commit 4f0882c344
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class Migration(migrations.Migration):
), ),
( (
"size_bytes", "size_bytes",
models.BigIntegerField( models.PositiveIntegerField(
blank=True, blank=True,
null=True, null=True,
verbose_name="size (bytes)", verbose_name="size (bytes)",

View File

@@ -812,7 +812,7 @@ class ShareLinkBundle(SoftDeleteModel):
default=Status.PENDING, default=Status.PENDING,
) )
size_bytes = models.BigIntegerField( size_bytes = models.PositiveIntegerField(
_("size (bytes)"), _("size (bytes)"),
blank=True, blank=True,
null=True, null=True,