SavedSearches table
The SavedSearches table in the Shipfolio schema has 13 columns, keyed by Id, with 2 foreign keys to AspNetUsers and Companies.
Columns (13)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key | |
| UserId | uuid | not null, references AspNetUsers.Id | |
| Name | varchar(80) | not null | |
| NicheTags | text[] | not null | |
| MinMrrCents | bigint | ||
| MaxMrrCents | bigint | ||
| ToolSlugs | text[] | not null | |
| PricingModels | varchar(50)[] | not null | |
| AcquisitionOpenOnly | boolean | not null | |
| AlertsEnabled | boolean | not null | |
| CreatedAt | timestamptz | not null | |
| UpdatedAt | timestamptz | not null | |
| FirmId | uuid | references Companies.Id |
Indexes (2)
(FirmId)(IX_SavedSearches_FirmId)(UserId)(IX_SavedSearches_UserId)
Relationships
SavedSearches.UserIdreferencesAspNetUsers.IdSavedSearches.FirmIdreferencesCompanies.Id