From 087efa379cb2960978bd654bd337c2a5c6fa2ee1 Mon Sep 17 00:00:00 2001 From: wouerner Date: Wed, 23 Oct 2024 11:29:21 -0300 Subject: [PATCH] fixup --- app/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"))