perf: 打算压缩 migratons

This commit is contained in:
ibuler
2024-05-09 11:01:01 +08:00
parent 259204bfe2
commit a9068496d9
6 changed files with 27 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ class Domain(LabeledMixin, JMSOrgBaseModel):
name = models.CharField(max_length=128, verbose_name=_('Name'))
class Meta:
verbose_name = _("Domain")
verbose_name = _("Zone")
unique_together = [('org_id', 'name')]
ordering = ('name',)