realm_export: Change tarball_size_bytes to PositiveBigIntegerField.

This commit updates `tarball_size_bytes` field from
`PositiveIntegerField` to `PositiveBigIntegerField` to support
larger values.
This commit is contained in:
Prakhar Pratyush 2024-11-14 10:38:19 +05:30 committed by Tim Abbott
parent dccf39a245
commit 6820cbb980
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 5.0.9 on 2024-11-14 05:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("zerver", "0623_merge_20241030_1835"),
]
operations = [
migrations.AlterField(
model_name="realmexport",
name="tarball_size_bytes",
field=models.PositiveBigIntegerField(default=None, null=True),
),
]

View File

@ -1368,5 +1368,5 @@ class RealmExport(models.Model):
acting_user = models.ForeignKey("UserProfile", null=True, on_delete=models.SET_NULL) acting_user = models.ForeignKey("UserProfile", null=True, on_delete=models.SET_NULL)
export_path = models.TextField(default=None, null=True) export_path = models.TextField(default=None, null=True)
sha256sum_hex = models.CharField(default=None, null=True, max_length=64) sha256sum_hex = models.CharField(default=None, null=True, max_length=64)
tarball_size_bytes = models.PositiveIntegerField(default=None, null=True) tarball_size_bytes = models.PositiveBigIntegerField(default=None, null=True)
stats = models.JSONField(default=None, null=True) stats = models.JSONField(default=None, null=True)