Browse Source

change video title length

tomoya 1 năm trước cách đây
mục cha
commit
5763d9c0a6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      backend/app/app/models/video.py

+ 1 - 1
backend/app/app/models/video.py

@@ -12,7 +12,7 @@ if TYPE_CHECKING:
 
 class Video(Base):
   id = Column(Integer, primary_key=True, index=True)
-  title = Column(String(20), index=True, nullable=False)
+  title = Column(String(40), index=True, nullable=False)
   stored_filename = Column(String(30), unique=True, nullable=False)
   progress_state = Column(String(10), 
                     ForeignKey("progress.state", ondelete="RESTRICT", onupdate="CASCADE"),