alter to text field

This commit is contained in:
virusdefender
2018-05-01 12:54:27 +08:00
parent 5cb907fa94
commit 3bb3becfcf
15 changed files with 381 additions and 43 deletions

View File

@@ -3,5 +3,5 @@ from utils.models import JSONField
class SysOptions(models.Model):
key = models.CharField(max_length=128, unique=True, db_index=True)
key = models.TextField(unique=True, db_index=True)
value = JSONField()