mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
Fix nullable attribute for description column in Video model
This commit is contained in:
@@ -10,8 +10,7 @@ class Video(Base):
|
|||||||
|
|
||||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||||
title: str = Column(String, nullable=False)
|
title: str = Column(String, nullable=False)
|
||||||
description: str = Column(String, nullable=F
|
description: str = Column(String, nullable=False)
|
||||||
alse)
|
|
||||||
script: str = Column(String, nullable=False)
|
script: str = Column(String, nullable=False)
|
||||||
timed_script: dict = Column(MutableList.as_mutable(JSON), nullable=False)
|
timed_script: dict = Column(MutableList.as_mutable(JSON), nullable=False)
|
||||||
timestamp: datetime = Column(DateTime, nullable=False, default=datetime.now())
|
timestamp: datetime = Column(DateTime, nullable=False, default=datetime.now())
|
||||||
|
|||||||
Reference in New Issue
Block a user