From 60bc1e743dcfbefab9571ed22c9582e7934cdcc9 Mon Sep 17 00:00:00 2001 From: lyzqs <34978855+lyzqs@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:45:49 +0800 Subject: [PATCH] fix: rollback database model field default value (#1499) --- apiserver/paasng/paasng/platform/templates/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/paasng/paasng/platform/templates/models.py b/apiserver/paasng/paasng/platform/templates/models.py index 80d9b6ddd2..da870f398d 100644 --- a/apiserver/paasng/paasng/platform/templates/models.py +++ b/apiserver/paasng/paasng/platform/templates/models.py @@ -45,7 +45,7 @@ class Template(AuditedModel): language = models.CharField(verbose_name=_("开发语言"), max_length=32) market_ready = models.BooleanField(verbose_name=_("能否发布到应用集市"), default=False) preset_services_config = models.JSONField(verbose_name=_("预设增强服务配置"), blank=True, default=dict) - blob_url = models.JSONField(verbose_name=_("不同版本二进制包存储路径"), default={}) + blob_url = models.JSONField(verbose_name=_("不同版本二进制包存储路径")) enabled_regions = models.JSONField(verbose_name=_("允许被使用的版本"), blank=True, default=list) required_buildpacks = models.JSONField(verbose_name=_("必须的构建工具"), blank=True, default=list) processes = models.JSONField(verbose_name=_("进程配置"), blank=True, default=dict)