StackChanges table

The StackChanges table in the Shipfolio schema has 13 columns, keyed by Id, with 6 foreign keys to Listings, Tools, StackChanges and AspNetUsers.

Columns (13)

Columns of the StackChanges table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
ToolIduuidnot null, references Tools.Id
Actionvarchar(50)not null
ReplacedToolIduuidreferences Tools.Id
ReplacementIduuidreferences StackChanges.Id
Categoryvarchar(50)not null
HostedOnToolIduuidreferences Tools.Id
Attimestamptznot null
ActorIduuidreferences AspNetUsers.Id
Sourcevarchar(50)not null
Notevarchar(280)
Backfilledbooleannot null

Indexes (5)

  • (ActorId) (IX_StackChanges_ActorId)
  • (HostedOnToolId) (IX_StackChanges_HostedOnToolId)
  • (ListingId, At) (IX_StackChanges_ListingId_At)
  • (ReplacementId) (IX_StackChanges_ReplacementId)
  • (ToolId, At) (IX_StackChanges_ToolId_At)

Relationships