refactor: replace issues backend with milestone tasks
This commit is contained in:
@@ -7,8 +7,8 @@ class ActivityLog(Base):
|
||||
__tablename__ = "activity_logs"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
action = Column(String(50), nullable=False) # e.g. "issue.created", "comment.added"
|
||||
entity_type = Column(String(50), nullable=False) # "issue", "project", "comment"
|
||||
action = Column(String(50), nullable=False) # e.g. "task.created", "comment.added"
|
||||
entity_type = Column(String(50), nullable=False) # "task", "project", "comment"
|
||||
entity_id = Column(Integer, nullable=False)
|
||||
user_id = Column(Integer, ForeignKey("users.id"), nullable=True)
|
||||
details = Column(Text, nullable=True) # JSON string
|
||||
|
||||
Reference in New Issue
Block a user