Skip to content

Commit

Permalink
fix: desc (keephq#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl authored Jul 17, 2024
1 parent 103e7c0 commit 6472524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keep/api/models/db/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from sqlalchemy.dialects.mysql import DATETIME as MySQL_DATETIME
from sqlalchemy.engine.url import make_url
from sqlalchemy_utils import UUIDType
from sqlmodel import JSON, Column, DateTime, Field, Index, Relationship, SQLModel
from sqlmodel import JSON, TEXT, Column, DateTime, Field, Index, Relationship, SQLModel

from keep.api.consts import RUNNING_IN_CLOUD_RUN
from keep.api.core.config import config
Expand Down Expand Up @@ -170,7 +170,7 @@ class AlertAudit(SQLModel, table=True):
user_id: str = Field(nullable=False)
# what
action: str = Field(nullable=False)
description: str
description: str = Field(sa_column=Column(TEXT))

__table_args__ = (
Index("ix_alert_audit_tenant_id", "tenant_id"),
Expand Down

0 comments on commit 6472524

Please sign in to comment.