ShipLogDrafts table

The ShipLogDrafts table in the Shipfolio schema has 17 columns, keyed by Id, with 2 foreign keys to Listings and ShipLogEntries.

Columns (17)

Columns of the ShipLogDrafts table
ColumnTypeConstraintsDescription
Iduuidprimary key
ListingIduuidnot null, references Listings.Id
SourceKeyvarchar(100)not null
Kindvarchar(50)not null
Statusvarchar(50)not null
ShippedOndatenot null
Titlevarchar(140)not null
Bodyvarchar(4000)
SourceUrlvarchar(500)
SourceLabelvarchar(140)
SourcePublicbooleannot null
SourceHashvarchar(64)
ShipLogEntryIduuidreferences ShipLogEntries.Id
PublishedAttimestamptz
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
ShippedAttimestamptz

Indexes (3)

  • (ListingId, SourceKey) unique (IX_ShipLogDrafts_ListingId_SourceKey)
  • (ListingId, Status) (IX_ShipLogDrafts_ListingId_Status)
  • (ShipLogEntryId) (IX_ShipLogDrafts_ShipLogEntryId)

Relationships