feat(api): initialize memoir chapter image assets on creation
Made-with: Cursor
This commit is contained in:
@@ -90,7 +90,7 @@ class Chapter(Base):
|
||||
content = Column(Text, nullable=False)
|
||||
order_index = Column(Integer, nullable=False)
|
||||
status = Column(String, default="draft") # draft, completed
|
||||
images = Column(JSON, nullable=True) # 图片 URL 列表
|
||||
images = Column(JSON, nullable=True) # 图片元数据对象列表
|
||||
updated_at = Column(DateTime(timezone=True), default=utc_now, onupdate=utc_now)
|
||||
category = Column(String, nullable=True) # 章节分类
|
||||
is_new = Column(Boolean, default=True) # 是否为新内容(未读)
|
||||
|
||||
Reference in New Issue
Block a user