demo seed change 2
This commit is contained in:
@@ -50,7 +50,7 @@ class MeasurementUnit(enum.Enum):
|
||||
class ProductionPriority(enum.Enum):
|
||||
"""Production batch priority levels"""
|
||||
LOW = "low"
|
||||
NORMAL = "normal"
|
||||
MEDIUM = "medium"
|
||||
HIGH = "high"
|
||||
URGENT = "urgent"
|
||||
|
||||
@@ -284,7 +284,7 @@ class ProductionBatch(Base):
|
||||
|
||||
# Production details
|
||||
status = Column(SQLEnum(ProductionStatus), nullable=False, default=ProductionStatus.PLANNED, index=True)
|
||||
priority = Column(SQLEnum(ProductionPriority), nullable=False, default=ProductionPriority.NORMAL)
|
||||
priority = Column(SQLEnum(ProductionPriority), nullable=False, default=ProductionPriority.MEDIUM)
|
||||
assigned_staff = Column(JSONB, nullable=True) # List of staff assigned to this batch
|
||||
production_notes = Column(Text, nullable=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user