Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.82 KB

File metadata and controls

40 lines (29 loc) · 1.82 KB

SavedSearchNotificationEvents

Description

Columns

Name Type Default Nullable Children Parents Comment
EventId STRING(36) false
SavedSearchId STRING(36) false SavedSearchState
SnapshotType STRING(MAX) false SavedSearchState
Timestamp TIMESTAMP (allow_commit_timestamp=TRUE) false
EventType STRING(MAX) false
BlobPath STRING(MAX) false
Summary JSON true
DiffBlobPath STRING(MAX) true
Reasons ARRAY<STRING(MAX)> true

Constraints

Name Type Definition
PRIMARY_KEY PRIMARY_KEY PRIMARY KEY(EventId)
FK_Events_State FOREIGN KEY FOREIGN KEY (SavedSearchId, SavedSearchId, SnapshotType, SnapshotType) REFERENCES SavedSearchState (SavedSearchId, SnapshotType, SavedSearchId, SnapshotType) ON DELETE CASCADE

Indexes

Name Definition
SavedSearchNotificationEvents_BySearchAndType CREATE INDEX SavedSearchNotificationEvents_BySearchAndType ON SavedSearchNotificationEvents (SavedSearchId, EventType, Timestamp)
SavedSearchNotificationEvents_BySearchAndSnapshotType CREATE INDEX SavedSearchNotificationEvents_BySearchAndSnapshotType ON SavedSearchNotificationEvents (SavedSearchId, SnapshotType, Timestamp)
IDX_SavedSearchNotificationEvents_SavedSearchId_SnapshotType_DA904570C69F9709 CREATE INDEX IDX_SavedSearchNotificationEvents_SavedSearchId_SnapshotType_DA904570C69F9709 ON SavedSearchNotificationEvents (SavedSearchId, SnapshotType)

Relations

er


Generated by tbls