DiscordSupporterGrants table
The DiscordSupporterGrants table in the Shipfolio schema has 5 columns, keyed by Id, with 1 foreign key to SocialConnections.
Columns (5)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ConnectionId | uuid | not null, references SocialConnections.Id | |
| DiscordUserId | varchar(32) | not null | |
| RoleId | varchar(32) | not null | |
| GrantedAt | timestamptz | not null |
Indexes (1)
(ConnectionId, DiscordUserId)unique (IX_DiscordSupporterGrants_ConnectionId_DiscordUserId)
Relationships
DiscordSupporterGrants.ConnectionIdreferencesSocialConnections.Id