PlanSaves table

The PlanSaves table in the FitStack - V2 schema has 10 columns, keyed by Id, with 2 foreign keys to Users.

Columns (10)

Columns of the PlanSaves table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextnot null, references Users.Id
SellerUserIdtextnot null, references Users.Id
PlanTypeintegernot null
PlanIduuidnot null
SavedAttimestamp with time zonenot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (UserId, PlanType, PlanId) unique (IX_PlanSaves_UserId_PlanType_PlanId)

Relationships