Constraints

554 Foreign Key Constraints

Constraint Name Child Column Parent Column Delete Rule
CustomNotificationContents_NotificationId_fkey
CustomNotifications.NotificationId
Notifications.id
Cascade on delete
JobJobTitles_JobTitleId_fkey
JobJobTitles.JobTitleId
JobTitles.id
Cascade on delete
JobJobTitles_JobId_fkey
JobJobTitles.JobId
Jobs.id
Restrict delete
JobSalaryDrafts_JobDraftId_fkey
JobSalaryDrafts.JobDraftId
JobDrafts.id
Cascade on delete
JobSalaryDrafts_CurrencyCode_fkey
JobSalaryDrafts.CurrencyCode
Currencies.code
Null on delete
Experiences_StudyId_fkey
Experiences.StudyId
Studies.id
Null on delete
Experiences_DegreeId_fkey
Experiences.DegreeId
Degrees.id
Null on delete
Experiences_SchoolId_fkey
Experiences.SchoolId
Schools.id
Null on delete
Experiences_UserId_fkey
Experiences.UserId
Users.id
Null on delete
OdysseyUserRewards_UserId_fkey
OdysseyUserRewards.UserId
Users.id
Cascade on delete
OdysseyUserRewards_RewardId_fkey
OdysseyUserRewards.RewardId
OdysseyRewards.id
Cascade on delete
WhatsappLogs_recipientId_fkey
WhatsappLogs.recipientId
Users.id
Null on delete
TalentBookmarks_TalentId_fkey
TalentBookmarks.TalentId
Users.id
Cascade on delete
TalentBookmarks_UserId_fkey
TalentBookmarks.UserId
Users.id
Cascade on delete
UserMessagingIntroMessages_userId_fkey
UserMessagingIntroMessages.userId
Users.id
Cascade on delete
JobScreeningQuestionLanguages_jobScreeningQuestionId_fkey
JobScreeningQuestionLanguages.jobScreeningQuestionId
JobScreeningQuestions.id
Cascade on delete
JobScreeningQuestionLanguages_languageCode_fkey
JobScreeningQuestionLanguages.languageCode
Languages.code
Cascade on delete
LocationAlternateNames_locationId_fkey
LocationAlternateNames.locationId
Locations.id
Cascade on delete
PendingUserCompanies_CompanyId_fkey
PendingUserCompanies.CompanyId
Companies.id
Restrict delete
PendingUserCompanies_UserId_fkey
PendingUserCompanies.UserId
Users.id
Cascade on delete
TalentHuntJobInfo_JobId_fkey
TalentHuntJobInfo.JobId
Jobs.id
Restrict delete
UserDeviceFingerprints_UserId_fkey
UserDeviceFingerprints.UserId
Users.id
Cascade on delete
UserMessagingTemplateMessages_userId_fkey
UserMessagingTemplateMessages.userId
Users.id
Cascade on delete
CompanyFeaturesMaximum_creatorId_fkey
CompanyFeaturesMaximum.creatorId
Users.id
Null on delete
CompanyFeaturesMaximum_CountryCode_fkey
CompanyFeaturesMaximum.CountryCode
Countries.code
Cascade on delete
CompanyFeaturesMaximum_locationId_fkey
CompanyFeaturesMaximum.locationId
Locations.id
Cascade on delete
CompanyFeaturesMaximum_companyId_fkey
CompanyFeaturesMaximum.companyId
Companies.id
Cascade on delete
UserSkills_SkillId_fkey
UserSkills.SkillId
Skills.id
Cascade on delete
UserSkills_UserId_fkey
UserSkills.UserId
Users.id
Cascade on delete
CompanyVerificationMethodBenef_companyVerificationMethodId_fkey
CompanyVerificationMethodBenefits.companyVerificationMethodId
CompanyVerificationMethods.id
Cascade on delete
ProposedExpertClassSchedules_expertClassApplicationId_fkey
ProposedExpertClassSchedules.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
UnlockedTalents_talentId_fkey
UnlockedTalents.talentId
Users.id
Cascade on delete
UnlockedTalents_unlockedByUserId_fkey
UnlockedTalents.unlockedByUserId
Users.id
Null on delete
UnlockedTalents_companyId_fkey
UnlockedTalents.companyId
Companies.id
Cascade on delete
LiveRooms_CompanyId_fkey
LiveRooms.CompanyId
Companies.id
Cascade on delete
LiveRooms_TopicId_fkey
LiveRooms.TopicId
LiveRoomTopics.id
Restrict delete
PotentialLeadDigitalFootprints_potentialLeadId_fkey
PotentialLeadDigitalFootprints.potentialLeadId
PotentialLeads.id
Restrict delete
PotentialLeadDigitalFootprints_verificationCriterionId_fkey
PotentialLeadDigitalFootprints.verificationCriterionId
PotentialLeadDigitalFootprintVerificationCriteria.id
Restrict delete
EventSkills_SkillId_fkey
ExpertClassSkills.SkillId
Skills.id
Cascade on delete
EventSkills_ExpertClassId_fkey
ExpertClassSkills.ExpertClassId
ExpertClasses.id
Restrict delete
ExpertApplicationSelectedRejectionReasons_expertApplicationReje
ExpertApplicationSelectedRejectionReasons.expertApplicationRejectionReasonId
ExpertApplicationRejectionReasons.id
Restrict delete
ExpertApplicationSelectedRejectionReasons_expertApplicationId_f
ExpertApplicationSelectedRejectionReasons.expertApplicationId
ExpertApplications.id
Cascade on delete
JobLocationPreferences_CityId_fkey
JobLocationPreferences.CityId
Cities.id
Restrict delete
JobLocationPreferences_LocationId_fkey
JobLocationPreferences.LocationId
Locations.id
Null on delete
JobLocationPreferences_UserId_fkey
JobLocationPreferences.UserId
Users.id
Cascade on delete
JobLocationPreferences_CountryCode_fkey
JobLocationPreferences.CountryCode
Countries.code
Cascade on delete
Preferences_UserId_fkey
Preferences.UserId
Users.id
Cascade on delete
Preferences_CurrencyCode_fkey
Preferences.CurrencyCode
Currencies.code
Null on delete
CompanyCollectionItems_CompanyCollectionId_fkey
CompanyCollectionItems.CompanyCollectionId
CompanyCollections.id
Restrict delete
CompanyCollectionItems_CompanyId_fkey
CompanyCollectionItems.CompanyId
Companies.id
Restrict delete
OdysseyMaxApplicationsNotifications_NotificationId_fkey
OdysseyMaxApplicationsNotifications.NotificationId
Notifications.id
Cascade on delete
SystemPredictionLogs_JobId_fkey
SystemPredictionLogs.JobId
Jobs.id
Cascade on delete
TalentHuntCandidateApplicatio_TalentHuntCandidateApplicati_fkey
TalentHuntCandidateApplicationStatusNotifications.TalentHuntCandidateApplicationId
TalentHuntCandidateApplications.id
Restrict delete
TalentHuntCandidateApplicationStatusNotific_NotificationId_fkey
TalentHuntCandidateApplicationStatusNotifications.NotificationId
Notifications.id
Restrict delete
UserJobAlertNotifications_NotificationId_fkey
UserJobAlertNotifications.NotificationId
Notifications.id
Cascade on delete
UserJobAlertNotifications_userJobAlertId_fkey
UserJobAlertNotifications.userJobAlertId
UserJobAlerts.id
Cascade on delete
JobJobTitleDrafts_JobTitleId_fkey
JobJobTitleDrafts.JobTitleId
JobTitles.id
Cascade on delete
JobJobTitleDrafts_JobDraftId_fkey
JobJobTitleDrafts.JobDraftId
JobDrafts.id
Cascade on delete
ReportedJobs_JobId_fkey
ReportedJobs.JobId
Jobs.id
Cascade on delete
ReportedJobs_UserId_fkey
ReportedJobs.UserId
Users.id
Null on delete
ReportedJobs_ResolverId_fkey
ReportedJobs.ResolverId
Users.id
Null on delete
UserShares_UserId_fkey
UserShares.UserId
Users.id
Null on delete
UserShares_ShareId_fkey
UserShares.ShareId
Shares.id
Restrict delete
XenditCustomerInformation_userId_fkey
XenditCustomerInformation.userId
Users.id
Cascade on delete
SuggestedSalaries_currencyCode_fkey
SuggestedSalaries.currencyCode
Currencies.code
Cascade on delete
SuggestedSalaries_countryCode_fkey
SuggestedSalaries.countryCode
Countries.code
Cascade on delete
SuggestedSalaries_hierarchicalJobCategoryId_fkey
SuggestedSalaries.hierarchicalJobCategoryId
HierarchicalJobCategories.id
Cascade on delete
Schools_CountryCode_fkey
Schools.CountryCode
Countries.code
Null on delete
OdysseyBadgeNotifications_RewardId_fkey
OdysseyBadgeNotifications.RewardId
OdysseyRewards.id
Cascade on delete
OdysseyBadgeNotifications_NotificationId_fkey
OdysseyBadgeNotifications.NotificationId
Notifications.id
Cascade on delete
OdysseyBadgeNotifications_BadgeId_fkey
OdysseyBadgeNotifications.BadgeId
OdysseyBadges.id
Cascade on delete
ExpertIndonesianNPWPCardDetails_expertTaxDetailId_fkey
ExpertIndonesianNPWPCardDetails.expertTaxDetailId
ExpertTaxDetails.id
Cascade on delete
HoustonRoleBindings_UserId_fkey
HoustonRoleBindings.UserId
Users.id
Restrict delete
HoustonRoleBindings_HoustonRoleId_fkey
HoustonRoleBindings.HoustonRoleId
HoustonRoles.id
Restrict delete
VerificationWhitelistedEmailDomains_countryCode_fkey
VerificationWhitelistedEmailDomains.countryCode
Countries.code
Cascade on delete
Recommendations_JobId_fkey
Recommendations.JobId
Jobs.id
Cascade on delete
Recommendations_CandidateId_fkey
Recommendations.CandidateId
Users.id
Cascade on delete
Recommendations_CreatorId_fkey
Recommendations.CreatorId
Users.id
Cascade on delete
Bookmarks_JobId_fkey
Bookmarks.JobId
Jobs.id
Restrict delete
Bookmarks_ForJobId_fkey
Bookmarks.ForJobId
Jobs.id
Restrict delete
Bookmarks_CompanyId_fkey
Bookmarks.CompanyId
Companies.id
Restrict delete
Bookmarks_CandidateId_fkey
Bookmarks.CandidateId
Users.id
Cascade on delete
Bookmarks_UserId_fkey
Bookmarks.UserId
Users.id
Cascade on delete
Companies_freeSubscriptionPlanGroupId_fkey
Companies.freeSubscriptionPlanGroupId
FreeSubscriptionPlanGroups.id
Restrict delete
Companies_LocationId_fkey
Companies.LocationId
Locations.id
Null on delete
Companies_EmployerServiceRepId_fkey
Companies.EmployerServiceRepId
Users.id
Null on delete
Companies_CityId_fkey
Companies.CityId
Cities.id
Null on delete
Companies_ReviewerId_fkey
Companies.ReviewerId
Users.id
Restrict delete
Companies_CountryCode_fkey
Companies.CountryCode
Countries.code
Null on delete
Companies_IndustryId_fkey
Companies.IndustryId
Industries.id
Null on delete
HoustonCreateCompanyActionLogs_companyId_fkey
HoustonCreateCompanyActionLogs.companyId
Companies.id
Cascade on delete
HoustonCreateCompanyActionLogs_houstonActionLogId_fkey
HoustonCreateCompanyActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
HoustonJobQualityIssueActionLogs_JobQualityIssueId_fkey
HoustonJobQualityIssueActionLogs.JobQualityIssueId
JobQualityIssues.id
Cascade on delete
HoustonJobQualityIssueActionLogs_houstonActionLogId_fkey
HoustonJobQualityIssueActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
UserCompanyRoleLogs_userCompanyId_fkey
UserCompanyRoleLogs.userCompanyId
UserCompanies.id
Cascade on delete
UserCompanyRoleLogs_actionUserId_fkey
UserCompanyRoleLogs.actionUserId
Users.id
Null on delete
ExpertClassInAppPrices_expertClassInAppProductId_fkey
ExpertClassInAppPrices.expertClassInAppProductId
ExpertClassInAppProducts.id
Cascade on delete
LiveRoomShares_RoomId_fkey
LiveRoomShares.RoomId
LiveRooms.id
Cascade on delete
LiveRoomShares_ShareId_fkey
LiveRoomShares.ShareId
Shares.id
Restrict delete
Users_cdc_test_CityId_fkey
Users_cdc_test.CityId
Cities.id
Null on delete
Users_cdc_test_CountryCode_fkey
Users_cdc_test.CountryCode
Countries.code
Null on delete
Users_cdc_test_BanningOperatorId_fkey
Users_cdc_test.BanningOperatorId
Users.id
Restrict delete
Users_cdc_test_Nationality_fkey
Users_cdc_test.Nationality
Countries.code
Restrict delete
Users_cdc_test_EmployerServiceRepId_fkey
Users_cdc_test.EmployerServiceRepId
Users.id
Null on delete
Users_cdc_test_LocationId_fkey
Users_cdc_test.LocationId
Locations.id
Null on delete
LiveRoomHosts_LiveRoomId_fkey
LiveRoomHosts.LiveRoomId
LiveRooms.id
Cascade on delete
LiveRoomHosts_UserId_fkey
LiveRoomHosts.UserId
Users.id
Cascade on delete
ApplicationQuestionAnswers_QuestionName_fkey
ApplicationQuestionAnswers.QuestionName
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationQuestionAnswers_ApplicationId_fkey
ApplicationQuestionAnswers.ApplicationId
Applications.id
Restrict delete
JobNotificationReceiverDrafts_ReceiverId
JobNotificationReceiverDrafts.ReceiverId
UserCompanies.id
Cascade on delete
JobNotificationReceiverDrafts_JobDraftId_fkey
JobNotificationReceiverDrafts.JobDraftId
JobDrafts.id
Cascade on delete
ExpertFinancialDetails_expertId_fkey
ExpertFinancialDetails.expertId
Experts.id
Restrict delete
NormalizedSkillsMapping_NormalizedSkillsId_fkey
NormalizedSkillsMapping.NormalizedSkillId
NormalizedSkills.id
Restrict delete
NormalizedSkillsMapping_SkillId_fkey
NormalizedSkillsMapping.SkillId
Skills.id
Restrict delete
CompaniesPageConfigs_CountryCode_fkey
CompaniesPageConfigs.CountryCode
Countries.code
Restrict delete
SourcedCompanies_GlintsCompanyId_fkey
SourcedCompanies.GlintsCompanyId
Companies.id
Restrict delete
SourcedCompanies_CountryCode_fkey
SourcedCompanies.CountryCode
Countries.code
Restrict delete
JobFeaturesMaximum_locationId_fkey
JobFeaturesMaximum.locationId
Locations.id
Cascade on delete
JobFeaturesMaximum_hierarchicalJobCategoryId_fkey
JobFeaturesMaximum.hierarchicalJobCategoryId
HierarchicalJobCategories.id
Cascade on delete
JobFeaturesMaximum_jobId_fkey
JobFeaturesMaximum.jobId
Jobs.id
Cascade on delete
JobFeaturesMaximum_CountryCode_fkey
JobFeaturesMaximum.CountryCode
Countries.code
Cascade on delete
JobFeaturesMaximum_companyId_fkey
JobFeaturesMaximum.companyId
Companies.id
Cascade on delete
JobFeaturesMaximum_creatorId_fkey
JobFeaturesMaximum.creatorId
Users.id
Null on delete
XenditPaymentWebhookLogs_OrderPaymentId_fkey
XenditPaymentWebhookLogs.OrderPaymentId
OrderPayments.OrderId
Restrict delete
Jobs_EmployerServiceRepId_fkey
Jobs.EmployerServiceRepId
Users.id
Null on delete
Jobs_CityId_fkey
Jobs.CityId
Cities.id
Null on delete
Jobs_CompanyId_fkey
Jobs.CompanyId
Companies.id
Restrict delete
Jobs_HierarchicalJobCategoryId_fkey
Jobs.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Null on delete
Jobs_CompanyAddressId_fkey
Jobs.CompanyAddressId
CompanyAddresses.id
Restrict delete
Jobs_DistrictId_fkey
Jobs.DistrictId
Locations.id
Null on delete
Jobs_CountryCode_fkey
Jobs.CountryCode
Countries.code
Null on delete
Jobs_JobCategoryId_fkey
Jobs.JobCategoryId
JobCategories.id
Null on delete
Jobs_CreatorId_fkey
Jobs.CreatorId
Users.id
Null on delete
Jobs_CitySubDivisionId_fkey
Jobs.CitySubDivisionId
CitySubDivisions.id
Restrict delete
ApplicationStatusNotifications_ApplicationStatusLogId_fkey
ApplicationStatusNotifications.ApplicationStatusLogId
ApplicationStatusLogs.id
Restrict delete
ApplicationStatusNotifications_NotificationId_fkey
ApplicationStatusNotifications.NotificationId
Notifications.id
Restrict delete
PointOfInterests_locationId_fkey
PointOfInterests.locationId
Locations.id
Restrict delete
ApplicationStatusLogs_ApplicationId_fkey
ApplicationStatusLogs.ApplicationId
Applications.id
Restrict delete
ApplicationStatusLogs_CreatorId_fkey
ApplicationStatusLogs.CreatorId
Users.id
Restrict delete
ExpertClassApplicationClassCategorie_expertClassCategoryId_fkey
ExpertClassApplicationClassCategories.expertClassCategoryId
ExpertClassCategories.id
Cascade on delete
ExpertClassApplicationClassCatego_expertClassApplicationId_fkey
ExpertClassApplicationClassCategories.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
ApplicationRejectionReasons_ApplicationStatusLogId
ApplicationRejectionReasons.ApplicationStatusLogId
ApplicationStatusLogs.id
Restrict delete
JobDrafts_CompanyAddressId_fkey
JobDrafts.CompanyAddressId
CompanyAddresses.id
Null on delete
JobDrafts_CountryCode_fkey
JobDrafts.CountryCode
Countries.code
Null on delete
JobDrafts_CompanyId_fkey
JobDrafts.CompanyId
Companies.id
Restrict delete
JobDrafts_CreatorId_fkey
JobDrafts.CreatorId
Users.id
Null on delete
JobDrafts_DistrictId_fkey
JobDrafts.DistrictId
Locations.id
Null on delete
JobDrafts_CityId_fkey
JobDrafts.CityId
Cities.id
Null on delete
JobDrafts_CitySubDivisionId_fkey
JobDrafts.CitySubDivisionId
CitySubDivisions.id
Restrict delete
JobDrafts_JobCategoryId_fkey
JobDrafts.JobCategoryId
JobCategories.id
Null on delete
JobDrafts_EmployerServiceRepId_fkey
JobDrafts.EmployerServiceRepId
Users.id
Null on delete
JobDrafts_HierarchicalJobCategoryId_fkey
JobDrafts.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Null on delete
OrderPayments_OrderId_fkey
OrderPayments.OrderId
Orders.id
Restrict delete
GroupJobs_GroupId_fkey
GroupJobs.GroupId
Groups.id
Cascade on delete
GroupJobs_JobId_fkey
GroupJobs.JobId
Jobs.id
Restrict delete
ExpertApplicationStatusNotifications_expertApplicationId_fkey
ExpertApplicationStatusNotifications.expertApplicationId
ExpertApplications.id
Cascade on delete
ExpertApplicationStatusNotifications_NotificationId_fkey
ExpertApplicationStatusNotifications.NotificationId
Notifications.id
Cascade on delete
mtseatdeactivations_deactivatedseatid_foreign
MTSeatDeactivations.deactivatedSeatId
MTSeatActivations.id
Null on delete
mtseatdeactivations_replacementseatid_foreign
MTSeatDeactivations.replacementSeatId
MTSeatActivations.id
Null on delete
CitySubDivisions_CityId_fkey
CitySubDivisions.CityId
Cities.id
Cascade on delete
FailedModerationLogs_UserId_fkey
FailedModerationLogs.UserId
Users.id
Null on delete
OdysseyTargetPreferences_UserId_fkey
OdysseyTargetPreferences.UserId
Users.id
Cascade on delete
OdysseyTargetPreferences_OdysseyTargetId_fkey
OdysseyTargetPreferences.OdysseyTargetId
OdysseyTargets.id
Cascade on delete
JobFraudAnalysisRecords_reportedJobStartId_fkey
JobFraudAnalysisRecords.reportedJobStartId
ReportedJobs.id
Cascade on delete
JobFraudAnalysisRecords_reportedJobEndId_fkey
JobFraudAnalysisRecords.reportedJobEndId
ReportedJobs.id
Cascade on delete
SchoolEducationLevels_SchoolId_fkey
SchoolEducationLevels.SchoolId
Schools.id
Cascade on delete
ExpertApplicationWorkExperiences_experienceId_experienceType_fk
ExpertApplicationWorkExperiences.experienceId
ExpertApplicationWorkExperiences.experienceType
Experiences.id
Experiences.type
Cascade on delete
JobDraftScreeningQuestionCusto_jobDraftScreeningQuestionId_fkey
JobDraftScreeningQuestionCustomPlainTexts.jobDraftScreeningQuestionId
JobDraftScreeningQuestions.id
Cascade on delete
ApplicationScreeningAnswerDocumen_documentAndCertificateId_fkey
ApplicationScreeningAnswerDocumentAndCertificates.documentAndCertificateId
DocumentAndCertificates.id
Cascade on delete
ApplicationScreeningAnswerDoc_applicationScreeningAnswerId_fkey
ApplicationScreeningAnswerDocumentAndCertificates.applicationScreeningAnswerId
ApplicationScreeningAnswers.id
Cascade on delete
HoustonOutboundUpsellCompanyActionLogs_houstonActionLogId_fkey
HoustonOutboundUpsellCompanyActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
HoustonOutboundUpsellCompanyActionLog_employerServiceRepId_fkey
HoustonOutboundUpsellCompanyActionLogs.employerServiceRepId
Users.id
Null on delete
HoustonOutboundUpsellCompanyActionLogs_companyId_fkey
HoustonOutboundUpsellCompanyActionLogs.companyId
Companies.id
Null on delete
ExpertClassPromotionCodeEmails_PromotionCodeId_fkey
ExpertClassPromotionCodeEmails.PromotionCodeId
ExpertClassPromotionCodes.id
Cascade on delete
HoustonRolePermissions_HoustonRoleId_fkey
HoustonRolePermissions.HoustonRoleId
HoustonRoles.id
Restrict delete
ExpertClassCategoryJobCategoryMappin_expertClassCategoryId_fkey
ExpertClassCategoryJobCategoryMappings.expertClassCategoryId
ExpertClassCategories.id
Cascade on delete
ExpertClassCategoryJobCategoryMappings_jobCategoryId_fkey
ExpertClassCategoryJobCategoryMappings.jobCategoryId
JobCategories.id
Cascade on delete
RevenueCatWebhookLogs_companyId_fkey
RevenueCatWebhookLogs.companyId
Companies.id
Null on delete
ExpertClassPromotionCodePlatformRestrictions_promotionCodeId_fk
ExpertClassPromotionCodePlatformRestrictions.promotionCodeId
ExpertClassPromotionCodes.id
Cascade on delete
ChatAutoInvitations_candidateId_fkey
ChatAutoInvitations.candidateId
Users.id
Cascade on delete
ChatAutoInvitations_jobId_fkey
ChatAutoInvitations.jobId
Jobs.id
Cascade on delete
CompanyStatusLog_userId_fkey
CompanyStatusLog.userId
Users.id
Null on delete
CompanyStatusLog_companyId_fkey
CompanyStatusLog.companyId
Companies.id
Cascade on delete
ExpertClassApplicationKeyLearning_expertClassApplicationId_fkey
ExpertClassApplicationKeyLearnings.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
ExpertClassClassTypeExpertClassPromotionCo_PromotionCodeId_fkey
ExpertClassClassTypeExpertClassPromotionCodes.PromotionCodeId
ExpertClassPromotionCodes.id
Cascade on delete
ExpertClassClassTypeExpertClassProm_ExpertClassClassTypeId_fkey
ExpertClassClassTypeExpertClassPromotionCodes.ExpertClassClassTypeId
ExpertClassClassTypes.id
Cascade on delete
TalentHuntCandidateApplications_TalentHuntGroupMemberId_fkey
TalentHuntCandidateApplications.TalentHuntGroupMemberId
GroupMembers.id
Restrict delete
Referees_UserId_fkey
Referees.UserId
Users.id
Restrict delete
ExpertClassTicketTypes_ExpertClassId_fkey
ExpertClassTicketTypes.ExpertClassId
ExpertClasses.id
Restrict delete
Campaigns_CountryCode_fkey
Campaigns.CountryCode
Countries.code
Restrict delete
ExpertClassCategoryExpertClassPromotionCod_PromotionCodeId_fkey
ExpertClassCategoryExpertClassPromotionCodes.PromotionCodeId
ExpertClassPromotionCodes.id
Cascade on delete
ExpertClassCategoryExpertClassPromot_ExpertClassCategoryId_fkey
ExpertClassCategoryExpertClassPromotionCodes.ExpertClassCategoryId
ExpertClassCategories.id
Cascade on delete
JobSalaries_CurrencyCode_fkey
JobSalaries.CurrencyCode
Currencies.code
Null on delete
JobSalaries_JobId_fkey
JobSalaries.JobId
Jobs.id
Restrict delete
OdysseyBadgeRewards_BadgeId_fkey
OdysseyBadgeRewards.BadgeId
OdysseyBadges.id
Cascade on delete
OdysseyBadgeRewards_RewardId_fkey
OdysseyBadgeRewards.RewardId
OdysseyRewards.id
Cascade on delete
HoustonInboundUpsellCompanyActionLogs_employerServiceRepId_fkey
HoustonInboundUpsellCompanyActionLogs.employerServiceRepId
Users.id
Null on delete
HoustonInboundUpsellCompanyActionLogs_companyId_fkey
HoustonInboundUpsellCompanyActionLogs.companyId
Companies.id
Null on delete
HoustonInboundUpsellCompanyActionLogs_houstonActionLogId_fkey
HoustonInboundUpsellCompanyActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
CompaniesPageCarouselItems_CompaniesPageConfigId_fkey
CompaniesPageCarouselItems.CompaniesPageConfigId
CompaniesPageConfigs.id
Restrict delete
CompaniesPageCarouselItems_CompanyId_fkey
CompaniesPageCarouselItems.CompanyId
Companies.id
Restrict delete
JobBenefits_JobId_fkey
JobBenefits.JobId
Jobs.id
Restrict delete
JobExtensionLogs_jobId_fkey
JobExtensionLogs.jobId
Jobs.id
Cascade on delete
JobExtensionLogs_actionUserId_fkey
JobExtensionLogs.actionUserId
Users.id
Null on delete
ApplicationDrafts_ApplicantId_fkey
ApplicationDrafts.ApplicantId
Users.id
Null on delete
ApplicationDrafts_JobId_fkey
ApplicationDrafts.JobId
Jobs.id
Restrict delete
SourcedJobs_SalaryCurrencyCode_fkey
SourcedJobs.SalaryCurrencyCode
Currencies.code
Restrict delete
SourcedJobs_LocationId_fkey
SourcedJobs.LocationId
Locations.id
Restrict delete
SourcedJobs_GlintsJobId_fkey
SourcedJobs.GlintsJobId
Jobs.id
Restrict delete
SourcedJobs_HierarchicalJobCategoryId_fkey
SourcedJobs.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Restrict delete
SourcedJobs_SourcedCompanyId_fkey
SourcedJobs.SourcedCompanyId
SourcedCompanies.id
Restrict delete
Applications_FirstReaderId_fkey
Applications.FirstReaderId
Users.id
Cascade on delete
Applications_JobId_fkey
Applications.JobId
Jobs.id
Restrict delete
Applications_ApplicantId_fkey
Applications.ApplicantId
Users.id
Null on delete
ExpertClassOrderTicketWebinars_ExpertClassOrderTicketId_fkey
ExpertClassOrderTicketWebinars.ExpertClassOrderTicketId
ExpertClassOrderTickets.id
Restrict delete
OdysseyRewards_ExpertClassPromoId_fkey
OdysseyRewards.ExpertClassPromoId
ExpertClassPromotionCodes.id
Restrict delete
ReferralApplications_ReferralId_fkey
ReferralApplications.ReferralId
Referrals.id
Restrict delete
ReferralApplications_RecruiterId_fkey
ReferralApplications.RecruiterId
Users.id
Restrict delete
ReferralApplications_JobId_fkey
ReferralApplications.JobId
Jobs.id
Restrict delete
ReferralApplications_RefereeId_fkey
ReferralApplications.RefereeId
Referees.id
Restrict delete
ApplicationScreeningAnswerSki_applicationScreeningAnswerId_fkey
ApplicationScreeningAnswerSkills.applicationScreeningAnswerId
ApplicationScreeningAnswers.id
Cascade on delete
ApplicationScreeningAnswerSkills_jobSkillId_fkey
ApplicationScreeningAnswerSkills.jobSkillId
JobSkills.id
Restrict delete
ExpertClassCertificateGeneratedNotifications_expertClassCertifi
ExpertClassCertificateGeneratedNotifications.expertClassCertificateId
ExpertClassCertificates.id
Cascade on delete
ExpertClassCertificateGeneratedNotifications_NotificationId_fke
ExpertClassCertificateGeneratedNotifications.NotificationId
Notifications.id
Cascade on delete
JobCategorySkills_SkillId_fkey
JobCategorySkills.SkillId
Skills.id
Cascade on delete
JobCategorySkills_JobCategoryId_fkey
JobCategorySkills.JobCategoryId
JobCategories.id
Cascade on delete
CompanyVerificationRequestDetails_companyVerificationRequestId_
CompanyVerificationRequestDetails.companyVerificationRequestId
CompanyVerificationRequests.id
Cascade on delete
NotificationPreferenceCategoryNotifications_CategoryId_fkey
NotificationPreferenceCategoryNotifications.CategoryId
NotificationPreferenceCategories.id
Cascade on delete
SeoFreeQueries_countryCode_fkey
SeoFreeQueries.countryCode
Countries.code
Restrict delete
ExpertClassApplicationTargetAudie_expertClassApplicationId_fkey
ExpertClassApplicationTargetAudiences.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
HoustonActionLogs_userId_fkey
HoustonActionLogs.userId
Users.id
Null on delete
UserTokens_UserId_fkey
UserTokens.UserId
Users.id
Restrict delete
HoustonSwallowUserActionLogs_houstonActionLogId_fkey
HoustonSwallowUserActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
HoustonSwallowUserActionLogs_swallowedUserId_fkey
HoustonSwallowUserActionLogs.swallowedUserId
Users.id
Cascade on delete
SpecialLocations_addedByUserId_fkey
SpecialLocations.addedByUserId
Users.id
Null on delete
SpecialLocations_CountryCode_fkey
SpecialLocations.CountryCode
Countries.code
Null on delete
mtseatdeactivations_mtseatdeactivationreas__434f4e1f_foreign
MTSeatDeactivations_MTSeatDeactivationReasons.MTSeatDeactivations_id
MTSeatDeactivations.id
Null on delete
mtseatdeactivations_mtseatdeactivationreas__1612019b_foreign
MTSeatDeactivations_MTSeatDeactivationReasons.MTSeatDeactivationReasons_id
MTSeatDeactivationReasons.id
Null on delete
BlackListedWords_CreatorId_fkey
BlackListedWords.CreatorId
Users.id
Null on delete
LocationWageGuidance_LocationId_fkey
LocationWageGuidance.LocationId
Locations.id
Cascade on delete
LocationWageGuidance_CurrencyCode_fkey
LocationWageGuidance.CurrencyCode
Currencies.code
Restrict delete
RecommendationStatusLogs_CreatorId_fkey
RecommendationStatusLogs.CreatorId
Users.id
Restrict delete
RecommendationStatusLogs_RecommendationId_fkey
RecommendationStatusLogs.RecommendationId
Recommendations.id
Restrict delete
CompanyVerificationRequests_companyId_fkey
CompanyVerificationRequests.companyId
Companies.id
Null on delete
CompanyVerificationRequests_requesterId_fkey
CompanyVerificationRequests.requesterId
Users.id
Null on delete
CompanyVerificationRequests_companyVerificationMethodId_fkey
CompanyVerificationRequests.companyVerificationMethodId
CompanyVerificationMethods.id
Restrict delete
CompanyVerificationRequests_employerServiceRepId_fkey
CompanyVerificationRequests.employerServiceRepId
Users.id
Null on delete
StreakPointSources_AllocationId_fkey
StreakPointSources.AllocationId
OdysseyPointAllocations.id
Cascade on delete
OdysseyProfileCompletionNotificat_OdysseyPointAllocationId_fkey
OdysseyProfileCompletionNotifications.OdysseyPointAllocationId
OdysseyPointAllocations.id
Restrict delete
OdysseyProfileCompletionNotifications_NotificationId_fkey
OdysseyProfileCompletionNotifications.NotificationId
Notifications.id
Restrict delete
EmployerVerifications_CompanyId_fkey
EmployerVerifications.CompanyId
Companies.id
Null on delete
EmployerVerifications_UserId_fkey
EmployerVerifications.UserId
Users.id
Cascade on delete
FollowingNewFollowerNotifications_NotificationId_fkey
FollowingNewFollowerNotifications.NotificationId
Notifications.id
Cascade on delete
FollowingNewFollowerNotifications_FollowingId_fkey
FollowingNewFollowerNotifications.FollowingId
Following.id
Restrict delete
JobShares_JobId_fkey
JobShares.JobId
Jobs.id
Restrict delete
JobShares_ShareId_fkey
JobShares.ShareId
Shares.id
Restrict delete
ExpertClasses_fkey
ExpertClassExpertClassWhatYouGetOptions.expertClassId
ExpertClasses.id
Restrict delete
ExpertClassWhatYouGet_fkey
ExpertClassExpertClassWhatYouGetOptions.whatYouGetOptionId
ExpertClassWhatYouGetOptions.id
Restrict delete
CompanyApplicationCountAggregates_companyId_fkey
CompanyApplicationCountAggregates.companyId
Companies.id
Cascade on delete
ApplicationScreeningAnswerInd_applicationScreeningAnswerId_fkey
ApplicationScreeningAnswerIndustries.applicationScreeningAnswerId
ApplicationScreeningAnswers.id
Cascade on delete
ApplicationScreeningAnswerIndustries_industryId_fkey
ApplicationScreeningAnswerIndustries.industryId
Industries.id
Cascade on delete
UnifiedCompanyNetsuiteLinks_CuratorId_fkey
UnifiedCompanyNetsuiteLinks.CuratorId
Users.id
Restrict delete
UnifiedCompanyNetsuiteLinks_UnifiedCompanyId_fkey
UnifiedCompanyNetsuiteLinks.UnifiedCompanyId
UnifiedCompanies.id
Restrict delete
TalentHuntJobApplicationStatusLogs_ReferredRecruiterId_fkey
TalentHuntJobApplicationStatusLogs.ReferredRecruiterId
Users.id
Restrict delete
TalentHuntJobApplicationStatusLogs_TalentHuntJobApplicationId_f
TalentHuntJobApplicationStatusLogs.TalentHuntJobApplicationId
TalentHuntJobApplications.id
Restrict delete
TalentHuntJobApplicationStatusLogs_CreatorId_fkey
TalentHuntJobApplicationStatusLogs.CreatorId
Users.id
Restrict delete
ShareVisitors_ShareId_fkey
ShareVisitors.ShareId
Shares.id
Restrict delete
ShareVisitors_UserId_fkey
ShareVisitors.UserId
Users.id
Restrict delete
JobScreeningQuestionIndustries_jobScreeningQuestionId_fkey
JobScreeningQuestionIndustries.jobScreeningQuestionId
JobScreeningQuestions.id
Cascade on delete
JobScreeningQuestionIndustries_industryId_fkey
JobScreeningQuestionIndustries.industryId
Industries.id
Cascade on delete
PotentialLeads_glintsCompanyId_fkey
PotentialLeads.glintsCompanyId
Companies.id
Restrict delete
PotentialLeads_locationId_fkey
PotentialLeads.locationId
Locations.id
Restrict delete
PotentialLeads_leadAssigneeId_fkey
PotentialLeads.leadAssigneeId
Users.id
Restrict delete
PotentialLeads_countryCode_fkey
PotentialLeads.countryCode
Countries.code
Restrict delete
EmployerActivityExperimentJobs_JobId_fkey
EmployerActivityExperimentJobs.JobId
Jobs.id
Cascade on delete
UserJobAlerts_userId_fkey
UserJobAlerts.userId
Users.id
Cascade on delete
ApplicationRejectionMessagePreferences_UserId_fkey
ApplicationRejectionMessagePreferences.UserId
Users.id
Cascade on delete
GroupMembers_GroupId_fkey
GroupMembers.GroupId
Groups.id
Cascade on delete
GroupMembers_CandidateId_fkey
GroupMembers.CandidateId
Users.id
Cascade on delete
GroupMembers_AdminId_fkey
GroupMembers.AdminId
Users.id
Cascade on delete
GroupMembers_CompanyId_fkey
GroupMembers.CompanyId
Companies.id
Restrict delete
HoustonTransferCompanyTaskLogs_houstonUserId_fkey
HoustonTransferCompanyTaskLogs.houstonUserId
Users.id
Null on delete
HoustonTransferCompanyTaskLogs_oldEmployerServiceRepId_fkey
HoustonTransferCompanyTaskLogs.oldEmployerServiceRepId
Users.id
Null on delete
HoustonTransferCompanyTaskLogs_newEmployerServiceRepId_fkey
HoustonTransferCompanyTaskLogs.newEmployerServiceRepId
Users.id
Null on delete
HoustonTransferCompanyTaskLogs_companyId_fkey
HoustonTransferCompanyTaskLogs.companyId
Companies.id
Cascade on delete
JobDraftScreeningQuestionIndus_jobDraftScreeningQuestionId_fkey
JobDraftScreeningQuestionIndustries.jobDraftScreeningQuestionId
JobDraftScreeningQuestions.id
Cascade on delete
JobDraftScreeningQuestionIndustries_industryId_fkey
JobDraftScreeningQuestionIndustries.industryId
Industries.id
Cascade on delete
AutomatedApplicationCSVExportLogs_companyId_fkey
AutomatedApplicationCSVExportLogs.companyId
Companies.id
Null on delete
ExpertClassApplicationSelectedRejectionReasons_rejectionReasonI
ExpertClassApplicationSelectedRejectionReasons.expertClassApplicationRejectionReasonOptionId
ExpertClassApplicationRejectionReasonOptions.id
Restrict delete
ExpertClassApplicationSelectedRejectionReasons_applicationId_fk
ExpertClassApplicationSelectedRejectionReasons.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
JobDraftScreeningQuestions_jobDraftId_fkey
JobDraftScreeningQuestions.jobDraftId
JobDrafts.id
Cascade on delete
JobDraftScreeningQuestions_introVideoPreferredLanguage_fkey
JobDraftScreeningQuestions.introVideoPreferredLanguage
Languages.code
Cascade on delete
ReportedCandidates_reporterId_fkey
ReportedCandidates.reporterId
Users.id
Null on delete
ReportedCandidates_reportedUserId_fkey
ReportedCandidates.reportedUserId
Users.id
Null on delete
ReportedCandidates_companyId_fkey
ReportedCandidates.companyId
Companies.id
Null on delete
ReportedCandidates_jobId_fkey
ReportedCandidates.jobId
Jobs.id
Null on delete
HierarchicalJobCategory_MPTT_parentId_fkey
HierarchicalJobCategory_MPTT.parentId
HierarchicalJobCategory_MPTT.id
Restrict delete
HierarchicalJobCategory_MPTT_id_fkey
HierarchicalJobCategory_MPTT.id
HierarchicalJobCategories.id
Restrict delete
JobTitleSkills_SkillId_fkey
JobTitleSkills.SkillId
Skills.id
Cascade on delete
JobTitleSkills_JobTitleId_fkey
JobTitleSkills.JobTitleId
JobTitles.id
Cascade on delete
ExpertClassApplicationOtherRejectionReasons_expertClassApplicat
ExpertClassApplicationOtherRejectionReasons.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
UserCompaniesOpsTeamDataBackup_CompanyId_fkey
UserCompaniesOpsTeamDataBackup.CompanyId
Companies.id
Restrict delete
UserCompaniesOpsTeamDataBackup_UserId_fkey
UserCompaniesOpsTeamDataBackup.UserId
Users.id
Cascade on delete
ExpertClassReminderNotifications_NotificationId_fkey
ExpertClassReminderNotifications.NotificationId
Notifications.id
Cascade on delete
ExpertClassReminderNotifications_orderId_fkey
ExpertClassReminderNotifications.orderId
Orders.id
Cascade on delete
ExternalTalentProfileCakeResumeUsers_MergedTalentProfileId_fkey
ExternalTalentProfileCakeResumeUsers.MergedTalentProfileId
MergedTalentProfiles.id
Cascade on delete
CompanyDeletionRequests_requesterId_fkey
CompanyDeletionRequests.requesterId
Users.id
Null on delete
CompanyDeletionRequests_companyId_fkey
CompanyDeletionRequests.companyId
Companies.id
Null on delete
ExpertTaxDetails_expertId_fkey
ExpertTaxDetails.expertId
Experts.id
Restrict delete
CompaniesPageCollections_CompanyCollectionId_fkey
CompaniesPageCollections.CompanyCollectionId
CompanyCollections.id
Restrict delete
CompaniesPageCollections_CompaniesPageConfigId_fkey
CompaniesPageCollections.CompaniesPageConfigId
CompaniesPageConfigs.id
Restrict delete
JobBoostingTasks_JobId_fkey
JobBoostingTasks.JobId
Jobs.id
Cascade on delete
JobBoostingTasks_CompanyId_fkey
JobBoostingTasks.CompanyId
Companies.id
Cascade on delete
JobBoostingTasks_UserId_fkey
JobBoostingTasks.UserId
Users.id
Cascade on delete
JobDraftScreeningQuestionLangu_jobDraftScreeningQuestionId_fkey
JobDraftScreeningQuestionLanguages.jobDraftScreeningQuestionId
JobDraftScreeningQuestions.id
Cascade on delete
JobDraftScreeningQuestionLanguages_languageCode_fkey
JobDraftScreeningQuestionLanguages.languageCode
Languages.code
Cascade on delete
PotentialLeadStatusChangeLogs_creatorId_fkey
PotentialLeadStatusChangeLogs.creatorId
Users.id
Cascade on delete
PotentialLeadStatusChangeLogs_potentialLeadId_fkey
PotentialLeadStatusChangeLogs.potentialLeadId
PotentialLeads.id
Cascade on delete
ScheduledPushNotificationTrans_scheduledPushNotificationId_fkey
ScheduledPushNotificationTranslations.scheduledPushNotificationId
ScheduledPushNotifications.id
Cascade on delete
mtseatactivations_countrycode_foreign
MTSeatActivations.countryCode
Countries.code
Null on delete
mtseatactivations_cityid_foreign
MTSeatActivations.cityId
Cities.id
Null on delete
mtseatactivations_demandbusinessunitid_foreign
MTSeatActivations.demandBusinessUnitId
MTBusinessUnits.id
Null on delete
BannedLiveRoomUsers_LiveRoomId_fkey
BannedLiveRoomUsers.LiveRoomId
LiveRooms.id
Cascade on delete
BannedLiveRoomUsers_UserId_fkey
BannedLiveRoomUsers.UserId
Users.id
Cascade on delete
Users_CityId_fkey
Users.CityId
Cities.id
Null on delete
Users_Nationality_fkey
Users.Nationality
Countries.code
Restrict delete
Users_CountryCode_fkey
Users.CountryCode
Countries.code
Null on delete
Users_LocationId_fkey
Users.LocationId
Locations.id
Null on delete
Users_BanningOperatorId_fkey
Users.BanningOperatorId
Users.id
Restrict delete
Users_EmployerServiceRepId_fkey
Users.EmployerServiceRepId
Users.id
Null on delete
ExpertApplications_userId_fkey
ExpertApplications.userId
Users.id
Null on delete
ExpertApplications_additionalInformationId_fkey
ExpertApplications.additionalInformationId
ExpertApplicationAdditionalInformation.id
Cascade on delete
HoustonFlagJobActionLogs_houstonActionLogId_fkey
HoustonFlagJobActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
ApplicationScreeningAnswerCus_applicationScreeningAnswerId_fkey
ApplicationScreeningAnswerCustomPlainTexts.applicationScreeningAnswerId
ApplicationScreeningAnswers.id
Cascade on delete
ApplicationScreeningAnswerCus_jobScreeningQuestionCustomPl_fkey
ApplicationScreeningAnswerCustomPlainTexts.jobScreeningQuestionCustomPlainTextId
JobScreeningQuestionCustomPlainTexts.id
Restrict delete
ApplicationScreeningAnswerLan_applicationScreeningAnswerId_fkey
ApplicationScreeningAnswerLanguages.applicationScreeningAnswerId
ApplicationScreeningAnswers.id
Cascade on delete
ApplicationScreeningAnswerLanguages_languageCode_fkey
ApplicationScreeningAnswerLanguages.languageCode
Languages.code
Cascade on delete
JobTitleHierarchicalJobCategoryMappings_HierarchicalJobCategory
JobTitleHierarchicalJobCategoryMappings.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Cascade on delete
NormalizedBenefits_updatedByUserId_fkey
NormalizedBenefits.updatedByUserId
Users.id
Null on delete
NormalizedBenefits_parentId_fkey
NormalizedBenefits.parentId
NormalizedBenefits.id
Null on delete
ApplicationScreeningAnswers_applicationId_fkey
ApplicationScreeningAnswers.applicationId
Applications.id
Cascade on delete
PotentialContacts_potentialLeadId_fkey
PotentialContacts.potentialLeadId
PotentialLeads.id
Restrict delete
JobNotificationReceivers_ReceiverId
JobNotificationReceivers.ReceiverId
UserCompanies.id
Cascade on delete
JobNotificationReceivers_JobId_fkey
JobNotificationReceivers.JobId
Jobs.id
Restrict delete
Comments_CompanyId_fkey
Comments.CompanyId
Companies.id
Restrict delete
Comments_CandidateId_fkey
Comments.CandidateId
Users.id
Cascade on delete
Comments_JobId_fkey
Comments.JobId
Jobs.id
Restrict delete
Comments_CommenterId_fkey
Comments.CommenterId
Users.id
Cascade on delete
CompanyVerificationRequestStatusChangeLogs_userId_fkey
CompanyVerificationRequestStatusChangeLogs.userId
Users.id
Null on delete
CompanyVerificationRequestSta_companyVerificationRequestId_fkey
CompanyVerificationRequestStatusChangeLogs.companyVerificationRequestId
CompanyVerificationRequests.id
Cascade on delete
OdysseyPointAllocations_UserId_fkey
OdysseyPointAllocations.UserId
Users.id
Restrict delete
OdysseyWeeklyTargetNotifications_RewardId_fkey
OdysseyWeeklyTargetNotifications.RewardId
OdysseyRewards.id
Restrict delete
OdysseyWeeklyTargetNotifications_NotificationId_fkey
OdysseyWeeklyTargetNotifications.NotificationId
Notifications.id
Cascade on delete
OdysseyWeeklyTargetNotifications_NextBadgeId_fkey
OdysseyWeeklyTargetNotifications.NextBadgeId
OdysseyBadges.id
Restrict delete
EmployerCustomMessages_UserId_fkey
EmployerCustomMessages.UserId
Users.id
Cascade on delete
EmployerCustomMessages_CompanyId_fkey
EmployerCustomMessages.CompanyId
Companies.id
Cascade on delete
LocationLegacyMappings_citySubDivisionId_fkey
LocationLegacyMappings.citySubDivisionId
CitySubDivisions.id
Restrict delete
LocationLegacyMappings_countryCode_fkey
LocationLegacyMappings.countryCode
Countries.code
Restrict delete
LocationLegacyMappings_locationId_fkey
LocationLegacyMappings.locationId
Locations.id
Restrict delete
LocationLegacyMappings_cityId_fkey
LocationLegacyMappings.cityId
Cities.id
Restrict delete
ApplicationCSVExportRequests_exporterId_fkey
ApplicationCSVExportRequests.exporterId
Users.id
Cascade on delete
CoverLetters_UserId_fkey
CoverLetters.UserId
Users.id
Restrict delete
ApplicationFollowUpRequests_ApplicationId_fkey
ApplicationFollowUpRequests.ApplicationId
Applications.id
Cascade on delete
Notifications_RecipientId_fkey
Notifications.RecipientId
Users.id
Restrict delete
SystemPredictionResolutions_SystemPredictionLogId_fkey
SystemPredictionResolutions.SystemPredictionLogId
SystemPredictionLogs.id
Cascade on delete
SystemPredictionResolutions_JobId_fkey
SystemPredictionResolutions.JobId
Jobs.id
Cascade on delete
SystemPredictionResolutions_ResolverId_fkey
SystemPredictionResolutions.ResolverId
Users.id
Null on delete
FraudCaseFileLogs_EditorId_fkey
FraudCaseFileLogs.EditorId
Users.id
Null on delete
FraudCaseFileLogs_FraudCaseFileId_fkey
FraudCaseFileLogs.FraudCaseFileId
FraudCaseFiles.id
Cascade on delete
JobScreeningQuestionDocumentAndCert_jobScreeningQuestionId_fkey
JobScreeningQuestionDocumentAndCertificates.jobScreeningQuestionId
JobScreeningQuestions.id
Cascade on delete
JobScreeningQuestionDocumentAndCe_documentAndCertificateId_fkey
JobScreeningQuestionDocumentAndCertificates.documentAndCertificateId
DocumentAndCertificates.id
Cascade on delete
ExpertClassCertificateTokens_usedBy_fkey
ExpertClassCertificateTokens.usedBy
Users.id
Restrict delete
ExpertClassCertificateTokens_ExpertClassId_fkey
ExpertClassCertificateTokens.ExpertClassId
ExpertClasses.id
Restrict delete
ExternalTalentProfileWebScrapedUsers_MergedTalentProfileId_fkey
ExternalTalentProfileWebScrapedUsers.MergedTalentProfileId
MergedTalentProfiles.id
Cascade on delete
ExpertClassPromotionCodeActionLogs_PromotionCodeId_fkey
ExpertClassPromotionCodeActionLogs.PromotionCodeId
ExpertClassPromotionCodes.id
Restrict delete
ExpertClassPromotionCodeActionLogs_UserId_fkey
ExpertClassPromotionCodeActionLogs.UserId
Users.id
Restrict delete
ExpertClassOrderTickets_ExpertClassTicketTypeId_fkey
ExpertClassOrderTickets.ExpertClassTicketTypeId
ExpertClassTicketTypes.id
Restrict delete
ExpertClassOrderTickets_OrderId_fkey
ExpertClassOrderTickets.OrderId
Orders.id
Restrict delete
PushNotifications_UserId_fkey
PushNotifications.UserId
Users.id
Null on delete
PushNotifications_countryCode_fkey
PushNotifications.countryCode
Countries.code
Restrict delete
SchoolCourses_SchoolId_fkey
SchoolCourses.SchoolId
Schools.id
Cascade on delete
SchoolCourses_DegreeId_fkey
SchoolCourses.DegreeId
Degrees.id
Cascade on delete
UserCompanies_CompanyId_fkey
UserCompanies.CompanyId
Companies.id
Restrict delete
UserCompanies_UserId_fkey
UserCompanies.UserId
Users.id
Cascade on delete
UserResumeParserUsageCounts_UserId_fkey
UserResumeParserUsageCounts.UserId
Users.id
Cascade on delete
CurrencyConversionRates_ToCurrencyCode_fkey
CurrencyConversionRates.ToCurrencyCode
Currencies.code
Cascade on delete
CurrencyConversionRates_FromCurrencyCode_fkey
CurrencyConversionRates.FromCurrencyCode
Currencies.code
Cascade on delete
UnifiedCompanyGlintsLinks_UnifiedCompanyId_fkey
UnifiedCompanyGlintsLinks.UnifiedCompanyId
UnifiedCompanies.id
Restrict delete
UnifiedCompanyGlintsLinks_CuratorId_fkey
UnifiedCompanyGlintsLinks.CuratorId
Users.id
Restrict delete
UserFeedbacks_CompanyId_fkey
UserFeedbacks.CompanyId
Companies.id
Null on delete
UserFeedbacks_UserId_fkey
UserFeedbacks.UserId
Users.id
Null on delete
Locations_administrativeLevelId_fkey
Locations.administrativeLevelId
LocationAdministrativeLevels.id
Restrict delete
EventActionLogs_ExpertClassId_fkey
ExpertClassActionLogs.ExpertClassId
ExpertClasses.id
Restrict delete
Events_CreatorId_fkey
ExpertClasses.CreatorId
Users.id
Restrict delete
expertclass_language_fkey
ExpertClasses.languageId
ExpertClassLanguages.id
Restrict delete
ExpertClasses_ClassTypeId_fkey
ExpertClasses.ClassTypeId
ExpertClassClassTypes.id
Restrict delete
UserSignupTrackings_UserId_fkey
UserSignupTrackings.UserId
Users.id
Cascade on delete
ExpertIndonesianFinancialDetails_expertFinancialDetailId_fkey
ExpertIndonesianFinancialDetails.expertFinancialDetailId
ExpertFinancialDetails.id
Restrict delete
FraudVerificationLists_addedByUserId_fkey
FraudVerificationLists.addedByUserId
Users.id
Null on delete
FraudVerificationLists_sourceCompanyId_fkey
FraudVerificationLists.sourceCompanyId
Companies.id
Null on delete
EventRegistrations_UserId_fkey
EventRegistrations.UserId
Users.id
Restrict delete
EventRegistrations_EventId_fkey
EventRegistrations.EventId
Events.id
Restrict delete
ExpertClassApplicationPromotions_expertClassApplicationId_fkey
ExpertClassApplicationPromotions.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
SalaryEstimates_JobTitleId_fkey
SalaryEstimates.JobTitleId
JobTitles.id
Cascade on delete
SalaryEstimates_CurrencyCode_fkey
SalaryEstimates.CurrencyCode
Currencies.code
Cascade on delete
SalaryEstimates_CountryCode_fkey
SalaryEstimates.CountryCode
Countries.code
Cascade on delete
ExpertClassShares_ShareId_fkey
ExpertClassShares.ShareId
Shares.id
Restrict delete
ExpertClassShares_ExpertClassId_fkey
ExpertClassShares.ExpertClassId
ExpertClasses.id
Restrict delete
JobRoleSkills_SkillId_fkey
JobRoleSkills.SkillId
Skills.id
Cascade on delete
JobRoleSkills_JobRoleId_fkey
JobRoleSkills.JobRoleId
HierarchicalJobCategories.id
Cascade on delete
JobScreeningQuestions_jobId_fkey
JobScreeningQuestions.jobId
Jobs.id
Cascade on delete
JobScreeningQuestions_introVideoPreferredLanguage_fkey
JobScreeningQuestions.introVideoPreferredLanguage
Languages.code
Cascade on delete
ScheduledPushNotifications_userId_fkey
ScheduledPushNotifications.userId
Users.id
Restrict delete
InternalTalentProfileGlintsUsers_sourceProfileId_fkey
InternalTalentProfileGlintsUsers.sourceProfileId
Users.id
Cascade on delete
InternalTalentProfileGlintsUsers_MergedTalentProfileId_fkey
InternalTalentProfileGlintsUsers.MergedTalentProfileId
MergedTalentProfiles.id
Cascade on delete
InterceptedFraudMessages_jobId_fkey
InterceptedFraudMessages.jobId
Jobs.id
Null on delete
InterceptedFraudMessages_ResolverId_fkey
InterceptedFraudMessages.ResolverId
Users.id
Null on delete
InterceptedFraudMessages_fraudCaseFileId_fkey
InterceptedFraudMessages.fraudCaseFileId
FraudCaseFiles.id
Restrict delete
InterceptedFraudMessages_senderId_fkey
InterceptedFraudMessages.senderId
Users.id
Null on delete
Organizations_IndustryId_fkey
Organizations.IndustryId
Industries.id
Restrict delete
Organizations_LocationId_fkey
Organizations.LocationId
Locations.id
Restrict delete
Organizations_CityId_fkey
Organizations.CityId
Cities.id
Restrict delete
Organizations_CountryCode_fkey
Organizations.CountryCode
Countries.code
Restrict delete
Organizations_GeneratedByUserId_fkey
Organizations.GeneratedByUserId
Users.id
Restrict delete
Orders_PromotionCodeId_fkey
Orders.PromotionCodeId
ExpertClassPromotionCodes.id
Restrict delete
Orders_CustomerId_fkey
Orders.CustomerId
Users.id
Null on delete
ExpertClassApplications_expertId_fkey
ExpertClassApplications.expertId
Experts.id
Cascade on delete
ExpertClassApplications_publishedExpertClassId_fkey
ExpertClassApplications.publishedExpertClassId
ExpertClasses.id
Restrict delete
ExpertClassApplications_expertClassLanguageId_fkey
ExpertClassApplications.expertClassLanguageId
ExpertClassLanguages.id
Restrict delete
JobSkills_JobId_fkey
JobSkills.JobId
Jobs.id
Restrict delete
JobSkills_SkillId_fkey
JobSkills.SkillId
Skills.id
Cascade on delete
JobStatusLogs_jobId_fkey
JobStatusLogs.jobId
Jobs.id
Cascade on delete
JobStatusLogs_actionUserId_fkey
JobStatusLogs.actionUserId
Users.id
Null on delete
DailyMetricsForJobs_timezone_fkey
DailyMetricsForJobs.timezone
Timezones.name
Restrict delete
DailyMetricsForJobs_CompanyId_fkey
DailyMetricsForJobs.CompanyId
Companies.id
Restrict delete
DailyMetricsForJobs_JobId_fkey
DailyMetricsForJobs.JobId
Jobs.id
Restrict delete
Scores_CompanyId_fkey
ProfileCompletionScores.CompanyId
Companies.id
Restrict delete
Scores_UserId_fkey
ProfileCompletionScores.UserId
Users.id
Null on delete
ExpertClassCertificates_ExpertClassId_fkey
ExpertClassCertificates.ExpertClassId
ExpertClasses.id
Restrict delete
ExpertClassCertificates_UserId_fkey
ExpertClassCertificates.UserId
Users.id
Restrict delete
ExternalTalentProfileLinkedInUsers_MergedTalentProfileId_fkey
ExternalTalentProfileLinkedInUsers.MergedTalentProfileId
MergedTalentProfiles.id
Cascade on delete
CandidateExperiences_UserId_fkey
CandidateExperiences.UserId
Users.id
Cascade on delete
ExpertClassZoomPlatforms_ExpertClassPlatformId_fkey
ExpertClassZoomPlatforms.ExpertClassPlatformId
ExpertClassPlatforms.id
Restrict delete
JobCategories_HierarchicalJobCategoryId_fkey
JobCategories.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Restrict delete
HoustonTransferCompanyActionLogs_houstonActionLogId_fkey
HoustonTransferCompanyActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
HoustonTransferCompanyActionLogs_companyId_fkey
HoustonTransferCompanyActionLogs.companyId
Companies.id
Cascade on delete
HoustonTransferCompanyActionLogs_newEmployerServiceRepId_fkey
HoustonTransferCompanyActionLogs.newEmployerServiceRepId
Users.id
Cascade on delete
HoustonTransferCompanyActionLogs_oldEmployerServiceRepId_fkey
HoustonTransferCompanyActionLogs.oldEmployerServiceRepId
Users.id
Cascade on delete
UserMessagingResponseStatistics_UserId_fkey
UserMessagingResponseStatistics.UserId
Users.id
Cascade on delete
LegacyJobCategoryMappings_LegacyJobCategoryId_fkey
LegacyJobCategoryMappings.LegacyJobCategoryId
JobCategories.id
Restrict delete
LegacyJobCategoryMappings_HierarchicalJobCategoryId_fkey
LegacyJobCategoryMappings.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Restrict delete
LegacyJobCategoryMappings_LegacyJobTitleId_fkey
LegacyJobCategoryMappings.LegacyJobTitleId
JobTitles.id
Restrict delete
LocationHierarchicalMappings_citySubDivisionId_fkey
LocationHierarchicalMappings.citySubDivisionId
CitySubDivisions.id
Restrict delete
LocationHierarchicalMappings_cityId_fkey
LocationHierarchicalMappings.cityId
Cities.id
Restrict delete
LocationHierarchicalMappings_countryCode_fkey
LocationHierarchicalMappings.countryCode
Countries.code
Restrict delete
LocationHierarchicalMappings_locationId_fkey
LocationHierarchicalMappings.locationId
Locations.id
Restrict delete
Identities_UserId_fkey
Identities.UserId
Users.id
Cascade on delete
ExpertClassClassCategories_CategoryId_fkey
ExpertClassClassCategories.CategoryId
ExpertClassCategories.id
Restrict delete
ExpertClassClassCategories_ExpertClassId_fkey
ExpertClassClassCategories.ExpertClassId
ExpertClasses.id
Restrict delete
ExpertClassApplicationCSVExportRequests_exporterId_fkey
ExpertClassApplicationCSVExportRequests.exporterId
Users.id
Cascade on delete
ExpertClassExpertClassPromotionCodes_ExpertClassId_fkey
ExpertClassExpertClassPromotionCodes.ExpertClassId
ExpertClasses.id
Cascade on delete
ExpertClassExpertClassPromotionCodes_PromotionCodeId_fkey
ExpertClassExpertClassPromotionCodes.PromotionCodeId
ExpertClassPromotionCodes.id
Cascade on delete
Experts_userId_fkey
Experts.userId
Users.id
Null on delete
EmailLog_RecipientId_fkey
EmailLogs.RecipientId
Users.id
Cascade on delete
ScheduledPushNotificationRecip_scheduledPushNotificationId_fkey
ScheduledPushNotificationRecipients.scheduledPushNotificationId
ScheduledPushNotifications.id
Cascade on delete
ScheduledPushNotificationRecipients_recipientUserId_fkey
ScheduledPushNotificationRecipients.recipientUserId
Users.id
Cascade on delete
TalentHuntJobApplications_RecommendationId_fkey
TalentHuntJobApplications.RecommendationId
Recommendations.id
Restrict delete
TalentHuntJobApplications_JobId_fkey
TalentHuntJobApplications.JobId
Jobs.id
Restrict delete
TalentHuntJobApplications_ApplicationId_fkey
TalentHuntJobApplications.ApplicationId
Applications.id
Restrict delete
TalentHuntJobApplications_CandidateId_fkey
TalentHuntJobApplications.CandidateId
Users.id
Restrict delete
TalentHuntJobApplications_CreatorId_fkey
TalentHuntJobApplications.CreatorId
Users.id
Restrict delete
TalentHuntJobApplications_RecruiterId_fkey
TalentHuntJobApplications.RecruiterId
Users.id
Restrict delete
ExpertApplicationOtherRejectionReasons_expertApplicationId_fkey
ExpertApplicationOtherRejectionReasons.expertApplicationId
ExpertApplications.id
Cascade on delete
UserJobSearchConditions_UserId_fkey
UserJobSearchConditions.UserId
Users.id
Restrict delete
RecommendationRejectionReasons_RejectionRecommendationId
RecommendationRejectionReasons.RejectionRecommendationId
Recommendations.id
Restrict delete
RecommendationRejectionReasons_RecommendationStatusLogId_fkey
RecommendationRejectionReasons.RecommendationStatusLogId
RecommendationStatusLogs.id
Restrict delete
ExpertContacts_expertId_fkey
ExpertContacts.expertId
Experts.id
Cascade on delete
UnifiedCompanyHubspotLinks_CuratorId_fkey
UnifiedCompanyHubspotLinks.CuratorId
Users.id
Restrict delete
UnifiedCompanyHubspotLinks_UnifiedCompanyId_fkey
UnifiedCompanyHubspotLinks.UnifiedCompanyId
UnifiedCompanies.id
Restrict delete
UserBannerTrackings_UserId_fkey
UserBannerTrackings.UserId
Users.id
Cascade on delete
FraudUpdateForJobs_jobId_fkey
FraudUpdateForJobs.jobId
Jobs.id
Cascade on delete
FraudUpdateForJobs_houstonUserId_fkey
FraudUpdateForJobs.houstonUserId
Users.id
Null on delete
JobSkillDrafts_JobDraftId_fkey
JobSkillDrafts.JobDraftId
JobDrafts.id
Cascade on delete
JobSkillDrafts_SkillId_fkey
JobSkillDrafts.SkillId
Skills.id
Cascade on delete
ExpertClassPlatforms_ExpertClassId_fkey
ExpertClassPlatforms.ExpertClassId
ExpertClasses.id
Restrict delete
Shares_UserId_fkey
Shares.UserId
Users.id
Restrict delete
JobRolePreferences_JobCategoryId_fkey
JobRolePreferences.JobCategoryId
JobCategories.id
Cascade on delete
JobRolePreferences_HierarchicalJobCategoryId_fkey
JobRolePreferences.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Null on delete
JobRolePreferences_UserId_fkey
JobRolePreferences.UserId
Users.id
Cascade on delete
JobRolePreferences_JobTitleId_fkey
JobRolePreferences.JobTitleId
JobTitles.id
Cascade on delete
ApplicationRejectionMessages_UserId_fkey
ApplicationRejectionMessages.UserId
Users.id
Cascade on delete
JobQualityIssues_JobId_fkey
JobQualityIssues.JobId
Jobs.id
Cascade on delete
Cities_CountryCode_fkey
Cities.CountryCode
Countries.code
Cascade on delete
JobScreeningQuestionCustomPlainText_jobScreeningQuestionId_fkey
JobScreeningQuestionCustomPlainTexts.jobScreeningQuestionId
JobScreeningQuestions.id
Cascade on delete
ExpertClassSpeakers_ExpertClassId_fkey
ExpertClassSpeakers.ExpertClassId
ExpertClasses.id
Restrict delete
ExpertClassSpeakers_UserId_fkey
ExpertClassSpeakers.UserId
Users.id
Restrict delete
Location_MPTT_parentId_fkey
Location_MPTT.parentId
Location_MPTT.id
Cascade on delete
Location_MPTT_id_fkey
Location_MPTT.id
Locations.id
Cascade on delete
SuggestedJobValuesByCategory_countryCode_fkey
SuggestedJobValuesByCategory.countryCode
Countries.code
Cascade on delete
SuggestedJobValuesByCategory_hierarchicalJobCategoryId_fkey
SuggestedJobValuesByCategory.hierarchicalJobCategoryId
HierarchicalJobCategories.id
Cascade on delete
Following_FollowedUserId_fkey
Following.FollowedUserId
Users.id
Restrict delete
Following_FollowerUserId_fkey
Following.FollowerUserId
Users.id
Restrict delete
ApplicationStatusChangePointSources_AllocationId_fkey
ApplicationStatusChangePointSources.AllocationId
OdysseyPointAllocations.id
Cascade on delete
ApplicationStatusChangePointSources_ApplicationStatusLogId_fkey
ApplicationStatusChangePointSources.ApplicationStatusLogId
ApplicationStatusLogs.id
Restrict delete
CompanyAddresses_companyId_fkey
CompanyAddresses.companyId
Companies.id
Cascade on delete
CompanyAddresses_locationId_fkey
CompanyAddresses.locationId
Locations.id
Restrict delete
CompanyAddresses_creatorId_fkey
CompanyAddresses.creatorId
Users.id
Null on delete
CompanyAddresses_pointOfInterestId_fkey
CompanyAddresses.pointOfInterestId
PointOfInterests.id
Restrict delete
MobileAppVersions_countryCode_fkey
MobileAppVersions.countryCode
Countries.code
Restrict delete
MobileAppVersions_editorid_fkey
MobileAppVersions.editorId
Users.id
Restrict delete
ApplicationFormConfigByJobCategori_secondQuestionReference_fkey
ApplicationFormConfigByJobCategories.secondQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationFormConfigByJobCategorie_fifthQuestionReference_fkey
ApplicationFormConfigByJobCategories.fifthQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationFormConfigByJobCategorie_sixthQuestionReference_fkey
ApplicationFormConfigByJobCategories.sixthQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationFormConfigByJobCatego_HierarchicalJobCategoryId_fkey
ApplicationFormConfigByJobCategories.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Restrict delete
ApplicationFormConfigByJobCategori_fourthQuestionReference_fkey
ApplicationFormConfigByJobCategories.fourthQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationFormConfigByJobCategorie_firstQuestionReference_fkey
ApplicationFormConfigByJobCategories.firstQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
ApplicationFormConfigByJobCategorie_thirdQuestionReference_fkey
ApplicationFormConfigByJobCategories.thirdQuestionReference
CustomHiringManagerQuestionsConfigs.name
Restrict delete
JobTitles_JobCategoryId_fkey
JobTitles.JobCategoryId
JobCategories.id
Cascade on delete
JobTitles_HierarchicalJobCategoryId_fkey
JobTitles.HierarchicalJobCategoryId
HierarchicalJobCategories.id
Restrict delete
ExpertClassApplicationExpertiseTopics_expertiseTopicId_fkey
ExpertClassApplicationExpertiseTopics.expertiseTopicId
ExpertiseTopics.id
Cascade on delete
ExpertClassApplicationExpertiseTo_expertClassApplicationId_fkey
ExpertClassApplicationExpertiseTopics.expertClassApplicationId
ExpertClassApplications.id
Cascade on delete
CompanyIdentities_companyId_fkey
CompanyIdentities.companyId
Companies.id
Cascade on delete
PotentialLeadIgnoreReasons_potentialLeadId_fkey
PotentialLeadIgnoreReasons.potentialLeadId
PotentialLeads.id
Cascade on delete
UserDeletionLogs_userDeletionRequestId_fkey
UserDeletionLogs.userDeletionRequestId
UserDeletionRequests.id
Restrict delete
UserNotificationPreferences_CategoryId_fkey
UserNotificationPreferences.CategoryId
NotificationPreferenceCategories.id
Cascade on delete
UserNotificationPreferences_UserId_fkey
UserNotificationPreferences.UserId
Users.id
Cascade on delete
AppleLoginFields_IdentitiesId_fkey
AppleLoginFields.IdentitiesId
AppleLoginFields.IdentitiesType
Identities.id
Identities.type
Cascade on delete
JobDraftScreeningQuestionDocum_jobDraftScreeningQuestionId_fkey
JobDraftScreeningQuestionDocumentAndCertificates.jobDraftScreeningQuestionId
JobDraftScreeningQuestions.id
Cascade on delete
JobDraftScreeningQuestionDocument_documentAndCertificateId_fkey
JobDraftScreeningQuestionDocumentAndCertificates.documentAndCertificateId
DocumentAndCertificates.id
Cascade on delete
TalentReservations_RecruiterId_fkey
TalentReservations.RecruiterId
Users.id
Cascade on delete
TalentReservations_TalentId_fkey
TalentReservations.TalentId
Users.id
Cascade on delete
UserCandidateStatusLogs_CreatorId_fkey
UserCandidateStatusLogs.CreatorId
Users.id
Restrict delete
UserCandidateStatusLogs_CandidateId_fkey
UserCandidateStatusLogs.CandidateId
Users.id
Restrict delete
LiveRoomReminders_LiveRoomId_fkey
LiveRoomReminders.LiveRoomId
LiveRooms.id
Cascade on delete
LiveRoomReminders_UserId_fkey
LiveRoomReminders.UserId
Users.id
Cascade on delete
UserCompanyLogs_actionPerformerId_fkey
UserCompanyLogs.actionPerformerId
Users.id
Null on delete
UserCompanyLogs_userId_fkey
UserCompanyLogs.userId
Users.id
Cascade on delete
UserCompanyLogs_companyId_fkey
UserCompanyLogs.companyId
Companies.id
Cascade on delete
ExpertClassGoogleInAppPayments_orderPaymentOrderId_paymentProvi
ExpertClassGoogleInAppPayments.orderPaymentOrderId
ExpertClassGoogleInAppPayments.paymentProvider
OrderPayments.OrderId
OrderPayments.paymentProvider
Restrict delete
ExpertClassGoogleInAppPayments_expertClassInAppProductId_fkey
ExpertClassGoogleInAppPayments.expertClassInAppProductId
ExpertClassInAppProducts.id
Restrict delete
ShareSignUps_ShareId_fkey
ShareSignUps.ShareId
Shares.id
Restrict delete
ShareSignUps_UserId_fkey
ShareSignUps.UserId
Users.id
Restrict delete
TalentHuntEnquiries_SupervisorId_fkey
TalentHuntEnquiries.SupervisorId
TalentHuntEnquirers.id
Restrict delete
TalentHuntEnquiries_PrimaryEnquirerId_fkey
TalentHuntEnquiries.PrimaryEnquirerId
TalentHuntEnquirers.id
Restrict delete
TalentHuntEnquiries_CompanyCityId_fkey
TalentHuntEnquiries.CompanyCityId
Cities.id
Restrict delete
AfterOrderPaidNotifications_orderId_fkey
AfterOrderPaidNotifications.orderId
Orders.id
Cascade on delete
AfterOrderPaidNotifications_NotificationId_fkey
AfterOrderPaidNotifications.NotificationId
Notifications.id
Cascade on delete
ExpertClassTicketPrices_ticketId_fkey
ExpertClassTicketPrices.ticketId
ExpertClassTicketTypes.id
Cascade on delete
JobBenefitDrafts_JobDraftId_fkey
JobBenefitDrafts.JobDraftId
JobDrafts.id
Cascade on delete
HoustonReactivateCompanyActionLogs_companyId_fkey
HoustonReactivateCompanyActionLogs.companyId
Companies.id
Cascade on delete
HoustonReactivateCompanyActionLogs_houstonActionLogId_fkey
HoustonReactivateCompanyActionLogs.houstonActionLogId
HoustonActionLogs.id
Cascade on delete
ApiClients_CreatorId_fkey
ApiClients.CreatorId
Users.id
Null on delete
FraudCaseFiles_CompanyId_fkey
FraudCaseFiles.CompanyId
Companies.id
Cascade on delete
NoRecentApplicationStatusNotifications_NotificationId_fkey
NoRecentApplicationStatusNotifications.NotificationId
Notifications.id
Cascade on delete

Check Constraints

Table Constraint Name Constraint
WhatsappLogs WhatsappLogs_failureReason_nullable_check ((((status = 'FAILED'::"enum_WhatsappLogs_status") AND ("failureReason" IS NOT NULL)) OR ((status <> 'FAILED'::"enum_WhatsappLogs_status") AND ("failureReason" IS NULL))))
LiveRooms LiveRooms_maxParticipants_check (("maxParticipants" >= 0))
Preferences Preferences_maxSalaryExpectation_check (((("salaryExpectation" IS NOT NULL) AND (COALESCE("maxSalaryExpectation", 0) >= COALESCE("salaryExpectation", 0))) OR ("maxSalaryExpectation" IS NULL)))
Preferences preferredStartDateCheck (("preferredStartDate" <= '9999-12-31 23:59:59+00'::timestamp with time zone))
OdysseyMaxApplicationsNotifications OdysseyMaxApplicationsNotifications_applicationCount_check (("applicationCount" > 0))
ReportedJobs ReportedJobs_resolution_reason_if_invalid (((("resolutionStatus" = 'INVALID'::"enum_ReportResolutionStatus") AND ("resolutionReason" IS NOT NULL)) OR (("resolutionStatus" = ANY (ARRAY['PENDING'::"enum_ReportResolutionStatus", 'VALID'::"enum_ReportResolutionStatus"])) AND ("resolutionReason" IS NULL))))
Companies check_chatTranscripts_length ((array_length("chatTranscripts", 1) <= 5))
Companies check_companyPICSelfies_length ((array_length("companyPICSelfies", 1) <= 5))
UserCompanyRoleLogs previousRole_and_updatedRole_check (("previousRole" <> "updatedRole"))
Users_cdc_test company_role_in_company_only_check (((("companyRole" IS NOT NULL) AND (role = 'COMPANY'::"enum_Users_role")) OR ("companyRole" IS NULL)))
Users_cdc_test shadowBanned_BanningOperatorId_bannedAt_consistencyCheck (((("shadowBanned" IS FALSE) AND ("BanningOperatorId" IS NULL) AND ("banNote" IS NULL) AND ("bannedAt" IS NULL)) OR (("shadowBanned" IS TRUE) AND ("BanningOperatorId" IS NOT NULL) AND ("bannedAt" IS NOT NULL))))
OdysseyTargets OdysseyTargets_applicationsPerWeek_check (("applicationsPerWeek" > 0))
OdysseyTargets OdysseyTargets_durationInDays_check (("durationInDays" > 0))
ExpertClassTicketTypePriceOptions ExpertClassTicketTypePriceOptions_isDefault_true_or_null ("isDefault")
Jobs Jobs_closedAt_check ((((status = 'CLOSED'::"enum_Jobs_status") AND ("closedAt" IS NOT NULL)) OR ((status <> 'CLOSED'::"enum_Jobs_status") AND ("closedAt" IS NULL))))
Jobs Jobs_expiryDate_check (("expiryDate" <= (now() + '41 days'::interval))) NOT VALID
Jobs Jobs_HierarchicalJobCategoryId_not_null_non_closed_Jobs (((status = 'CLOSED'::"enum_Jobs_status") OR ("HierarchicalJobCategoryId" IS NOT NULL)))
Jobs Jobs_maxAge_check (((("maxAge" IS NOT NULL) AND ("maxAge" >= 0) AND ("maxAge" <= 100)) OR ("maxAge" IS NULL)))
Jobs Jobs_minAge_check (((("minAge" IS NOT NULL) AND ("minAge" >= 0) AND ("minAge" <= 100)) OR ("minAge" IS NULL)))
Jobs Jobs_no_duplicate_job_constraint (((companies_get_country_code("CompanyId") <> 'VN'::text) OR (status <> 'OPEN'::"enum_Jobs_status") OR jobs_check_duplicate_job(id, (title)::text, "DistrictId", "descriptionRaw"))) NOT VALID
Jobs minAge_and_maxAge_check (((("minAge" IS NOT NULL) AND ("maxAge" IS NOT NULL) AND ("minAge" < "maxAge")) OR ("minAge" IS NULL) OR ("maxAge" IS NULL)))
TalentHuntEnquirers phone_country_code_check ((((phone IS NOT NULL) AND ("phoneCountryCode" IS NOT NULL)) OR ((phone IS NULL) AND ("phoneCountryCode" IS NULL))))
JobDrafts JobDrafts_maxAge_check (((("maxAge" IS NOT NULL) AND ("maxAge" >= 0) AND ("maxAge" <= 100)) OR ("maxAge" IS NULL)))
JobDrafts JobDrafts_minAge_check (((("minAge" IS NOT NULL) AND ("minAge" >= 0) AND ("minAge" <= 100)) OR ("minAge" IS NULL)))
JobDrafts minAge_and_maxAge_check (((("minAge" IS NOT NULL) AND ("maxAge" IS NOT NULL) AND ("minAge" < "maxAge")) OR ("minAge" IS NULL) OR ("maxAge" IS NULL)))
OrderPayments OrderPayments_amount_check ((total > (0)::numeric))
JobFraudAnalysisRecords JobFraudAnalysisRecords_analysisStatus_reason_nullable_check (((("analysisStatus" = 'FAILED'::"enum_JobFraudAnalysisRecords_analysisStatus") AND ("reasonForFailure" IS NOT NULL)) OR (("analysisStatus" <> 'FAILED'::"enum_JobFraudAnalysisRecords_analysisStatus") AND ("reasonForFailure" IS NULL))))
ExpertApplicationWorkExperiences ExpertApplicationWorkExperiences_experienceType_check (("experienceType" = 'WORK'::"enum_Experiences_type"))
XenditPaymentRequestCallbackLogs XenditPaymentRequestCallbackLogs_transactionFailureCode_nullabl (((("transactionStatus" = 'FAILED'::"enum_XenditPaymentRequestCallbackLogs_transactionStatus") AND ("transactionFailureCode" IS NOT NULL)) OR (("transactionStatus" <> 'FAILED'::"enum_XenditPaymentRequestCallbackLogs_transactionStatus") AND ("transactionFailureCode" IS NULL))))
RevenueCatWebhookLogs RevenueCatWebhookLogs_failureReason_nullable_check ((((status = 'FAILED'::"enum_RevenueCatWebhookLogs_status") AND ("failureReason" IS NOT NULL)) OR ((status <> 'FAILED'::"enum_RevenueCatWebhookLogs_status") AND ("failureReason" IS NULL)))) NOT VALID
CompanyStatusLog CompanyStatusLog_statusChangeReason_check ((("statusChangeReason" IS NULL) OR (("statusChangeReason" = 'VERIFICATION_WHITELISTED_EMAIL_DOMAIN'::"enum_CompanyStatusLog_statusChangeReason") AND (status = 'VERIFIED'::"enum_Company_status")) OR (("statusChangeReason" = ANY (ARRAY['DUPLICATE_LEGAL_REGISTRATION_NUMBER'::"enum_CompanyStatusLog_statusChangeReason", 'BLACKLISTED_LEGAL_REGISTRATION_NUMBER'::"enum_CompanyStatusLog_statusChangeReason", 'INVALID_BUSINESS_LICENSE'::"enum_CompanyStatusLog_statusChangeReason"])) AND (status = 'REJECTED'::"enum_Company_status"))))
ExpertClassTicketTypes ExpertClassTicketType_endSalesAt_check (("endSalesAt" > "startSalesAt"))
ExpertClassTicketTypes ExpertClassTicketTypes_quantity_check (("reservedQuantity" <= "maxQuantity"))
ExpertClassTicketTypePriceRangeOptions ExpertClassTicketTypePriceRangeOptions_from_greater_than_to (("from" < "to"))
CompanyVerificationRequests CompanyVerificationRequests_approved_status_check ((((status = 'APPROVED'::"enum_CompanyVerificationRequests_status") AND ("approvedAt" IS NOT NULL)) OR ((status <> 'APPROVED'::"enum_CompanyVerificationRequests_status") AND ("approvedAt" IS NULL))))
CompanyVerificationRequests rejectionReasons_and_rejectionReasonText_check ((((status = 'REJECTED'::"enum_CompanyVerificationRequests_status") AND ("rejectionReasons" IS NOT NULL) AND ("rejectionReasonText" IS NOT NULL)) OR ((status <> 'REJECTED'::"enum_CompanyVerificationRequests_status") AND ("rejectionReasons" IS NULL) AND ("rejectionReasonText" IS NULL))))
StreakPointSources StreakPointSources_streakAmount_check (("streakAmount" > 0))
CompanyApplicationCountAggregates CompanyApplicationCountAggregates_applicationCount_check (("applicationCount" >= 0))
ExpertClassBanners ExpertClassBanners_endsAt_check (("endsAt" > "startsAt"))
ExpertClassBanners ExpertClassBanners_order_check (("order" > 0))
HoustonTransferCompanyTaskLogs HoustonTransferCompanyTaskLogs_taskStatus_errorMessage_check ((("taskStatus" = 'FAILURE'::"enum_HoustonTransferCompanyTaskLogs_taskStatus") OR ("errorMessage" IS NULL)))
HoustonTransferCompanyTaskLogs HoustonTransferCompanyTaskLogs_taskStatus_jobsTransferred_check ((("taskStatus" = 'SUCCESS'::"enum_HoustonTransferCompanyTaskLogs_taskStatus") OR ("jobsTransferred" IS NULL)))
ExpertClassReminderNotifications ExpertClassReminderNotifications_millisBeforeStartTime_check (("millisBeforeStartTime" >= 0))
ExpertClassReminderNotifications ExpertClassReminderNotifications_millisBeforeStartTime_options_ ((("millisBeforeStartTime" = 3600000) OR ("millisBeforeStartTime" = 86400000)))
CompanyDeletionRequests CompanyDeletionRequests_status_errorMessage_check ((((status = 'FAILURE'::"enum_CompanyDeletionRequests_status") AND ("errorMessage" IS NOT NULL)) OR ((status <> 'FAILURE'::"enum_CompanyDeletionRequests_status") AND ("errorMessage" IS NULL))))
Users company_role_in_company_only_check (((("companyRole" IS NOT NULL) AND (role = 'COMPANY'::"enum_Users_role")) OR ("companyRole" IS NULL)))
Users shadowBanned_BanningOperatorId_bannedAt_consistencyCheck (((("shadowBanned" IS FALSE) AND ("BanningOperatorId" IS NULL) AND ("banNote" IS NULL) AND ("bannedAt" IS NULL)) OR (("shadowBanned" IS TRUE) AND ("BanningOperatorId" IS NOT NULL) AND ("bannedAt" IS NOT NULL))))
CompanyVerificationRequestStatusChangeLogs previousStatus_and_updatedStatus_check (("previousStatus" <> "updatedStatus"))
OdysseyPointAllocations OdysseyPointAllocations_value_check ((value > 0))
OdysseyWeeklyTargetNotifications OdysseyWeeklyTargetNotifications_pointsToNextBadge_check (("pointsToNextBadge" > 0))
UserResumeParserUsageCounts UserResumeParserUsageCounts_countForDaxtra_check (("countForDaxtra" > 0))
ExpertClassPromotionCodes ExpertClassPromotionCodes_code_lowercase_check (((code)::text = lower((code)::text)))
ExpertClassPromotionCodes ExpertClassPromotionCodes_maxAmountDiscount_check (((("maxAmountDiscount" IS NOT NULL) AND ("maxAmountDiscount" > (0)::numeric)) OR ("maxAmountDiscount" IS NULL)))
ExpertClassPromotionCodes ExpertClassPromotionCodes_minExpertClassPriceToApply_check (((("minExpertClassPriceToApply" IS NOT NULL) AND ("minExpertClassPriceToApply" > (0)::numeric)) OR ("minExpertClassPriceToApply" IS NULL)))
ExpertClassPromotionCodes ExpertClassPromotionCodes_startsAt_check ((("expiresAt" IS NULL) OR ("startsAt" <= "expiresAt"))) NOT VALID
ExpertClassApplications ExpertClassApplications_applicationStatus_check (((("classStatus" IS NOT NULL) AND ("applicationStatus" = 'APPROVED'::"enum_ExpertClassApplicationStatus_type")) OR (("classStatus" IS NULL) AND ("applicationStatus" <> 'APPROVED'::"enum_ExpertClassApplicationStatus_type"))))
ExpertClassApplications ExpertClassApplications_numberOfRelatedClasses_check (("numberOfRelatedClasses" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_applicationsCount_check (("applicationsCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_clicksCount_check (("clicksCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_expiredApplicationsCount_check (("expiredApplicationsCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_impressionsCount_check (("impressionsCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_processedApplicationsCount_check (("processedApplicationsCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_shortlistedApplicationsCount_check (("shortlistedApplicationsCount" >= 0))
DailyMetricsForJobs DailyMetricsForJobs_viewedApplicationsCount_check (("viewedApplicationsCount" >= 0))
UserMessagingResponseStatistics UserMessagingResponseStatistics_responseRate_check ((("responseRate" >= (0)::double precision) AND ("responseRate" <= (1)::double precision)))
UserMessagingResponseStatistics UserMessagingResponseStatistics_responseTime_check (("responseTime" >= (0)::double precision))
ExpertClassApplicationCSVExportRequests ExpertClassApplicationCSVExportRequests_toDate_greater_than_fro (("fromDate" <= "toDate"))
RecommendationRejectionReasons RecommendationRejectionReasons_otherReason_check (((reason = 'OTHER'::"enum_Recommendations_rejectionReason") OR ((reason <> 'OTHER'::"enum_Recommendations_rejectionReason") AND ("otherReason" IS NULL))))
FraudUpdateForJobs FraudUpdateForJobs_fraudReportFlag_check (("previousFraudReportFlag" <> "newFraudReportFlag"))
FraudUpdateForJobs FraudUpdateForJobs_updateType_houstonUserId_nullable_check (((("updateType" = 'MANUAL'::"enum_FraudUpdateForJobs_updateType") AND ("houstonUserId" IS NOT NULL)) OR (("updateType" = 'AUTO'::"enum_FraudUpdateForJobs_updateType") AND ("houstonUserId" IS NULL))))
SuggestedJobValuesByCategory SuggestedJobValuesByCategory_check_experience_range (("minYearsOfExperience" < "maxYearsOfExperience"))
SuggestedJobValuesByCategory SuggestedJobValuesByCategory_maxYearsOfExperience_check ((("maxYearsOfExperience" >= 0) AND ("maxYearsOfExperience" <= 50)))
SuggestedJobValuesByCategory SuggestedJobValuesByCategory_minYearsOfExperience_check ((("minYearsOfExperience" >= 0) AND ("minYearsOfExperience" <= 50)))
Following FollowerUserId_cannot_be_equal_to_FollowerUserId (("FollowedUserId" <> "FollowerUserId"))
MobileAppVersions MobileAppVersions_major_check ((major >= 0))
MobileAppVersions MobileAppVersions_minor_check ((minor >= 0))
MobileAppVersions MobileAppVersions_patch_check ((patch >= 0))
AppleLoginFields AppleLoginFields_IdentitiesType_check (("IdentitiesType" = 'APPLE'::"enum_Identities_type"))
ExpertClassGoogleInAppPayments ExpertClassGoogleInAppPayments_paymentProvider_check (("paymentProvider" = 'GOOGLE_PLAY'::"enum_Payment_provider"))
TalentHuntEnquiries company_phone_country_code_check (((("companyPhone" IS NOT NULL) AND ("companyPhoneCountryCode" IS NOT NULL)) OR (("companyPhone" IS NULL) AND ("companyPhoneCountryCode" IS NULL))))
FraudCaseFiles FraudCaseFiles_status_valid ((((status = 'PENDING'::"enum_FraudCaseFiles_status") AND ("statusReason" = ANY (ARRAY['FURTHER_INVESTIGATION_REQUIRED'::"enum_FraudCaseFiles_statusReason", 'WAITING_FOR_FOLLOW_UP_RESULT'::"enum_FraudCaseFiles_statusReason", 'WAITING_FOR_QUANTITATIVE_EVIDENCE'::"enum_FraudCaseFiles_statusReason", 'REOPENED'::"enum_FraudCaseFiles_statusReason"]))) OR ((status = 'RESOLVED'::"enum_FraudCaseFiles_status") AND ("statusReason" = ANY (ARRAY['CONFIRMED_FRAUD'::"enum_FraudCaseFiles_statusReason", 'DIRECT_TO_QUALITY'::"enum_FraudCaseFiles_statusReason", 'COMPANY_ALREADY_BLOCKED'::"enum_FraudCaseFiles_statusReason", 'CONFIRMED_NOT_FRAUD'::"enum_FraudCaseFiles_statusReason"]))) OR ((status = 'IGNORED'::"enum_FraudCaseFiles_status") AND ("statusReason" IS NULL))))
NoRecentApplicationStatusNotifications data_json_applications_count_value_check (("dataJson" @? '$."applicationsCount"[*]?(@ >= 0)'::jsonpath))
NoRecentApplicationStatusNotifications data_json_applicationsCreatedSince_key_value_check (((("dataJson")::json -> 'applicationsCreatedSince'::text) IS NOT NULL))
NoRecentApplicationStatusNotifications data_json_applicationsCreatedUntil_key_value_check (((("dataJson")::json -> 'applicationsCreatedUntil'::text) IS NOT NULL))
NoRecentApplicationStatusNotifications data_json_applicationsStatuses_key_value_check ((((("dataJson")::json -> 'applicationsStatuses'::text) IS NOT NULL) AND (json_array_length((("dataJson")::json -> 'applicationsStatuses'::text)) >= 1)))
NoRecentApplicationStatusNotifications data_json_company_logo_key_value_check ((((("dataJson")::json -> 'companyLogos'::text) IS NOT NULL) AND (json_array_length((("dataJson")::json -> 'companyLogos'::text)) >= 1)))
NoRecentApplicationStatusNotifications data_json_job_title_key_value_check (((("dataJson")::json -> 'jobTitle'::text) IS NOT NULL))