обновление бизнес логики
This commit is contained in:
@@ -40,7 +40,7 @@ class Channel(models.Model):
|
||||
|
||||
class SensorType(models.Model):
|
||||
"""Тип датчика: GA, PE, GLE"""
|
||||
code = models.CharField(max_length=10, unique=True) # GA, PE, GLE
|
||||
code = models.CharField(max_length=255, unique=True) # GA, PE, GLE
|
||||
name = models.CharField(max_length=100)
|
||||
description = models.TextField(blank=True, null=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
Reference in New Issue
Block a user