Brands table
The Brands table in the FitStack - V2 schema has 10 columns, keyed by Id, with 1 foreign key to Media.
The maker of an Equipment Entry. Glossary: Brand; avoid Manufacturer.
Columns (10)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| Name | character varying(200) | not null | |
| Slug | character varying(200) | not null | |
| LogoMediaId | uuid | references Media.Id | |
| WebsiteUrl | text | ||
| IsVerified | boolean | not null | Gym-proposed Brands start unverified; admins verify or merge. |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(Slug)unique (IX_Brands_Slug)
Relationships
Brands.LogoMediaIdreferencesMedia.Id