Constraints

58 Foreign Key Constraints

Constraint Name Child Column Parent Column Delete Rule
wallets_userEmail_fkey
wallets.userEmail
users.email
Restrict delete
user_co_founder_info_userId_fkey
user_co_founder_info.userId
users.id
Restrict delete
user_co_founder_info_startUpDataId_fkey
user_co_founder_info.startUpDataId
startup_data_v2.id
Null on delete
_UserToUserPosition_B_fkey
_UserToUserPosition.B
user_positions.id
Cascade on delete
_UserToUserPosition_A_fkey
_UserToUserPosition.A
users.id
Cascade on delete
investor_watch_list_startupDataId_fkey
investor_watch_list.startupDataId
startup_data_v2.id
Restrict delete
ip_assets_blockchains_asset_id_fkey
ip_assets_blockchains.asset_id
ip_assets_startup.id
Restrict delete
ip_assets_blockchains_blockchain_id_fkey
ip_assets_blockchains.blockchain_id
blockchains.id
Restrict delete
service_transactions_service_pricing_id_fkey
service_transactions.service_pricing_id
service_pricing.id
Restrict delete
service_transactions_user_id_fkey
service_transactions.user_id
users.id
Restrict delete
investor_survey_question_id_fkey
investor_survey.question_id
investor_survey_preferences.id
Restrict delete
investor_survey_investorDataId_fkey
investor_survey.investorDataId
investor_data_v2.id
Restrict delete
ip_assets_authors_asset_id_fkey
ip_assets_authors.asset_id
ip_assets_startup.id
Restrict delete
ip_assets_authors_user_id_fkey
ip_assets_authors.user_id
users.id
Restrict delete
ip_assets_authors_wallet_id_fkey
ip_assets_authors.wallet_id
wallets.id
Null on delete
startup_rounds_parent_id_fkey
startup_rounds.parent_id
startup_rounds.id
Null on delete
startup_pitсhdeck_history_user_id_fkey
startup_pitсhdeck_history.user_id
users.id
Restrict delete
startup_pitсhdeck_history_pitch_deck_verification_status__fkey
startup_pitсhdeck_history.pitch_deck_verification_status_id
pitch_deck_verification_status.id
Null on delete
startup_pitсhdeck_history_pitch_deck_verification_type_id_fkey
startup_pitсhdeck_history.pitch_deck_verification_type_id
service_pricing.id
Null on delete
startup_pitсhdeck_history_startUpDataId_fkey
startup_pitсhdeck_history.startUpDataId
startup_data_v2.id
Restrict delete
accounts_user_id_fkey
accounts.user_id
users.id
Cascade on delete
startup_survey_question_id_fkey
startup_survey.question_id
startup_survey_score.id
Restrict delete
startup_survey_startUpDataId_fkey
startup_survey.startUpDataId
startup_data_v2.id
Restrict delete
startup_data_v2_raise_type_id_fkey
startup_data_v2.raise_type_id
raise_types.id
Null on delete
startup_data_v2_last_pd_history_id_fkey
startup_data_v2.last_pd_history_id
startup_pitсhdeck_history.id
Null on delete
startup_data_v2_round_id_fkey
startup_data_v2.round_id
startup_rounds.id
Null on delete
startup_data_v2_connection_person_id_fkey
startup_data_v2.connection_person_id
users.id
Null on delete
startup_data_v2_active_membership_type_id_fkey
startup_data_v2.active_membership_type_id
service_pricing.id
Null on delete
startup_data_v2_workspaceRegisterEmail_fkey
startup_data_v2.workspaceRegisterEmail
workspace_registers_v2.email
Restrict delete
startup_data_v2_last_raised_round_id_fkey
startup_data_v2.last_raised_round_id
startup_rounds.id
Null on delete
ip_assets_startup_submitter_id_fkey
ip_assets_startup.submitter_id
users.id
Null on delete
ip_assets_startup_workspaceRegisterEmail_fkey
ip_assets_startup.workspaceRegisterEmail
workspace_registers_v2.email
Restrict delete
ip_assets_startup_owner_id_fkey
ip_assets_startup.owner_id
users.id
Restrict delete
ip_assets_startup_submitter_wallet_id_fkey
ip_assets_startup.submitter_wallet_id
wallets.id
Null on delete
when_last_invitation_was_send_ip_asset_IPAssetId_fkey
when_last_invitation_was_send_ip_asset.IPAssetId
ip_assets_startup.id
Restrict delete
investor_raise_type_relation_raise_type_id_fkey
investor_raise_type_relation.raise_type_id
raise_types.id
Restrict delete
investor_raise_type_relation_investor_data_id_fkey
investor_raise_type_relation.investor_data_id
investor_data_v2.id
Restrict delete
users_userStatusId_fkey
users.userStatusId
user_statuses.id
Null on delete
users_teamMemberRoleId_fkey
users.teamMemberRoleId
team_member_role.id
Null on delete
users_userTypeId_fkey
users.userTypeId
user_types.id
Null on delete
users_workspaceRegisterEmail_fkey
users.workspaceRegisterEmail
workspace_registers_v2.email
Null on delete
workspace_registers_v2_email_fkey
workspace_registers_v2.email
users.email
Restrict delete
workspace_registers_v2_workspaceRegisterKeyId_fkey
workspace_registers_v2.workspaceRegisterKeyId
workspace_register_keys.id
Null on delete
verification_code_ip_asset_info_userEmail_fkey
verification_code_ip_asset_info.userEmail
users.email
Restrict delete
ip_types_parentId_fkey
ip_types.parentId
ip_types.id
Null on delete
internal_transactions_service_pricing_id_fkey
internal_transactions.service_pricing_id
service_pricing.id
Restrict delete
internal_transactions_service_transaction_id_fkey
internal_transactions.service_transaction_id
service_transactions.id
Null on delete
internal_transactions_user_id_fkey
internal_transactions.user_id
users.id
Restrict delete
crucial_startup_data_relation_crucial_id_fkey
crucial_startup_data_relation.crucial_id
crucial.id
Null on delete
crucial_startup_data_relation_startup_data_id_fkey
crucial_startup_data_relation.startup_data_id
startup_data_v2.id
Null on delete
partner_data_workspaceRegisterEmail_fkey
partner_data.workspaceRegisterEmail
workspace_registers_v2.email
Restrict delete
startup_survey_score_tad_id_fkey
startup_survey_score.tad_id
startup_survey_tab.id
Null on delete
investor_data_v2_workspaceRegisterEmail_fkey
investor_data_v2.workspaceRegisterEmail
workspace_registers_v2.email
Restrict delete
when_last_invitation_was_send_userId_fkey
when_last_invitation_was_send.userId
users.id
Restrict delete
sessions_user_id_fkey
sessions.user_id
users.id
Cascade on delete
service_pricing_service_type_id_fkey
service_pricing.service_type_id
service_types.id
Null on delete
when_last_remind_was_send_ip_asset_IPAssetId_fkey
when_last_remind_was_send_ip_asset.IPAssetId
ip_assets_startup.id
Restrict delete
investor_survey_preferences_tab_id_fkey
investor_survey_preferences.tab_id
startup_survey_tab.id
Null on delete

Check Constraints

Table Constraint Name Constraint