<filename>project/app/models/tortoise.py
# project/app/models/tortoise.py

from tortoise import fields, models

class TextSummary(models.Model):
  url         = fields.TextField()
  summary     = fields.TextField()
  created_at  = fields.DatetimeField(auto_now_add=True)

  def __str__(self):
    return self.url

<filename>project/app/models/tortoise.py
# project/app/models/tortoise.py

from tortoise import fields, models

class TextSummary(models.Model):
  url         = fields.TextField()
  summary     = fields.TextField()
  created_at  = fields.DatetimeField(auto_now_add=True)

  def __str__(self):
    return self.url

# project/app/models/tortoise.py