Skip to content

Commit 6472524

Browse files
authored
fix: desc (keephq#1383)
1 parent 103e7c0 commit 6472524

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keep/api/models/db/alert.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from sqlalchemy.dialects.mysql import DATETIME as MySQL_DATETIME
1111
from sqlalchemy.engine.url import make_url
1212
from sqlalchemy_utils import UUIDType
13-
from sqlmodel import JSON, Column, DateTime, Field, Index, Relationship, SQLModel
13+
from sqlmodel import JSON, TEXT, Column, DateTime, Field, Index, Relationship, SQLModel
1414

1515
from keep.api.consts import RUNNING_IN_CLOUD_RUN
1616
from keep.api.core.config import config
@@ -170,7 +170,7 @@ class AlertAudit(SQLModel, table=True):
170170
user_id: str = Field(nullable=False)
171171
# what
172172
action: str = Field(nullable=False)
173-
description: str
173+
description: str = Field(sa_column=Column(TEXT))
174174

175175
__table_args__ = (
176176
Index("ix_alert_audit_tenant_id", "tenant_id"),

0 commit comments

Comments
 (0)