Files
aerich/aerich/models.py
2020-07-23 21:21:58 -04:00

12 lines
232 B
Python

from tortoise import Model, fields
MAX_VERSION_LENGTH = 255
class Aerich(Model):
version = fields.CharField(max_length=MAX_VERSION_LENGTH)
app = fields.CharField(max_length=20)
class Meta:
ordering = ["-id"]