Listings table

The Listings table in the Shipfolio schema has 57 columns, keyed by Id, with 2 foreign keys to AspNetUsers and Companies. 105 columns in AcquisitionMatches, AgentDemands, AlternativeVotes, ArticleEmbeds and 101 more reference it.

Columns (57)

Columns of the Listings table
ColumnTypeConstraintsDescription
Iduuidprimary key
OwnerIduuidnot null, references AspNetUsers.Id
Slugvarchar(80)not null
Namevarchar(80)not null
Taglinevarchar(80)not null
ProblemStatementvarchar(600)
Descriptionvarchar(10000)
PricingModelvarchar(50)
PriceFromCentsbigint
PriceCurrencyvarchar(3)
LaunchDatedate
CustomerCountinteger
WebsiteUrlvarchar(2048)
GitHubRepovarchar(200)
GitHubStarsinteger
GitHubStarsSyncedAttimestamptz
XUrlvarchar(2048)
LinkedInUrlvarchar(2048)
DemoMediaUrlvarchar(2048)
LogoUrlvarchar(2048)
NicheTagstext[]not null
AudienceTagstext[]not null
AlternativeTotext[]not null
Statusvarchar(50)not null
Visibilityvarchar(50)not null
RankScoredouble precisionnot null
RevenueRankScoredouble precisionnot null
PublishedAttimestamptz
CreatedAttimestamptznot null
UpdatedAttimestamptznot null
ShowDownloadsbooleannot null
ShowStoreRevenuebooleannot null
ShowTrafficbooleannot null
CompanyIduuidreferences Companies.Id
RatingAveragedouble precision
ReviewCountintegernot null
Domainvarchar(253)
DomainTokenvarchar(64)
DomainVerifiedAttimestamptz
CopyAttemptedAttimestamptz
CopyWrittenAttimestamptz
PreviousSlugstext[]not null
DomainCheckStartedAttimestamptz
Pressjsonb
LogoSearchedAttimestamptz
FeaturesAttemptsintegernot null
FeaturesCheckedAttimestamptz
DomainRankinteger
FeatureOnSocialbooleannot null
SocialProfilesjsonb
BadgeOfferDismissedAttimestamptz
BadgeOfferedAttimestamptz
ShowSearchbooleannot null
MetricsVisibilityChosenAttimestamptz
RatingCountintegernot null
UpvoteCountintegernot null
ScreenshotTriedAttimestamptz

Indexes (8)

  • (AlternativeTo) (IX_Listings_AlternativeTo)
  • (CompanyId) (IX_Listings_CompanyId)
  • (CreatedAt) (IX_Listings_CreatedAt)
  • (NicheTags) (IX_Listings_NicheTags)
  • (OwnerId) (IX_Listings_OwnerId)
  • (PreviousSlugs) (IX_Listings_PreviousSlugs)
  • (Slug) unique (IX_Listings_Slug)
  • (Status, Visibility, RankScore) (IX_Listings_Status_Visibility_RankScore)

Relationships