ListingFeatures table
The ListingFeatures table in the Shipfolio schema has 6 columns, keyed by Id, with 2 foreign keys to Listings and Features.
Columns (6)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| ListingId | uuid | not null, references Listings.Id | |
| FeatureId | uuid | not null, references Features.Id | |
| Has | boolean | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null |
Indexes (2)
(FeatureId)(IX_ListingFeatures_FeatureId)(ListingId, FeatureId)unique (IX_ListingFeatures_ListingId_FeatureId)
Relationships
ListingFeatures.ListingIdreferencesListings.IdListingFeatures.FeatureIdreferencesFeatures.Id