Constraints

68 Foreign Key Constraints

Constraint Name Child Column Parent Column Delete Rule
issues_issue_project_id_4b0f3e2f_fk_projects_project_id
issues_issue.project_id
projects_project.id
Restrict delete
performance_span_transaction_id_d0adedc2_fk_performan
performance_span.transaction_id
performance_transactionevent.event_id
Restrict delete
teams_team_projects_project_id_66bc9dde_fk_projects_project_id
teams_team_projects.project_id
projects_project.id
Restrict delete
teams_team_projects_team_id_ec11abec_fk_teams_team_id
teams_team_projects.team_id
teams_team.id
Restrict delete
socialaccount_social_socialapp_id_97fb6e7d_fk_socialacc
socialaccount_socialapp_sites.socialapp_id
socialaccount_socialapp.id
Restrict delete
socialaccount_social_site_id_2579dee5_fk_django_si
socialaccount_socialapp_sites.site_id
django_site.id
Restrict delete
alerts_alertrecipien_alert_id_e751a912_fk_alerts_pr
alerts_alertrecipient.alert_id
alerts_projectalert.id
Restrict delete
files_fileblobindex_blob_id_c789a2bf_fk_files_fileblob_id
files_fileblobindex.blob_id
files_fileblob.id
Restrict delete
files_fileblobindex_file_id_3be1680c_fk_files_file_id
files_fileblobindex.file_id
files_file.id
Restrict delete
files_file_blob_id_ac0e8c7e_fk_files_fileblob_id
files_file.blob_id
files_fileblob.id
Restrict delete
user_reports_userreport_issue_id_474c6f4f_fk_issues_issue_id
user_reports_userreport.issue_id
issues_issue.id
Restrict delete
user_reports_userrep_project_id_2625dd63_fk_projects_
user_reports_userreport.project_id
projects_project.id
Restrict delete
uptime_monitorcheck_monitor_id_22034d3b_fk_uptime_monitor_id
uptime_monitorcheck.monitor_id
uptime_monitor.id
Restrict delete
teams_team_organization_id_e98fce1d_fk_organizat
teams_team.organization_id
organizations_ext_organization.id
Restrict delete
difs_debuginformatio_project_id_98b3bcff_fk_projects_
difs_debuginformationfile.project_id
projects_project.id
Restrict delete
difs_debuginformationfile_file_id_0f375ae8_fk_files_file_id
difs_debuginformationfile.file_id
files_file.id
Restrict delete
socialaccount_socialaccount_user_id_8146e70c_fk_users_user_id
socialaccount_socialaccount.user_id
users_user.id
Restrict delete
alerts_notification_project_alert_id_26a4df64_fk_alerts_pr
alerts_notification.project_alert_id
alerts_projectalert.id
Restrict delete
releases_releaseproj_project_id_69d8217c_fk_projects_
releases_releaseproject.project_id
projects_project.id
Restrict delete
releases_releaseproj_release_id_962ac218_fk_releases_
releases_releaseproject.release_id
releases_release.id
Restrict delete
api_tokens_apitoken_user_id_92435ca3_fk_users_user_id
api_tokens_apitoken.user_id
users_user.id
Restrict delete
events_event_issue_id_142fccc0_fk
events_event.issue_id
issues_issue.id
Restrict delete
issues_event_release_id_19c73b66_fk_releases_release_id
events_event.release_id
releases_release.id
Restrict delete
projects_projectcoun_project_id_c04e0a63_fk_projects_
projects_projectcounter.project_id
projects_project.id
Restrict delete
users_user_groups_group_id_9afc8d0e_fk_auth_group_id
users_user_groups.group_id
auth_group.id
Restrict delete
users_user_groups_user_id_5f6f5a90_fk_users_user_id
users_user_groups.user_id
users_user.id
Restrict delete
releases_release_pro_project_id_375a83f0_fk_projects_
releases_release_projects.project_id
projects_project.id
Restrict delete
releases_release_pro_release_id_7053dee2_fk_releases_
releases_release_projects.release_id
releases_release.id
Restrict delete
projects_project_organization_id_c93e5ca2_fk_organizat
projects_project.organization_id
organizations_ext_organization.id
Restrict delete
account_emailconfirm_email_address_id_5b7f8c58_fk_account_e
account_emailconfirmation.email_address_id
account_emailaddress.id
Restrict delete
users_userprojectale_project_id_ed3bf990_fk_projects_
users_userprojectalert.project_id
projects_project.id
Restrict delete
users_userprojectalerts_user_id_c4bec7a2_fk_users_user_id
users_userprojectalert.user_id
users_user.id
Restrict delete
releases_releasefile_file_id_c31c0d06_fk_files_file_id
releases_releasefile.file_id
files_file.id
Restrict delete
releases_releasefile_release_id_a20b1af5_fk_releases_release_id
releases_releasefile.release_id
releases_release.id
Restrict delete
projects_projectkey_project_id_4643220b_fk_projects_project_id
projects_projectkey.project_id
projects_project.id
Restrict delete
account_emailaddress_user_id_2c513194_fk_users_user_id
account_emailaddress.user_id
users_user.id
Restrict delete
organizations_ext_or_organization_user_id_d9d30739_fk_organizat
organizations_ext_organizationowner.organization_user_id
organizations_ext_organizationuser.id
Restrict delete
organizations_ext_or_organization_id_1baaa212_fk_organizat
organizations_ext_organizationowner.organization_id
organizations_ext_organization.id
Restrict delete
django_admin_log_user_id_c564eba6_fk_users_user_id
django_admin_log.user_id
users_user.id
Restrict delete
django_admin_log_content_type_id_c4bce8eb_fk_django_co
django_admin_log.content_type_id
django_content_type.id
Restrict delete
uptime_monitor_organization_id_a3fa8f6e_fk_organizat
uptime_monitor.organization_id
organizations_ext_organization.id
Restrict delete
uptime_monitor_project_id_99a888b1_fk_projects_project_id
uptime_monitor.project_id
projects_project.id
Restrict delete
uptime_monitor_environment_id_c1ee6182_fk_environme
uptime_monitor.environment_id
environments_environment.id
Restrict delete
alerts_notification__notification_id_abfc7da3_fk_alerts_no
alerts_notification_issues.notification_id
alerts_notification.id
Restrict delete
alerts_notification_issues_issue_id_19caaee3_fk
alerts_notification_issues.issue_id
issues_issue.id
Restrict delete
django_rest_mfa_userkey_user_id_bd136d97_fk_users_user_id
django_rest_mfa_userkey.user_id
users_user.id
Restrict delete
alerts_projectalert_project_id_d72e26b7_fk_projects_project_id
alerts_projectalert.project_id
projects_project.id
Restrict delete
organizations_ext_or_invitee_id_9a400689_fk_users_use
organizations_ext_organizationinvitation.invitee_id
users_user.id
Restrict delete
organizations_ext_or_organization_id_d6f74ca6_fk_organizat
organizations_ext_organizationinvitation.organization_id
organizations_ext_organization.id
Restrict delete
organizations_ext_or_invited_by_id_35eeb92a_fk_users_use
organizations_ext_organizationinvitation.invited_by_id
users_user.id
Restrict delete
performance_transact_project_id_0d3abdaf_fk_projects_
performance_transactiongroup.project_id
projects_project.id
Restrict delete
environments_environ_organization_id_5e73e9d7_fk_organizat
environments_environment.organization_id
organizations_ext_organization.id
Restrict delete
releases_release_owner_id_0dd1b0e8_fk_users_user_id
releases_release.owner_id
users_user.id
Restrict delete
releases_release_organization_id_d23b0b80_fk_organizat
releases_release.organization_id
organizations_ext_organization.id
Restrict delete
teams_team_members_new_team_id_1a77086a_fk_teams_team_id
teams_team_members.team_id
teams_team.id
Restrict delete
teams_team_members_n_organizationuser_id_96fbcfb6_fk_organizat
teams_team_members.organizationuser_id
organizations_ext_organizationuser.id
Restrict delete
socialaccount_social_app_id_636a42d7_fk_socialacc
socialaccount_socialtoken.app_id
socialaccount_socialapp.id
Restrict delete
socialaccount_social_account_id_951f210e_fk_socialacc
socialaccount_socialtoken.account_id
socialaccount_socialaccount.id
Restrict delete
environments_environ_project_id_f1b49983_fk_projects_
environments_environmentproject.project_id
projects_project.id
Restrict delete
environments_environ_environment_id_4b61b449_fk_environme
environments_environmentproject.environment_id
environments_environment.id
Restrict delete
auth_group_permissions_group_id_b120cbf9_fk_auth_group_id
auth_group_permissions.group_id
auth_group.id
Restrict delete
auth_group_permissio_permission_id_84c5c92e_fk_auth_perm
auth_group_permissions.permission_id
auth_permission.id
Restrict delete
auth_permission_content_type_id_2f476e4b_fk_django_co
auth_permission.content_type_id
django_content_type.id
Restrict delete
organizations_ext_or_organization_id_f5a7ee4a_fk_organizat
organizations_ext_organizationuser.organization_id
organizations_ext_organization.id
Restrict delete
organizations_ext_or_user_id_d255140d_fk_users_use
organizations_ext_organizationuser.user_id
users_user.id
Restrict delete
users_user_user_perm_permission_id_0b93982e_fk_auth_perm
users_user_user_permissions.permission_id
auth_permission.id
Restrict delete
users_user_user_permissions_user_id_20aca447_fk_users_user_id
users_user_user_permissions.user_id
users_user.id
Restrict delete
performance_transact_group_id_92833b44_fk_performan
performance_transactionevent.group_id
performance_transactiongroup.id
Restrict delete

Check Constraints

Table Constraint Name Constraint
issues_issue issues_issue_count_check ((count >= 0))
issues_issue issues_issue_level_check ((level >= 0))
issues_issue issues_issue_short_id_check ((short_id >= 0))
issues_issue issues_issue_status_check ((status >= 0))
issues_issue issues_issue_type_check ((type >= 0))
files_fileblobindex files_fileblobindex_offset_check (("offset" >= 0))
files_file files_file_size_check ((size >= 0))
uptime_monitorcheck uptime_monitorcheck_reason_check ((reason >= 0))
events_event events_event_level_check ((level >= 0))
projects_projectcounter projects_projectcounter_value_check ((value >= 0))
users_userprojectalert users_userprojectalerts_status_check ((status >= 0))
projects_projectkey projects_projectkey_rate_limit_count_check ((rate_limit_count >= 0))
projects_projectkey projects_projectkey_rate_limit_window_check ((rate_limit_window >= 0))
django_admin_log django_admin_log_action_flag_check ((action_flag >= 0))
uptime_monitor uptime_monitor_expected_status_check ((expected_status >= 0))
alerts_projectalert alerts_projectalert_quantity_check ((quantity >= 0))
alerts_projectalert alerts_projectalert_timespan_minutes_check ((timespan_minutes >= 0))
django_celery_results_chordcounter django_celery_results_chordcounter_count_check ((count >= 0))
releases_release releases_release_commit_count_check ((commit_count >= 0))
releases_release releases_release_deploy_count_check ((deploy_count >= 0))
files_fileblob files_fileblob_size_check ((size >= 0))
organizations_ext_organizationuser organizations_ext_organizationuser_role_check ((role >= 0))