UserInterestVectors table
The UserInterestVectors table in the FitStack - V2 schema has 12 columns, keyed by UserId. 1 column in Users references it.
A learned taste profile per user, one vector per content domain.
Columns (12)
| Column | Type | Constraints | Description |
|---|---|---|---|
| UserId | text | primary key, not null | PK AND FK. CASCADE. |
| FeedVector | vector(768) | ||
| WorkoutVector | vector(768) | ||
| MealVector | vector(768) | ||
| ExerciseVector | vector(768) | ||
| LastSignalAt | timestamp with time zone | ||
| ComputedAt | timestamp with time zone | not null | |
| ModelVersion | text | not null | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
Users.IdreferencesUserInterestVectors