diff --git a/aerich/models.py b/aerich/models.py index 1e0514f..baba77f 100644 --- a/aerich/models.py +++ b/aerich/models.py @@ -3,11 +3,12 @@ from tortoise import Model, fields from aerich.coder import decoder, encoder MAX_VERSION_LENGTH = 255 +MAX_APP_LENGTH = 100 class Aerich(Model): version = fields.CharField(max_length=MAX_VERSION_LENGTH) - app = fields.CharField(max_length=20) + app = fields.CharField(max_length=MAX_APP_LENGTH) content = fields.JSONField(encoder=encoder, decoder=decoder) class Meta: