GitHubProfiles table
The GitHubProfiles table in the Shipfolio schema has 21 columns, keyed by Id, with 1 foreign key to AspNetUsers.
Columns (21)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| GitHubId | bigint | not null | |
| Login | varchar(39) | not null | |
| Proof | varchar(50) | not null | |
| ConnectedAt | timestamptz | not null | |
| AccountCreatedAt | timestamptz | ||
| Followers | integer | not null | |
| PublicRepos | integer | not null | |
| ContributionsLastYear | integer | ||
| RefreshedAt | timestamptz | ||
| RefreshAttemptedAt | timestamptz | ||
| RefreshError | varchar(300) | ||
| ShowLanguages | boolean | not null | |
| ShowRepos | boolean | not null | |
| ShowContributions | boolean | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Languages | jsonb | ||
| Repos | jsonb | ||
| PrivateContributionsLastYear | integer |
Indexes (3)
(GitHubId)unique (IX_GitHubProfiles_GitHubId)(RefreshedAt)(IX_GitHubProfiles_RefreshedAt)(UserId)unique (IX_GitHubProfiles_UserId)
Relationships
GitHubProfiles.UserIdreferencesAspNetUsers.Id