Barcodes table

The Barcodes table in the FitStack - V2 schema has 11 columns, keyed by Id, with 1 foreign key to Products.

Columns (11)

Columns of the Barcodes table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
ProductIduuidreferences Products.Id
Codecharacter varying(50)not null
Typecharacter varying(20)not null`BarcodeType` as TEXT.
IsPrimarybooleannot null
Sourcecharacter varying(100)
Confidencenumeric(18,4)
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (2)

  • (Code, Type) (IX_Barcodes_Code_Type)
  • (ProductId) (IX_Barcodes_ProductId)

Relationships