feat: increase character limit for who_processed and capture_user fields in InvoiceHeader to 100
This commit is contained in:
@@ -124,10 +124,10 @@ class InvoiceHeader(Base, TenantScopedMixin, TimestampMixin):
|
||||
TIMESTAMP(timezone=False)
|
||||
) # FECHAACTUALIZACION / FECHAACTUAL
|
||||
who_processed: Mapped[Optional[str]] = mapped_column(
|
||||
String(20)
|
||||
String(100)
|
||||
) # USUARIOACT / Quien actualizó
|
||||
capture_user: Mapped[Optional[str]] = mapped_column(
|
||||
String(20)
|
||||
String(100)
|
||||
) # USUARIOCAP / Usuario que capturó
|
||||
|
||||
traffic_light_status: Mapped[Optional[str]] = mapped_column(
|
||||
|
||||
@@ -73,8 +73,8 @@ class InvoiceHeaderBase(BaseModel):
|
||||
return InvoiceStatus.PROCESSED.value
|
||||
return v
|
||||
processed_date: Optional[datetime] = Field(None, description="Update date")
|
||||
who_processed: Optional[str] = Field(None, max_length=20, description="Who processed")
|
||||
capture_user: Optional[str] = Field(None, max_length=20, description="Capture user")
|
||||
who_processed: Optional[str] = Field(None, max_length=100, description="Who processed")
|
||||
capture_user: Optional[str] = Field(None, max_length=100, description="Capture user")
|
||||
traffic_light_status: Optional[str] = Field(
|
||||
None, max_length=50, description="Traffic light status"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user