feat(P7.1): remove task_type='task' — migrate to issue/defect, update defaults and DB migration
This commit is contained in:
@@ -28,7 +28,7 @@ class Task(Base):
|
||||
task_code = Column(String(64), nullable=True, unique=True, index=True)
|
||||
|
||||
# Task type/subtype (replaces old issue_type/issue_subtype)
|
||||
task_type = Column(String(32), default="task")
|
||||
task_type = Column(String(32), default="issue") # P7.1: default changed from 'task' to 'issue'
|
||||
task_subtype = Column(String(64), nullable=True)
|
||||
|
||||
project_id = Column(Integer, ForeignKey("projects.id"), nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user