Constraints

105 Foreign Key Constraints

Constraint Name Child Column Parent Column Delete Rule
fct_trainer_class_appointments_trainer_appointment_status_id_fkey
fct_trainer_class_appointments.trainer_appointment_status_id
dim_trainer_appointment_status.trainer_appointment_status_id
Restrict delete
fct_trainer_class_appointments_appointment_id_fkey
fct_trainer_class_appointments.appointment_id
dim_appointment.appointment_id
Restrict delete
fct_trainer_class_appointments_organization_unit_id_fkey
fct_trainer_class_appointments.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_trainer_class_appointments_start_date_id_fkey
fct_trainer_class_appointments.start_date_id
dim_date.date_id
Restrict delete
fct_trainer_class_appointments_employee_id_fkey
fct_trainer_class_appointments.employee_id
dim_employee.employee_id
Restrict delete
fct_trainer_class_appointments_class_id_fkey
fct_trainer_class_appointments.class_id
dim_class.class_id
Restrict delete
fct_trainer_class_appointments_end_date_id_fkey
fct_trainer_class_appointments.end_date_id
dim_date.date_id
Restrict delete
bridge_customer_to_customer_code_customer_code_id_fkey
bridge_customer_to_customer_code.customer_code_id
dim_customer_code.customer_code_id
Restrict delete
bridge_customer_to_customer_code_customer_id_fkey
bridge_customer_to_customer_code.customer_id
dim_customer.customer_id
Restrict delete
fct_payment_run_customer_id_fkey
fct_payment_run.customer_id
dim_customer.customer_id
Restrict delete
fct_payment_run_currency_id_fkey
fct_payment_run.currency_id
dim_currency.currency_id
Restrict delete
fct_payment_run_organization_unit_id_fkey
fct_payment_run.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_payment_run_effective_collection_date_id_fkey
fct_payment_run.effective_collection_date_id
dim_date.date_id
Restrict delete
fct_payment_run_payment_run_property_id_fkey
fct_payment_run.payment_run_property_id
dim_payment_run_property.payment_run_property_id
Restrict delete
fct_checkin_organization_unit_id_fkey
fct_checkin.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_checkin_customer_id_fkey
fct_checkin.customer_id
dim_customer.customer_id
Restrict delete
fct_checkin_customer_organization_unit_id_fkey
fct_checkin.customer_organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_checkin_checkout_date_id_fkey
fct_checkin.checkout_date_id
dim_date.date_id
Restrict delete
fct_checkin_device_id_fkey
fct_checkin.device_id
dim_device.device_id
Restrict delete
fct_checkin_checkin_date_id_fkey
fct_checkin.checkin_date_id
dim_date.date_id
Restrict delete
fct_contract_cancellation_contract_cancellation_property_id_fkey
fct_contract_cancellation.contract_cancellation_property_id
dim_contract_cancellation_property.contract_cancellation_property_id
Restrict delete
fct_contract_cancellation_currency_id_fkey
fct_contract_cancellation.currency_id
dim_currency.currency_id
Restrict delete
fct_contract_cancellation_customer_id_fkey
fct_contract_cancellation.customer_id
dim_customer.customer_id
Restrict delete
fct_contract_cancellation_pre_cancellation_end_date_id_fkey
fct_contract_cancellation.pre_cancellation_end_date_id
dim_date.date_id
Restrict delete
fct_contract_cancellation_cancellation_date_id_fkey
fct_contract_cancellation.cancellation_date_id
dim_date.date_id
Restrict delete
fct_contract_cancellation_contract_end_date_id_fkey
fct_contract_cancellation.contract_end_date_id
dim_date.date_id
Restrict delete
fct_contract_cancellation_rate_id_fkey
fct_contract_cancellation.rate_id
dim_rate.rate_id
Restrict delete
fct_contract_cancellation_organization_unit_id_fkey
fct_contract_cancellation.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_contract_cancellation_cancellation_reason_id_fkey
fct_contract_cancellation.cancellation_reason_id
dim_cancellation_reason.cancellation_reason_id
Restrict delete
fct_contract_cancellation_cancellation_receipt_date_id_fkey
fct_contract_cancellation.cancellation_receipt_date_id
dim_date.date_id
Restrict delete
fct_idle_period_customer_id_fkey
fct_idle_period.customer_id
dim_customer.customer_id
Restrict delete
fct_idle_period_idle_period_property_id_fkey
fct_idle_period.idle_period_property_id
dim_idle_period_property.idle_period_property_id
Restrict delete
fct_idle_period_start_date_id_fkey
fct_idle_period.start_date_id
dim_date.date_id
Restrict delete
fct_idle_period_currency_id_fkey
fct_idle_period.currency_id
dim_currency.currency_id
Restrict delete
fct_idle_period_organization_unit_id_fkey
fct_idle_period.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_idle_period_contract_id_fkey
fct_idle_period.contract_id
fct_contract.contract_id
Restrict delete
fct_idle_period_rate_id_fkey
fct_idle_period.rate_id
dim_rate.rate_id
Restrict delete
fct_idle_period_end_date_id_fkey
fct_idle_period.end_date_id
dim_date.date_id
Restrict delete
fct_lead_lifetime_lead_start_date_fkey
fct_lead_lifetime.lead_start_date
dim_date.date
Restrict delete
fct_lead_lifetime_organization_unit_id_fkey
fct_lead_lifetime.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_lead_lifetime_customer_id_fkey
fct_lead_lifetime.customer_id
dim_customer.customer_id
Restrict delete
fct_lead_lifetime_lead_finish_date_fkey
fct_lead_lifetime.lead_finish_date
dim_date.date
Restrict delete
fct_trainer_appointment_employee_id_fkey
fct_trainer_appointment.employee_id
dim_employee.employee_id
Restrict delete
fct_trainer_appointment_end_date_fkey
fct_trainer_appointment.end_date
dim_date.date
Restrict delete
fct_trainer_appointment_organization_unit_id_fkey
fct_trainer_appointment.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_trainer_appointment_start_date_fkey
fct_trainer_appointment.start_date
dim_date.date
Restrict delete
fct_trainer_appointment_appointment_id_fkey
fct_trainer_appointment.appointment_id
dim_appointment.appointment_id
Restrict delete
fct_trainer_appointment_service_id_fkey
fct_trainer_appointment.service_id
dim_service.service_id
Restrict delete
fct_contract_employee_id_fkey
fct_contract.employee_id
dim_employee.employee_id
Restrict delete
fct_contract_cancellation_date_id_fkey
fct_contract.cancellation_date_id
dim_date.date_id
Restrict delete
fct_contract_pre_cancellation_end_date_id_fkey
fct_contract.pre_cancellation_end_date_id
dim_date.date_id
Restrict delete
fct_contract_organization_unit_id_fkey
fct_contract.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_contract_contract_term_id_fkey
fct_contract.contract_term_id
dim_contract_term.contract_term_id
Restrict delete
fct_contract_rate_id_fkey
fct_contract.rate_id
dim_rate.rate_id
Restrict delete
fct_contract_end_date_id_fkey
fct_contract.end_date_id
dim_date.date_id
Restrict delete
fct_contract_contract_property_id_fkey
fct_contract.contract_property_id
dim_contract_property.contract_property_id
Restrict delete
fct_contract_start_date_id_fkey
fct_contract.start_date_id
dim_date.date_id
Restrict delete
fct_contract_contract_cancellation_reason_id_fkey
fct_contract.contract_cancellation_reason_id
dim_contract_cancellation_reason.contract_cancellation_reason_id
Restrict delete
fct_contract_created_date_id_fkey
fct_contract.created_date_id
dim_date.date_id
Restrict delete
fct_contract_customer_id_fkey
fct_contract.customer_id
dim_customer.customer_id
Restrict delete
fct_contract_company_id_fkey
fct_contract.company_id
dim_company.company_id
Restrict delete
fct_contract_cancellation_receipt_date_id_fkey
fct_contract.cancellation_receipt_date_id
dim_date.date_id
Restrict delete
fct_contract_contract_payment_frequency_id_fkey
fct_contract.contract_payment_frequency_id
dim_contract_payment_frequency.contract_payment_frequency_id
Restrict delete
fct_contract_start_date_of_use_id_fkey
fct_contract.start_date_of_use_id
dim_date.date_id
Restrict delete
dim_customer_communication_consent_customer_id_fkey
dim_customer_communication_consent.customer_id
dim_customer.customer_id
Restrict delete
dim_customer_communication_consent_organization_unit_id_fkey
dim_customer_communication_consent.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_contract_price_history_valid_to_date_fkey
fct_contract_price_history.valid_to_date
dim_date.date
Restrict delete
fct_contract_price_history_organization_unit_id_fkey
fct_contract_price_history.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_contract_price_history_contract_id_fkey
fct_contract_price_history.contract_id
fct_contract.contract_id
Restrict delete
fct_contract_price_history_valid_from_date_fkey
fct_contract_price_history.valid_from_date
dim_date.date
Restrict delete
fct_contract_price_history_customer_id_fkey
fct_contract_price_history.customer_id
dim_customer.customer_id
Restrict delete
fct_revenue_revenue_group_id_fkey
fct_revenue.revenue_group_id
dim_revenue_group.revenue_group_id
Restrict delete
fct_revenue_rate_id_fkey
fct_revenue.rate_id
dim_rate.rate_id
Restrict delete
fct_revenue_accounting_date_id_fkey
fct_revenue.accounting_date_id
dim_date.date_id
Restrict delete
fct_revenue_contract_id_fkey
fct_revenue.contract_id
fct_contract.contract_id
Restrict delete
fct_revenue_service_period_start_date_fkey
fct_revenue.service_period_start_date
dim_date.date
Restrict delete
fct_revenue_organization_unit_id_fkey
fct_revenue.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_revenue_currency_id_fkey
fct_revenue.currency_id
dim_currency.currency_id
Restrict delete
fct_revenue_product_id_fkey
fct_revenue.product_id
dim_product.product_id
Restrict delete
fct_revenue_customer_id_fkey
fct_revenue.customer_id
dim_customer.customer_id
Restrict delete
fct_class_appointment_end_date_id_fkey
fct_class_appointment.end_date_id
dim_date.date_id
Restrict delete
fct_class_appointment_start_date_id_fkey
fct_class_appointment.start_date_id
dim_date.date_id
Restrict delete
fct_class_appointment_appointment_id_fkey
fct_class_appointment.appointment_id
dim_appointment.appointment_id
Restrict delete
fct_class_appointment_created_date_id_fkey
fct_class_appointment.created_date_id
dim_date.date_id
Restrict delete
fct_class_appointment_class_id_fkey
fct_class_appointment.class_id
dim_class.class_id
Restrict delete
fct_class_appointment_organization_unit_id_fkey
fct_class_appointment.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_customer_appointment_purchased_contingent_id_fkey
fct_customer_appointment.purchased_contingent_id
dim_purchased_contingent.purchased_contingent_id
Restrict delete
fct_customer_appointment_organization_unit_id_fkey
fct_customer_appointment.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_customer_appointment_appointment_id_fkey
fct_customer_appointment.appointment_id
dim_appointment.appointment_id
Restrict delete
fct_customer_appointment_end_date_fkey
fct_customer_appointment.end_date
dim_date.date
Restrict delete
fct_customer_appointment_customer_id_fkey
fct_customer_appointment.customer_id
dim_customer.customer_id
Restrict delete
fct_customer_appointment_start_date_fkey
fct_customer_appointment.start_date
dim_date.date
Restrict delete
fct_customer_appointment_inclusive_contingent_id_fkey
fct_customer_appointment.inclusive_contingent_id
dim_inclusive_contingent.inclusive_contingent_id
Restrict delete
fct_customer_appointment_service_id_fkey
fct_customer_appointment.service_id
dim_service.service_id
Restrict delete
fct_class_event_organization_unit_id_fkey
fct_class_event.organization_unit_id
dim_organization_unit.organization_unit_id
Restrict delete
fct_class_event_class_event_property_id_fkey
fct_class_event.class_event_property_id
dim_class_event_property.class_event_property_id
Restrict delete
fct_class_event_start_date_id_fkey
fct_class_event.start_date_id
dim_date.date_id
Restrict delete
fct_class_event_appointment_id_fkey
fct_class_event.appointment_id
dim_appointment.appointment_id
Restrict delete
fct_class_event_class_id_fkey
fct_class_event.class_id
dim_class.class_id
Restrict delete
fct_class_event_end_date_id_fkey
fct_class_event.end_date_id
dim_date.date_id
Restrict delete
fct_class_event_purchased_contingent_id_fkey
fct_class_event.purchased_contingent_id
dim_purchased_contingent.purchased_contingent_id
Restrict delete
fct_class_event_event_date_id_fkey
fct_class_event.event_date_id
dim_date.date_id
Restrict delete
fct_class_event_inclusive_contingent_id_fkey
fct_class_event.inclusive_contingent_id
dim_inclusive_contingent.inclusive_contingent_id
Restrict delete
fct_class_event_customer_id_fkey
fct_class_event.customer_id
dim_customer.customer_id
Restrict delete
dim_customer_created_date_fkey
dim_customer.created_date
dim_date.date
Restrict delete

Check Constraints

Table Constraint Name Constraint