InstacartOrderRequests table

The InstacartOrderRequests table in the FitStack - V2 schema has 14 columns, keyed by Id, with 3 foreign keys to Users, MealLogs and MealPlans.

Columns (14)

Columns of the InstacartOrderRequests table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextnot null, references Users.Id
MealLogIduuidreferences MealLogs.Id
MealPlanIduuidreferences MealPlans.Id
SourceTypecharacter varying(32)not null`InstacartOrderSource` as TEXT.
RangeStartDatedate
RangeEndDatedate
LineItemsHashtextnot null
LineItemsSnapshotJsontextnot null
ProductsLinkUrltextnot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships

  • InstacartOrderRequests.UserId references Users.Id
  • InstacartOrderRequests.MealLogId references MealLogs.Id
  • InstacartOrderRequests.MealPlanId references MealPlans.Id