Skip to content

Commit

Permalink
Update customer_code field length in AlertCreationSettings model
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Mar 29, 2024
1 parent 3592764 commit 9e5fc50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class EventOrder(SQLModel, table=True):
class AlertCreationSettings(SQLModel, table=True):
__tablename__ = "custom_alert_creation_settings"
id: Optional[int] = Field(primary_key=True)
customer_code: str = Field(max_length=11, nullable=False)
customer_code: str = Field(max_length=50, nullable=False)
customer_name: str = Field(max_length=50, nullable=False)
excluded_wazuh_rules: Optional[str] = Field(max_length=1024)
excluded_suricata_rules: Optional[str] = Field(max_length=1024)
Expand Down

0 comments on commit 9e5fc50

Please sign in to comment.