ListingMedia table
The ListingMedia table in the Shipfolio schema has 19 columns, keyed by Id, with 1 foreign key to Listings.
Columns (19)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| Url | varchar(500) | not null | |
| Width | integer | not null | |
| Height | integer | not null | |
| Alt | varchar(160) | not null | |
| Caption | varchar(200) | ||
| Device | varchar(50) | not null | |
| Source | varchar(50) | not null | |
| Position | integer | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| SourceUrl | varchar(1000) | ||
| ContentHash | varchar(64) | ||
| ThumbUrl | text | ||
| ThumbWidth | integer | ||
| WebpUrl | text | ||
| MidUrl | text | ||
| MidWidth | integer |
Indexes (1)
(ListingId, Position)(IX_ListingMedia_ListingId_Position)
Relationships
ListingMedia.ListingIdreferencesListings.Id