Increase max length of version column

This commit is contained in:
Patrick Schneeweis 2020-07-23 21:21:58 -04:00
parent 2fcb2626fd
commit bd8eb94a6e

View File

@ -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: