StripeTerminalReaders table

The StripeTerminalReaders table in the FitStack - V2 schema has 9 columns, keyed by Id, with 1 foreign key to Gyms. 1 column in Orders references it.

Columns (9)

Columns of the StripeTerminalReaders table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
GymIduuidnot null, references Gyms.Id
StripeReaderIdtextnot nulltmr_… on the Company's connected account.
Labelcharacter varying(100)not null
Statustextnot null`TerminalReaderStatus`.
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (2)

  • (StripeReaderId) unique (IX_StripeTerminalReaders_StripeReaderId)
  • (GymId) (IX_StripeTerminalReaders_GymId)

Relationships