StackItems table

The StackItems table in the Shipfolio schema has 11 columns, keyed by Id, with 3 foreign keys to Listings and Tools.

Columns (11)

Columns of the StackItems table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
ToolIduuidnot null, references Tools.Id
Categoryvarchar(50)not null
Notevarchar(280)
MonthlyCostCentsbigint
MonthlyCostCurrencyvarchar(3)
Positionintegernot null
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
HostedOnToolIduuidreferences Tools.Id

Indexes (3)

  • (HostedOnToolId) (IX_StackItems_HostedOnToolId)
  • (ListingId, ToolId) unique (IX_StackItems_ListingId_ToolId)
  • (ToolId) (IX_StackItems_ToolId)

Relationships