enrich user-project interaction statistics
This commit is contained in:
@@ -69,10 +69,10 @@ class ProjectShare(Base, AutoID):
|
||||
share_target = Column(String, default="internal", nullable=False)
|
||||
|
||||
# 如果是转发到特定工作区,可以记录目标工作区 ID
|
||||
target_workspace_id = Column(
|
||||
String(Workspace.id_length()),
|
||||
ForeignKey("workspaces.id", ondelete="SET NULL"),
|
||||
nullable=True
|
||||
)
|
||||
# target_workspace_id = Column(
|
||||
# String(Workspace.id_length()),
|
||||
# ForeignKey("workspaces.id", ondelete="SET NULL"),
|
||||
# nullable=True
|
||||
# )
|
||||
|
||||
created_at = Column(DateTime(timezone=True), server_default=func.now())
|
||||
Reference in New Issue
Block a user