yf_yzl 2 年 前
コミット
b106968061
1 ファイル変更1 行追加1 行削除
  1. 1 1
      smartfarming/models/ascend.py

+ 1 - 1
smartfarming/models/ascend.py

@@ -72,7 +72,7 @@ class MongoAscendCode(models.Model):
 class MongoPlantInfo(models.Model):
     id = models.AutoField(primary_key=True)
     # 此处预留追溯码
-    batch = models.CharField(u'图片', max_length=64, blank=True, null=True)
+    batch = models.CharField(u'图片', max_length=128, blank=True, null=True)
     planttype = models.CharField(u'品种', max_length=20, blank=True, null=True)
     plantname = models.CharField(u'作物名称', max_length=20, blank=True, null=True)
     pickcode = models.CharField(u'显示颜色', max_length=20, default='0')  # 0未采收  1已采收