From bd8eb94a6e568bbd5b5b269ac1396c5d620e65de Mon Sep 17 00:00:00 2001 From: Patrick Schneeweis Date: Thu, 23 Jul 2020 21:21:58 -0400 Subject: [PATCH] Increase max length of version column --- aerich/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aerich/models.py b/aerich/models.py index 27e9474..8589d6d 100644 --- a/aerich/models.py +++ b/aerich/models.py @@ -1,8 +1,10 @@ from tortoise import Model, fields +MAX_VERSION_LENGTH = 255 + class Aerich(Model): - version = fields.CharField(max_length=50) + version = fields.CharField(max_length=MAX_VERSION_LENGTH) app = fields.CharField(max_length=20) class Meta: