aerich/aerich/models.py
2020-05-21 21:22:06 +08:00

10 lines
190 B
Python

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