feat: add client release size bytes

This commit is contained in:
QiuSW
2026-07-13 17:04:59 +08:00
parent 8878769ec5
commit b71564e2bf
13 changed files with 96 additions and 15 deletions
@@ -0,0 +1,25 @@
# Generated by Django 5.2.15 on 2026-07-13
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("portal", "0003_importtemplate"),
]
operations = [
migrations.AddField(
model_name="downloadrelease",
name="size_bytes",
field=models.PositiveBigIntegerField(
blank=True,
help_text="客户端下载文件大小,单位字节;桌面端用于下载后校验。",
null=True,
validators=[django.core.validators.MinValueValidator(1)],
verbose_name="文件大小字节数",
),
),
]