SocialTags table
The SocialTags table in the FitStack - V2 schema has 4 columns, keyed by Id, with 2 foreign keys to Users and SocialPlatforms. 2 columns in UserSocialTags and GymSocialTags reference it.
DESIGN ONLY. Generic social link, attachable to a user, gym or coach.
Columns (4)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| UserId | text | references Users.Id | |
| PlatformId | uuid | not null, references SocialPlatforms.Id | |
| Link | text | Domain must be covered by SocialPlatforms.Domains. |
Relationships
SocialTags.UserIdreferencesUsers.IdSocialTags.PlatformIdreferencesSocialPlatforms.IdUserSocialTags.SocialTagIdreferencesSocialTagsGymSocialTags.SocialTagIdreferencesSocialTags