DiscordAnnouncements table
The DiscordAnnouncements table in the Shipfolio schema has 16 columns, keyed by Id, with 1 foreign key to SocialConnections.
Columns (16)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ConnectionId | uuid | not null, references SocialConnections.Id | |
| Kind | varchar(50) | not null | |
| Key | varchar(100) | not null | |
| Title | varchar(256) | not null | |
| Body | varchar(1000) | ||
| Path | varchar(300) | not null | |
| CreatedAt | timestamptz | not null | |
| PostedAt | timestamptz | ||
| Attempts | integer | not null | |
| LastError | varchar(300) | ||
| ButtonLabel | varchar(80) | ||
| ButtonPath | varchar(300) | ||
| Fields | jsonb | ||
| Metric | bigint | ||
| SubjectId | uuid |
Indexes (2)
(ConnectionId, Key)unique (IX_DiscordAnnouncements_ConnectionId_Key)(PostedAt, CreatedAt)(IX_DiscordAnnouncements_PostedAt_CreatedAt)
Relationships
DiscordAnnouncements.ConnectionIdreferencesSocialConnections.Id