diff --git a/app/models.py b/app/models.py index 0b9c3af..47a33b9 100644 --- a/app/models.py +++ b/app/models.py @@ -20,7 +20,7 @@ class Item(Base): id = Column(Integer, primary_key=True) title = Column(String(255), index=True) - description = Column(Text(300), index=True) + description = Column(String(300), index=True) owner_id = Column(Integer, ForeignKey("users.id")) @@ -42,7 +42,7 @@ class Volunteer(Base): id = Column(Integer, primary_key=True) name = Column(String(45), index=True) - linkedin = Column(String(3072), index=True) + linkedin = Column(String(3000), index=True) email = Column(String(255), index=True) is_active = Column(Boolean, default=True) jobtitle_id = Column(Integer, ForeignKey("jobtitle.id"))