BufferConnections table
The BufferConnections table in the Shipfolio schema has 18 columns, keyed by Id, with 2 foreign keys to Listings and AspNetUsers.
Columns (18)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| BufferAccountId | varchar(64) | not null | |
| AccountName | varchar(200) | not null | |
| ProtectedAccessToken | varchar(4096) | not null | |
| ProtectedRefreshToken | varchar(4096) | not null | |
| AccessTokenExpiresAt | timestamptz | not null | |
| Status | varchar(50) | not null | |
| FailingSince | timestamptz | ||
| AlertSentAt | timestamptz | ||
| LastError | varchar(300) | ||
| ChannelsReadAt | timestamptz | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Channels | jsonb | ||
| ConnectedById | uuid | references AspNetUsers.Id | |
| ChannelIds | text[] | not null | |
| ShowProfiles | boolean | not null |
Indexes (2)
(ConnectedById)(IX_BufferConnections_ConnectedById)(ListingId)unique (IX_BufferConnections_ListingId)
Relationships
BufferConnections.ListingIdreferencesListings.IdBufferConnections.ConnectedByIdreferencesAspNetUsers.Id