ShipLogEntries table
The ShipLogEntries table in the Shipfolio schema has 17 columns, keyed by Id, with 1 foreign key to Listings. 1 column in ShipLogDrafts references it.
Columns (17)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| ShippedOn | date | not null | |
| Title | varchar(140) | not null | |
| Body | varchar(4000) | ||
| MrrBeforeCents | bigint | ||
| MrrAfterCents | bigint | ||
| Currency | varchar(3) | ||
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| Origin | varchar(50) | not null | |
| SourceLabel | varchar(140) | ||
| SourcePublic | boolean | not null | |
| SourceUrl | varchar(500) | ||
| Areas | text[] | not null | |
| AreasTaggedAt | timestamptz | ||
| ShippedAt | timestamptz |
Indexes (2)
(ListingId, ShippedOn)(IX_ShipLogEntries_ListingId_ShippedOn)(ShippedOn, CreatedAt)(IX_ShipLogEntries_ShippedOn_CreatedAt)
Relationships
ShipLogEntries.ListingIdreferencesListings.IdShipLogDrafts.ShipLogEntryIdreferencesShipLogEntries