{ "feedback.feedback": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": true }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "feedback.feedback", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "feedback_feedback", "uniques": [ [ "feedback_id" ] ] }, "hybridcloud.apikeyreplica": { "dangling": false, "foreign_keys": { "apikey_id": { "kind": "HybridCloudForeignKey", "model": "sentry.apikey", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "hybridcloud.apikeyreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "hybridcloud_apikeyreplica", "uniques": [] }, "hybridcloud.apitokenreplica": { "dangling": false, "foreign_keys": { "apitoken_id": { "kind": "HybridCloudForeignKey", "model": "sentry.apitoken", "nullable": false }, "application_id": { "kind": "HybridCloudForeignKey", "model": "sentry.apiapplication", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "hybridcloud.apitokenreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "hybridcloud_apitokenreplica", "uniques": [] }, "hybridcloud.controlcacheversion": { "dangling": false, "foreign_keys": {}, "model": "hybridcloud.controlcacheversion", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "hybridcloud_controlcacheversion", "uniques": [ [ "key" ] ] }, "hybridcloud.externalactorreplica": { "dangling": false, "foreign_keys": { "externalactor_id": { "kind": "ImplicitForeignKey", "model": "sentry.externalactor", "nullable": false }, "integration": { "kind": "FlexibleForeignKey", "model": "sentry.integration", "nullable": false }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "team_id": { "kind": "HybridCloudForeignKey", "model": "sentry.team", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "hybridcloud.externalactorreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "hybridcloud_externalactorreplica", "uniques": [ [ "external_name", "organization_id", "provider", "team_id" ], [ "external_name", "organization_id", "provider", "user_id" ] ] }, "hybridcloud.organizationslugreservationreplica": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "organization_slug_reservation_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organizationslugreservation", "nullable": false }, "user_id": { "kind": "ImplicitForeignKey", "model": "sentry.user", "nullable": true } }, "model": "hybridcloud.organizationslugreservationreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "hybridcloud_organizationslugreservationreplica", "uniques": [ [ "organization_id", "reservation_type" ], [ "organization_slug_reservation_id" ], [ "slug" ] ] }, "hybridcloud.orgauthtokenreplica": { "dangling": false, "foreign_keys": { "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "orgauthtoken_id": { "kind": "HybridCloudForeignKey", "model": "sentry.orgauthtoken", "nullable": false } }, "model": "hybridcloud.orgauthtokenreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "hybridcloud_orgauthtokenreplica", "uniques": [] }, "hybridcloud.regioncacheversion": { "dangling": false, "foreign_keys": {}, "model": "hybridcloud.regioncacheversion", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "hybridcloud_regioncacheversion", "uniques": [ [ "key" ] ] }, "hybridcloud.webhookpayload": { "dangling": false, "foreign_keys": {}, "model": "hybridcloud.webhookpayload", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "hybridcloud_webhookpayload", "uniques": [] }, "nodestore.node": { "dangling": false, "foreign_keys": {}, "model": "nodestore.node", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "nodestore_node", "uniques": [] }, "replays.replayrecordingsegment": { "dangling": false, "foreign_keys": { "file_id": { "kind": "ImplicitForeignKey", "model": "sentry.file", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "replays.replayrecordingsegment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "replays_replayrecordingsegment", "uniques": [ [ "file_id", "project_id", "replay_id" ], [ "project_id", "replay_id", "segment_id" ] ] }, "sentry.activity": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.activity", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_activity", "uniques": [] }, "sentry.alertrule": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": true }, "snuba_query": { "kind": "FlexibleForeignKey", "model": "sentry.snubaquery", "nullable": true }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.alertrule", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertrule", "uniques": [ [ "snuba_query" ] ] }, "sentry.alertruleactivationcondition": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false } }, "model": "sentry.alertruleactivationcondition", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruleactivationcondition", "uniques": [ [ "alert_rule", "label" ] ] }, "sentry.alertruleactivations": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false }, "query_subscription": { "kind": "FlexibleForeignKey", "model": "sentry.querysubscription", "nullable": true } }, "model": "sentry.alertruleactivations", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_alertruleactivations", "uniques": [] }, "sentry.alertruleactivity": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false }, "previous_alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.alertruleactivity", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruleactivity", "uniques": [] }, "sentry.alertruleexcludedprojects": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.alertruleexcludedprojects", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruleexcludedprojects", "uniques": [ [ "alert_rule", "project" ] ] }, "sentry.alertruleprojects": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.alertruleprojects", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruleprojects", "uniques": [ [ "alert_rule", "project" ] ] }, "sentry.alertruletrigger": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false } }, "model": "sentry.alertruletrigger", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruletrigger", "uniques": [ [ "alert_rule", "label" ] ] }, "sentry.alertruletriggeraction": { "dangling": false, "foreign_keys": { "alert_rule_trigger": { "kind": "FlexibleForeignKey", "model": "sentry.alertruletrigger", "nullable": false }, "integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.integration", "nullable": true }, "sentry_app_id": { "kind": "HybridCloudForeignKey", "model": "sentry.sentryapp", "nullable": true } }, "model": "sentry.alertruletriggeraction", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Region" ], "table_name": "sentry_alertruletriggeraction", "uniques": [] }, "sentry.alertruletriggerexclusion": { "dangling": false, "foreign_keys": { "alert_rule_trigger": { "kind": "FlexibleForeignKey", "model": "sentry.alertruletrigger", "nullable": false }, "query_subscription": { "kind": "FlexibleForeignKey", "model": "sentry.querysubscription", "nullable": false } }, "model": "sentry.alertruletriggerexclusion", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_alertruletriggerexclusion", "uniques": [ [ "alert_rule_trigger", "query_subscription" ] ] }, "sentry.apiapplication": { "dangling": false, "foreign_keys": { "owner": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.apiapplication", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_apiapplication", "uniques": [ [ "client_id" ] ] }, "sentry.apiauthorization": { "dangling": false, "foreign_keys": { "application": { "kind": "FlexibleForeignKey", "model": "sentry.apiapplication", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.apiauthorization", "relocation_dependencies": [], "relocation_scope": [ "Config", "Global" ], "silos": [ "Control" ], "table_name": "sentry_apiauthorization", "uniques": [ [ "application", "user" ] ] }, "sentry.apigrant": { "dangling": false, "foreign_keys": { "application": { "kind": "FlexibleForeignKey", "model": "sentry.apiapplication", "nullable": false }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.apigrant", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_apigrant", "uniques": [] }, "sentry.apikey": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.apikey", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_apikey", "uniques": [ [ "key" ] ] }, "sentry.apitoken": { "dangling": false, "foreign_keys": { "application": { "kind": "FlexibleForeignKey", "model": "sentry.apiapplication", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.apitoken", "relocation_dependencies": [], "relocation_scope": [ "Config", "Global" ], "silos": [ "Control" ], "table_name": "sentry_apitoken", "uniques": [ [ "hashed_refresh_token" ], [ "hashed_token" ], [ "refresh_token" ], [ "token" ] ] }, "sentry.artifactbundle": { "dangling": false, "foreign_keys": { "file": { "kind": "FlexibleForeignKey", "model": "sentry.file", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.artifactbundle", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_artifactbundle", "uniques": [] }, "sentry.artifactbundleindex": { "dangling": false, "foreign_keys": { "artifact_bundle": { "kind": "FlexibleForeignKey", "model": "sentry.artifactbundle", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.artifactbundleindex", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_artifactbundleindex", "uniques": [] }, "sentry.assistantactivity": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.assistantactivity", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_assistant_activity", "uniques": [ [ "guide_id", "user" ] ] }, "sentry.auditlogentry": { "dangling": false, "foreign_keys": { "actor": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true }, "actor_key": { "kind": "FlexibleForeignKey", "model": "sentry.apikey", "nullable": true }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "target_user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.auditlogentry", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_auditlogentry", "uniques": [] }, "sentry.authenticator": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.authenticator", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "auth_authenticator", "uniques": [ [ "type", "user" ] ] }, "sentry.authidentity": { "dangling": false, "foreign_keys": { "auth_provider": { "kind": "FlexibleForeignKey", "model": "sentry.authprovider", "nullable": false }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.authidentity", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_authidentity", "uniques": [ [ "auth_provider", "ident" ], [ "auth_provider", "user" ] ] }, "sentry.authidentityreplica": { "dangling": false, "foreign_keys": { "auth_identity_id": { "kind": "HybridCloudForeignKey", "model": "sentry.authidentity", "nullable": false }, "auth_provider_id": { "kind": "HybridCloudForeignKey", "model": "sentry.authprovider", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.authidentityreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_authidentityreplica", "uniques": [ [ "auth_identity_id" ], [ "auth_provider_id", "ident" ], [ "auth_provider_id", "user_id" ] ] }, "sentry.authprovider": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.authprovider", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_authprovider", "uniques": [ [ "organization_id" ] ] }, "sentry.authproviderdefaultteams": { "dangling": false, "foreign_keys": { "authprovider_id": { "kind": "ImplicitForeignKey", "model": "sentry.authprovider", "nullable": false }, "team_id": { "kind": "ImplicitForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.authproviderdefaultteams", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_authprovider_default_teams", "uniques": [] }, "sentry.authproviderreplica": { "dangling": false, "foreign_keys": { "auth_provider_id": { "kind": "HybridCloudForeignKey", "model": "sentry.authprovider", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.authproviderreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_authproviderreplica", "uniques": [ [ "auth_provider_id" ], [ "organization" ] ] }, "sentry.broadcast": { "dangling": false, "foreign_keys": {}, "model": "sentry.broadcast", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_broadcast", "uniques": [] }, "sentry.broadcastseen": { "dangling": false, "foreign_keys": { "broadcast": { "kind": "FlexibleForeignKey", "model": "sentry.broadcast", "nullable": false }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.broadcastseen", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_broadcastseen", "uniques": [ [ "broadcast", "user" ] ] }, "sentry.commit": { "dangling": false, "foreign_keys": { "author": { "kind": "FlexibleForeignKey", "model": "sentry.commitauthor", "nullable": true }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "repository_id": { "kind": "ImplicitForeignKey", "model": "sentry.repository", "nullable": false } }, "model": "sentry.commit", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_commit", "uniques": [ [ "key", "repository_id" ] ] }, "sentry.commitauthor": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.commitauthor", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_commitauthor", "uniques": [ [ "email", "organization_id" ], [ "external_id", "organization_id" ] ] }, "sentry.commitfilechange": { "dangling": false, "foreign_keys": { "commit": { "kind": "FlexibleForeignKey", "model": "sentry.commit", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.commitfilechange", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_commitfilechange", "uniques": [ [ "commit", "filename" ] ] }, "sentry.controlfile": { "dangling": false, "foreign_keys": {}, "model": "sentry.controlfile", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controlfile", "uniques": [] }, "sentry.controlfileblob": { "dangling": false, "foreign_keys": {}, "model": "sentry.controlfileblob", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controlfileblob", "uniques": [ [ "checksum" ] ] }, "sentry.controlfileblobindex": { "dangling": false, "foreign_keys": { "blob": { "kind": "FlexibleForeignKey", "model": "sentry.controlfileblob", "nullable": false }, "file": { "kind": "FlexibleForeignKey", "model": "sentry.controlfile", "nullable": false } }, "model": "sentry.controlfileblobindex", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controlfileblobindex", "uniques": [ [ "blob", "file", "offset" ] ] }, "sentry.controlfileblobowner": { "dangling": false, "foreign_keys": { "blob": { "kind": "FlexibleForeignKey", "model": "sentry.controlfileblob", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.controlfileblobowner", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controlfileblobowner", "uniques": [ [ "blob", "organization_id" ] ] }, "sentry.controlimportchunk": { "dangling": false, "foreign_keys": {}, "model": "sentry.controlimportchunk", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controlimportchunk", "uniques": [ [ "import_uuid", "min_ordinal", "model" ] ] }, "sentry.controlimportchunkreplica": { "dangling": false, "foreign_keys": {}, "model": "sentry.controlimportchunkreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_controlimportchunkreplica", "uniques": [ [ "import_uuid", "min_ordinal", "model" ] ] }, "sentry.controloption": { "dangling": false, "foreign_keys": {}, "model": "sentry.controloption", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Control" ], "table_name": "sentry_controloption", "uniques": [ [ "key" ] ] }, "sentry.controloutbox": { "dangling": false, "foreign_keys": {}, "model": "sentry.controloutbox", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controloutbox", "uniques": [] }, "sentry.controltombstone": { "dangling": false, "foreign_keys": {}, "model": "sentry.controltombstone", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_controltombstone", "uniques": [] }, "sentry.counter": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.counter", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectcounter", "uniques": [ [ "project" ] ] }, "sentry.customdynamicsamplingrule": { "dangling": false, "foreign_keys": { "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.customdynamicsamplingrule", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_customdynamicsamplingrule", "uniques": [] }, "sentry.customdynamicsamplingruleproject": { "dangling": false, "foreign_keys": { "custom_dynamic_sampling_rule": { "kind": "FlexibleForeignKey", "model": "sentry.customdynamicsamplingrule", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.customdynamicsamplingruleproject", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_customdynamicsamplingruleproject", "uniques": [ [ "custom_dynamic_sampling_rule", "project" ] ] }, "sentry.dashboard": { "dangling": false, "foreign_keys": { "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.dashboard", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_dashboard", "uniques": [ [ "organization", "title" ] ] }, "sentry.dashboardproject": { "dangling": false, "foreign_keys": { "dashboard": { "kind": "FlexibleForeignKey", "model": "sentry.dashboard", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.dashboardproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_dashboardproject", "uniques": [ [ "dashboard", "project" ] ] }, "sentry.dashboardtombstone": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.dashboardtombstone", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_dashboardtombstone", "uniques": [ [ "organization", "slug" ] ] }, "sentry.dashboardwidget": { "dangling": false, "foreign_keys": { "dashboard": { "kind": "FlexibleForeignKey", "model": "sentry.dashboard", "nullable": false } }, "model": "sentry.dashboardwidget", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_dashboardwidget", "uniques": [ [ "dashboard", "order" ] ] }, "sentry.dashboardwidgetquery": { "dangling": false, "foreign_keys": { "widget": { "kind": "FlexibleForeignKey", "model": "sentry.dashboardwidget", "nullable": false } }, "model": "sentry.dashboardwidgetquery", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_dashboardwidgetquery", "uniques": [ [ "order", "widget" ] ] }, "sentry.dashboardwidgetqueryondemand": { "dangling": false, "foreign_keys": { "dashboard_widget_query": { "kind": "FlexibleForeignKey", "model": "sentry.dashboardwidgetquery", "nullable": false } }, "model": "sentry.dashboardwidgetqueryondemand", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_dashboardwidgetqueryondemand", "uniques": [] }, "sentry.debugidartifactbundle": { "dangling": false, "foreign_keys": { "artifact_bundle": { "kind": "FlexibleForeignKey", "model": "sentry.artifactbundle", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.debugidartifactbundle", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_debugidartifactbundle", "uniques": [] }, "sentry.deletedorganization": { "dangling": false, "foreign_keys": {}, "model": "sentry.deletedorganization", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_deletedorganization", "uniques": [] }, "sentry.deletedproject": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": true } }, "model": "sentry.deletedproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_deletedproject", "uniques": [] }, "sentry.deletedteam": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": true } }, "model": "sentry.deletedteam", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_deletedteam", "uniques": [] }, "sentry.deploy": { "dangling": false, "foreign_keys": { "environment_id": { "kind": "ImplicitForeignKey", "model": "sentry.environment", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.deploy", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_deploy", "uniques": [] }, "sentry.discoversavedquery": { "dangling": false, "foreign_keys": { "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.discoversavedquery", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_discoversavedquery", "uniques": [ [ "created_by_id", "is_homepage", "organization" ] ] }, "sentry.discoversavedqueryproject": { "dangling": false, "foreign_keys": { "discover_saved_query": { "kind": "FlexibleForeignKey", "model": "sentry.discoversavedquery", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.discoversavedqueryproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_discoversavedqueryproject", "uniques": [ [ "discover_saved_query", "project" ] ] }, "sentry.distribution": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.distribution", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_distribution", "uniques": [ [ "name", "release" ] ] }, "sentry.docintegration": { "dangling": false, "foreign_keys": {}, "model": "sentry.docintegration", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_docintegration", "uniques": [ [ "slug" ] ] }, "sentry.docintegrationavatar": { "dangling": false, "foreign_keys": { "control_file_id": { "kind": "ImplicitForeignKey", "model": "sentry.controlfile", "nullable": true }, "doc_integration": { "kind": "FlexibleForeignKey", "model": "sentry.docintegration", "nullable": false } }, "model": "sentry.docintegrationavatar", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_docintegrationavatar", "uniques": [ [ "control_file_id" ], [ "ident" ] ] }, "sentry.email": { "dangling": true, "foreign_keys": {}, "model": "sentry.email", "relocation_dependencies": [ "sentry.user" ], "relocation_scope": "User", "silos": [ "Control" ], "table_name": "sentry_email", "uniques": [ [ "email" ] ] }, "sentry.environment": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.environment", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_environment", "uniques": [ [ "name", "organization_id" ] ] }, "sentry.environmentproject": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.environmentproject", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_environmentproject", "uniques": [ [ "environment", "project" ] ] }, "sentry.eventattachment": { "dangling": false, "foreign_keys": { "file_id": { "kind": "ImplicitForeignKey", "model": "sentry.file", "nullable": true }, "group_id": { "kind": "ImplicitForeignKey", "model": "sentry.group", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.eventattachment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_eventattachment", "uniques": [] }, "sentry.exporteddata": { "dangling": false, "foreign_keys": { "file_id": { "kind": "ImplicitForeignKey", "model": "sentry.file", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.exporteddata", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_exporteddata", "uniques": [] }, "sentry.exporteddatablob": { "dangling": false, "foreign_keys": { "data_export": { "kind": "FlexibleForeignKey", "model": "sentry.exporteddata", "nullable": false } }, "model": "sentry.exporteddatablob", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_exporteddatablob", "uniques": [ [ "blob_id", "data_export", "offset" ] ] }, "sentry.externalactor": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.integration", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.externalactor", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_externalactor", "uniques": [ [ "external_name", "organization", "provider", "team_id" ], [ "external_name", "organization", "provider", "user_id" ] ] }, "sentry.externalissue": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.integration", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.externalissue", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_externalissue", "uniques": [ [ "integration_id", "key", "organization" ] ] }, "sentry.featureadoption": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.featureadoption", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_featureadoption", "uniques": [ [ "feature_id", "organization" ] ] }, "sentry.file": { "dangling": false, "foreign_keys": { "blob": { "kind": "FlexibleForeignKey", "model": "sentry.fileblob", "nullable": true } }, "model": "sentry.file", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_file", "uniques": [] }, "sentry.fileblob": { "dangling": false, "foreign_keys": {}, "model": "sentry.fileblob", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_fileblob", "uniques": [ [ "checksum" ] ] }, "sentry.fileblobindex": { "dangling": false, "foreign_keys": { "blob": { "kind": "FlexibleForeignKey", "model": "sentry.fileblob", "nullable": false }, "file": { "kind": "FlexibleForeignKey", "model": "sentry.file", "nullable": false } }, "model": "sentry.fileblobindex", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_fileblobindex", "uniques": [ [ "blob", "file", "offset" ] ] }, "sentry.fileblobowner": { "dangling": false, "foreign_keys": { "blob": { "kind": "FlexibleForeignKey", "model": "sentry.fileblob", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.fileblobowner", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_fileblobowner", "uniques": [ [ "blob", "organization_id" ] ] }, "sentry.group": { "dangling": false, "foreign_keys": { "first_release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.group", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupedmessage", "uniques": [ [ "id", "project" ], [ "project", "short_id" ] ] }, "sentry.groupassignee": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.groupassignee", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupasignee", "uniques": [ [ "group" ], [ "group", "project" ] ] }, "sentry.groupbookmark": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.groupbookmark", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupbookmark", "uniques": [ [ "group", "project", "user_id" ] ] }, "sentry.groupcommitresolution": { "dangling": false, "foreign_keys": { "commit_id": { "kind": "ImplicitForeignKey", "model": "sentry.commit", "nullable": false }, "group_id": { "kind": "ImplicitForeignKey", "model": "sentry.group", "nullable": false } }, "model": "sentry.groupcommitresolution", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupcommitresolution", "uniques": [ [ "commit_id", "group_id" ] ] }, "sentry.groupemailthread": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.groupemailthread", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupemailthread", "uniques": [ [ "email", "group" ], [ "email", "msgid" ] ] }, "sentry.groupenvironment": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": false }, "first_release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": true }, "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false } }, "model": "sentry.groupenvironment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupenvironment", "uniques": [ [ "environment", "group" ] ] }, "sentry.grouphash": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": true }, "group_tombstone_id": { "kind": "ImplicitForeignKey", "model": "sentry.grouptombstone", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.grouphash", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouphash", "uniques": [ [ "hash", "project" ] ] }, "sentry.grouphistory": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": true }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.grouphistory", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouphistory", "uniques": [] }, "sentry.groupinbox": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.groupinbox", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupinbox", "uniques": [ [ "group" ] ] }, "sentry.grouplink": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.grouplink", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouplink", "uniques": [ [ "group", "linked_id", "linked_type" ] ] }, "sentry.groupmeta": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false } }, "model": "sentry.groupmeta", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupmeta", "uniques": [ [ "group", "key" ] ] }, "sentry.groupowner": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.groupowner", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupowner", "uniques": [] }, "sentry.groupredirect": { "dangling": false, "foreign_keys": { "group_id": { "kind": "ImplicitForeignKey", "model": "sentry.group", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": true } }, "model": "sentry.groupredirect", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupredirect", "uniques": [ [ "organization_id", "previous_project_slug", "previous_short_id" ], [ "previous_group_id" ] ] }, "sentry.grouprelease": { "dangling": false, "foreign_keys": { "group_id": { "kind": "ImplicitForeignKey", "model": "sentry.group", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false }, "release_id": { "kind": "ImplicitForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.grouprelease", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouprelease", "uniques": [ [ "environment", "group_id", "release_id" ] ] }, "sentry.groupresolution": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.groupresolution", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupresolution", "uniques": [ [ "group" ] ] }, "sentry.grouprulestatus": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "rule": { "kind": "FlexibleForeignKey", "model": "sentry.rule", "nullable": false } }, "model": "sentry.grouprulestatus", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouprulestatus", "uniques": [ [ "group", "rule" ] ] }, "sentry.groupsearchview": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.groupsearchview", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_groupsearchview", "uniques": [ [ "organization_id", "position", "user_id" ] ] }, "sentry.groupseen": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.groupseen", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupseen", "uniques": [ [ "group", "user_id" ] ] }, "sentry.groupshare": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.groupshare", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupshare", "uniques": [ [ "group" ], [ "uuid" ] ] }, "sentry.groupsnooze": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false } }, "model": "sentry.groupsnooze", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupsnooze", "uniques": [ [ "group" ] ] }, "sentry.groupsubscription": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.groupsubscription", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_groupsubscription", "uniques": [ [ "group", "team" ], [ "group", "user_id" ] ] }, "sentry.grouptombstone": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.grouptombstone", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_grouptombstone", "uniques": [ [ "previous_group_id" ] ] }, "sentry.identity": { "dangling": false, "foreign_keys": { "idp": { "kind": "FlexibleForeignKey", "model": "sentry.identityprovider", "nullable": false }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.identity", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_identity", "uniques": [ [ "external_id", "idp" ], [ "idp", "user" ] ] }, "sentry.identityprovider": { "dangling": false, "foreign_keys": {}, "model": "sentry.identityprovider", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_identityprovider", "uniques": [ [ "external_id", "type" ] ] }, "sentry.incident": { "dangling": false, "foreign_keys": { "activation": { "kind": "FlexibleForeignKey", "model": "sentry.alertruleactivations", "nullable": true }, "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "subscription": { "kind": "FlexibleForeignKey", "model": "sentry.querysubscription", "nullable": true } }, "model": "sentry.incident", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_incident", "uniques": [ [ "identifier", "organization" ] ] }, "sentry.incidentactivity": { "dangling": false, "foreign_keys": { "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.incidentactivity", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_incidentactivity", "uniques": [] }, "sentry.incidentproject": { "dangling": false, "foreign_keys": { "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.incidentproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_incidentproject", "uniques": [ [ "incident", "project" ] ] }, "sentry.incidentseen": { "dangling": false, "foreign_keys": { "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.incidentseen", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_incidentseen", "uniques": [ [ "incident", "user_id" ] ] }, "sentry.incidentsnapshot": { "dangling": false, "foreign_keys": { "event_stats_snapshot": { "kind": "FlexibleForeignKey", "model": "sentry.timeseriessnapshot", "nullable": false }, "incident": { "kind": "OneToOneCascadeDeletes", "model": "sentry.incident", "nullable": false } }, "model": "sentry.incidentsnapshot", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_incidentsnapshot", "uniques": [ [ "incident" ] ] }, "sentry.incidentsubscription": { "dangling": false, "foreign_keys": { "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.incidentsubscription", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_incidentsubscription", "uniques": [ [ "incident", "user_id" ] ] }, "sentry.incidenttrigger": { "dangling": false, "foreign_keys": { "alert_rule_trigger": { "kind": "FlexibleForeignKey", "model": "sentry.alertruletrigger", "nullable": false }, "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": false } }, "model": "sentry.incidenttrigger", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_incidenttrigger", "uniques": [ [ "alert_rule_trigger", "incident" ] ] }, "sentry.integration": { "dangling": false, "foreign_keys": {}, "model": "sentry.integration", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_integration", "uniques": [ [ "external_id", "provider" ] ] }, "sentry.integrationexternalproject": { "dangling": false, "foreign_keys": { "organization_integration_id": { "kind": "ImplicitForeignKey", "model": "sentry.organizationintegration", "nullable": false } }, "model": "sentry.integrationexternalproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_integrationexternalproject", "uniques": [ [ "external_id", "organization_integration_id" ] ] }, "sentry.integrationfeature": { "dangling": false, "foreign_keys": {}, "model": "sentry.integrationfeature", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_integrationfeature", "uniques": [ [ "feature", "target_id", "target_type" ] ] }, "sentry.latestreporeleaseenvironment": { "dangling": false, "foreign_keys": { "commit_id": { "kind": "ImplicitForeignKey", "model": "sentry.commit", "nullable": true }, "deploy_id": { "kind": "ImplicitForeignKey", "model": "sentry.deploy", "nullable": true }, "environment_id": { "kind": "ImplicitForeignKey", "model": "sentry.environment", "nullable": false }, "release_id": { "kind": "ImplicitForeignKey", "model": "sentry.release", "nullable": false }, "repository_id": { "kind": "ImplicitForeignKey", "model": "sentry.repository", "nullable": false } }, "model": "sentry.latestreporeleaseenvironment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_latestrelease", "uniques": [ [ "environment_id", "repository_id" ] ] }, "sentry.lostpasswordhash": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.lostpasswordhash", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_lostpasswordhash", "uniques": [ [ "user" ] ] }, "sentry.metricskeyindexer": { "dangling": false, "foreign_keys": {}, "model": "sentry.metricskeyindexer", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_metricskeyindexer", "uniques": [ [ "string" ] ] }, "sentry.monitor": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "owner_user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.monitor", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_monitor", "uniques": [ [ "guid" ], [ "project_id", "slug" ] ] }, "sentry.monitorcheckin": { "dangling": false, "foreign_keys": { "location": { "kind": "FlexibleForeignKey", "model": "sentry.monitorlocation", "nullable": true }, "monitor": { "kind": "FlexibleForeignKey", "model": "sentry.monitor", "nullable": false }, "monitor_environment": { "kind": "FlexibleForeignKey", "model": "sentry.monitorenvironment", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.monitorcheckin", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_monitorcheckin", "uniques": [ [ "guid" ] ] }, "sentry.monitorenvbrokendetection": { "dangling": false, "foreign_keys": { "monitor_incident": { "kind": "FlexibleForeignKey", "model": "sentry.monitorincident", "nullable": false } }, "model": "sentry.monitorenvbrokendetection", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_monitorenvbrokendetection", "uniques": [] }, "sentry.monitorenvironment": { "dangling": false, "foreign_keys": { "environment_id": { "kind": "ImplicitForeignKey", "model": "sentry.environment", "nullable": false }, "monitor": { "kind": "FlexibleForeignKey", "model": "sentry.monitor", "nullable": false } }, "model": "sentry.monitorenvironment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_monitorenvironment", "uniques": [ [ "environment_id", "monitor" ] ] }, "sentry.monitorincident": { "dangling": false, "foreign_keys": { "monitor": { "kind": "FlexibleForeignKey", "model": "sentry.monitor", "nullable": false }, "monitor_environment": { "kind": "FlexibleForeignKey", "model": "sentry.monitorenvironment", "nullable": false }, "resolving_checkin": { "kind": "FlexibleForeignKey", "model": "sentry.monitorcheckin", "nullable": true }, "starting_checkin": { "kind": "FlexibleForeignKey", "model": "sentry.monitorcheckin", "nullable": true } }, "model": "sentry.monitorincident", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_monitorincident", "uniques": [ [ "monitor_environment_id" ] ] }, "sentry.monitorlocation": { "dangling": false, "foreign_keys": {}, "model": "sentry.monitorlocation", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_monitorlocation", "uniques": [ [ "guid" ] ] }, "sentry.neglectedrule": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "rule": { "kind": "FlexibleForeignKey", "model": "sentry.rule", "nullable": false } }, "model": "sentry.neglectedrule", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_neglectedrule", "uniques": [] }, "sentry.notificationaction": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.integration", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "sentry_app_id": { "kind": "HybridCloudForeignKey", "model": "sentry.sentryapp", "nullable": true } }, "model": "sentry.notificationaction", "relocation_dependencies": [], "relocation_scope": [ "Organization", "Global" ], "silos": [ "Region" ], "table_name": "sentry_notificationaction", "uniques": [] }, "sentry.notificationactionproject": { "dangling": false, "foreign_keys": { "action": { "kind": "FlexibleForeignKey", "model": "sentry.notificationaction", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.notificationactionproject", "relocation_dependencies": [], "relocation_scope": [ "Organization", "Global" ], "silos": [ "Region" ], "table_name": "sentry_notificationactionproject", "uniques": [] }, "sentry.notificationmessage": { "dangling": false, "foreign_keys": { "incident": { "kind": "FlexibleForeignKey", "model": "sentry.incident", "nullable": true }, "rule_fire_history": { "kind": "FlexibleForeignKey", "model": "sentry.rulefirehistory", "nullable": true }, "trigger_action": { "kind": "FlexibleForeignKey", "model": "sentry.alertruletriggeraction", "nullable": true } }, "model": "sentry.notificationmessage", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_notificationmessage", "uniques": [ [ "incident", "trigger_action" ], [ "rule_action_uuid", "rule_fire_history" ] ] }, "sentry.notificationsettingoption": { "dangling": false, "foreign_keys": { "team_id": { "kind": "HybridCloudForeignKey", "model": "sentry.team", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.notificationsettingoption", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_notificationsettingoption", "uniques": [ [ "scope_identifier", "scope_type", "team_id", "type", "user_id" ] ] }, "sentry.notificationsettingprovider": { "dangling": false, "foreign_keys": { "team_id": { "kind": "HybridCloudForeignKey", "model": "sentry.team", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.notificationsettingprovider", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_notificationsettingprovider", "uniques": [ [ "provider", "scope_identifier", "scope_type", "team_id", "type", "user_id" ] ] }, "sentry.option": { "dangling": false, "foreign_keys": {}, "model": "sentry.option", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Region" ], "table_name": "sentry_option", "uniques": [ [ "key" ] ] }, "sentry.organization": { "dangling": false, "foreign_keys": {}, "model": "sentry.organization", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_organization", "uniques": [ [ "slug" ] ] }, "sentry.organizationaccessrequest": { "dangling": false, "foreign_keys": { "member": { "kind": "FlexibleForeignKey", "model": "sentry.organizationmember", "nullable": false }, "requester_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.organizationaccessrequest", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_organizationaccessrequest", "uniques": [ [ "member", "team" ] ] }, "sentry.organizationavatar": { "dangling": false, "foreign_keys": { "file_id": { "kind": "ImplicitForeignKey", "model": "sentry.file", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.organizationavatar", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_organizationavatar", "uniques": [ [ "file_id" ], [ "ident" ], [ "organization" ] ] }, "sentry.organizationintegration": { "dangling": false, "foreign_keys": { "integration": { "kind": "FlexibleForeignKey", "model": "sentry.integration", "nullable": false }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.organizationintegration", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_organizationintegration", "uniques": [ [ "integration", "organization_id" ] ] }, "sentry.organizationmapping": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.organizationmapping", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_organizationmapping", "uniques": [ [ "organization_id" ], [ "slug" ] ] }, "sentry.organizationmember": { "dangling": false, "foreign_keys": { "inviter_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.organizationmember", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_organizationmember", "uniques": [ [ "email", "organization" ], [ "organization", "user_id" ], [ "token" ] ] }, "sentry.organizationmembermapping": { "dangling": false, "foreign_keys": { "inviter": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "organizationmember_id": { "kind": "ImplicitForeignKey", "model": "sentry.organizationmember", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.organizationmembermapping", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_organizationmembermapping", "uniques": [ [ "organization_id", "organizationmember_id" ] ] }, "sentry.organizationmemberteam": { "dangling": false, "foreign_keys": { "organizationmember": { "kind": "FlexibleForeignKey", "model": "sentry.organizationmember", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.organizationmemberteam", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_organizationmember_teams", "uniques": [ [ "organizationmember", "team" ] ] }, "sentry.organizationmemberteamreplica": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "organizationmember_id": { "kind": "ImplicitForeignKey", "model": "sentry.organizationmember", "nullable": false }, "organizationmemberteam_id": { "kind": "ImplicitForeignKey", "model": "sentry.organizationmemberteam", "nullable": false }, "team_id": { "kind": "HybridCloudForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.organizationmemberteamreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_organizationmember_teamsreplica", "uniques": [ [ "organization_id", "organizationmember_id", "team_id" ] ] }, "sentry.organizationonboardingtask": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.organizationonboardingtask", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_organizationonboardingtask", "uniques": [ [ "organization", "task" ] ] }, "sentry.organizationoption": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.organizationoption", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_organizationoptions", "uniques": [ [ "key", "organization" ] ] }, "sentry.organizationslugreservation": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "user_id": { "kind": "ImplicitForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.organizationslugreservation", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_organizationslugreservation", "uniques": [ [ "organization_id", "reservation_type" ], [ "slug" ] ] }, "sentry.orgauthtoken": { "dangling": false, "foreign_keys": { "created_by": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "project_last_used_id": { "kind": "HybridCloudForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.orgauthtoken", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Control" ], "table_name": "sentry_orgauthtoken", "uniques": [ [ "token_hashed" ] ] }, "sentry.pendingincidentsnapshot": { "dangling": false, "foreign_keys": { "incident": { "kind": "OneToOneCascadeDeletes", "model": "sentry.incident", "nullable": false } }, "model": "sentry.pendingincidentsnapshot", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_pendingincidentsnapshot", "uniques": [ [ "incident" ] ] }, "sentry.perfstringindexer": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.perfstringindexer", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_perfstringindexer", "uniques": [ [ "organization_id", "string", "use_case_id" ] ] }, "sentry.platformexternalissue": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.platformexternalissue", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_platformexternalissue", "uniques": [ [ "group", "service_type" ] ] }, "sentry.proguardartifactrelease": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_debug_file": { "kind": "FlexibleForeignKey", "model": "sentry.projectdebugfile", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.proguardartifactrelease", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_proguardartifactrelease", "uniques": [ [ "proguard_uuid", "project_id", "release_name" ] ] }, "sentry.project": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "template": { "kind": "FlexibleForeignKey", "model": "sentry.projecttemplate", "nullable": true } }, "model": "sentry.project", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_project", "uniques": [ [ "organization", "slug" ] ] }, "sentry.projectartifactbundle": { "dangling": false, "foreign_keys": { "artifact_bundle": { "kind": "FlexibleForeignKey", "model": "sentry.artifactbundle", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectartifactbundle", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projectartifactbundle", "uniques": [] }, "sentry.projectbookmark": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.projectbookmark", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectbookmark", "uniques": [ [ "project", "user_id" ] ] }, "sentry.projectcodeowners": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "repository_project_path_config": { "kind": "FlexibleForeignKey", "model": "sentry.repositoryprojectpathconfig", "nullable": false } }, "model": "sentry.projectcodeowners", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projectcodeowners", "uniques": [ [ "repository_project_path_config" ] ] }, "sentry.projectdebugfile": { "dangling": false, "foreign_keys": { "file": { "kind": "FlexibleForeignKey", "model": "sentry.file", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.projectdebugfile", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projectdsymfile", "uniques": [] }, "sentry.projectintegration": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.integration", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectintegration", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Region" ], "table_name": "sentry_projectintegration", "uniques": [ [ "integration_id", "project" ] ] }, "sentry.projectkey": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectkey", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectkey", "uniques": [ [ "public_key" ], [ "secret_key" ] ] }, "sentry.projectoption": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectoption", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectoptions", "uniques": [ [ "key", "project" ] ] }, "sentry.projectownership": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectownership", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectownership", "uniques": [ [ "project" ] ] }, "sentry.projectplatform": { "dangling": false, "foreign_keys": { "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectplatform", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projectplatform", "uniques": [ [ "platform", "project_id" ] ] }, "sentry.projectredirect": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projectredirect", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectredirect", "uniques": [ [ "organization", "redirect_slug" ] ] }, "sentry.projectteam": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.projectteam", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projectteam", "uniques": [ [ "project", "team" ] ] }, "sentry.projecttemplate": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.projecttemplate", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projecttemplate", "uniques": [ [ "name", "organization" ] ] }, "sentry.projecttemplateoption": { "dangling": false, "foreign_keys": { "project_template": { "kind": "FlexibleForeignKey", "model": "sentry.projecttemplate", "nullable": false } }, "model": "sentry.projecttemplateoption", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_projecttemplateoption", "uniques": [ [ "key", "project_template" ] ] }, "sentry.projecttransactionthreshold": { "dangling": false, "foreign_keys": { "edited_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projecttransactionthreshold", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projecttransactionthreshold", "uniques": [ [ "project" ] ] }, "sentry.projecttransactionthresholdoverride": { "dangling": false, "foreign_keys": { "edited_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.projecttransactionthresholdoverride", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_projecttransactionthresholdoverride", "uniques": [ [ "project", "transaction" ] ] }, "sentry.promptsactivity": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.promptsactivity", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_promptsactivity", "uniques": [ [ "feature", "organization_id", "project_id", "user_id" ] ] }, "sentry.pullrequest": { "dangling": false, "foreign_keys": { "author": { "kind": "FlexibleForeignKey", "model": "sentry.commitauthor", "nullable": true }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "repository_id": { "kind": "ImplicitForeignKey", "model": "sentry.repository", "nullable": false } }, "model": "sentry.pullrequest", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_pull_request", "uniques": [ [ "key", "repository_id" ] ] }, "sentry.pullrequestcomment": { "dangling": false, "foreign_keys": { "pull_request": { "kind": "FlexibleForeignKey", "model": "sentry.pullrequest", "nullable": false } }, "model": "sentry.pullrequestcomment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_pullrequest_comment", "uniques": [ [ "comment_type", "pull_request" ] ] }, "sentry.pullrequestcommit": { "dangling": false, "foreign_keys": { "commit": { "kind": "FlexibleForeignKey", "model": "sentry.commit", "nullable": false }, "pull_request": { "kind": "FlexibleForeignKey", "model": "sentry.pullrequest", "nullable": false } }, "model": "sentry.pullrequestcommit", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_pullrequest_commit", "uniques": [ [ "commit", "pull_request" ] ] }, "sentry.querysubscription": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "snuba_query": { "kind": "FlexibleForeignKey", "model": "sentry.snubaquery", "nullable": true } }, "model": "sentry.querysubscription", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_querysubscription", "uniques": [ [ "subscription_id" ] ] }, "sentry.recentsearch": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.recentsearch", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_recentsearch", "uniques": [ [ "organization", "query_hash", "type", "user_id" ] ] }, "sentry.regionimportchunk": { "dangling": false, "foreign_keys": {}, "model": "sentry.regionimportchunk", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_regionimportchunk", "uniques": [ [ "import_uuid", "min_ordinal", "model" ] ] }, "sentry.regionoutbox": { "dangling": false, "foreign_keys": {}, "model": "sentry.regionoutbox", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_regionoutbox", "uniques": [] }, "sentry.regionscheduleddeletion": { "dangling": false, "foreign_keys": {}, "model": "sentry.regionscheduleddeletion", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_regionscheduleddeletion", "uniques": [ [ "app_label", "model_name", "object_id" ], [ "guid" ] ] }, "sentry.regiontombstone": { "dangling": false, "foreign_keys": {}, "model": "sentry.regiontombstone", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_regiontombstone", "uniques": [] }, "sentry.regressiongroup": { "dangling": false, "foreign_keys": { "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.regressiongroup", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_regressiongroup", "uniques": [ [ "fingerprint", "project_id", "type", "version" ] ] }, "sentry.relay": { "dangling": false, "foreign_keys": {}, "model": "sentry.relay", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Region" ], "table_name": "sentry_relay", "uniques": [ [ "relay_id" ] ] }, "sentry.relayusage": { "dangling": false, "foreign_keys": {}, "model": "sentry.relayusage", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Region" ], "table_name": "sentry_relayusage", "uniques": [ [ "relay_id", "version" ] ] }, "sentry.release": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "owner_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.release", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_release", "uniques": [ [ "organization", "version" ] ] }, "sentry.releaseactivity": { "dangling": false, "foreign_keys": { "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releaseactivity", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releaseactivity", "uniques": [] }, "sentry.releaseartifactbundle": { "dangling": false, "foreign_keys": { "artifact_bundle": { "kind": "FlexibleForeignKey", "model": "sentry.artifactbundle", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.releaseartifactbundle", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releaseartifactbundle", "uniques": [] }, "sentry.releasecommit": { "dangling": false, "foreign_keys": { "commit": { "kind": "FlexibleForeignKey", "model": "sentry.commit", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releasecommit", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releasecommit", "uniques": [ [ "commit", "release" ], [ "order", "release" ] ] }, "sentry.releaseenvironment": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": false }, "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releaseenvironment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_environmentrelease", "uniques": [ [ "environment", "organization", "release" ] ] }, "sentry.releasefile": { "dangling": false, "foreign_keys": { "file": { "kind": "FlexibleForeignKey", "model": "sentry.file", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true }, "release_id": { "kind": "ImplicitForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releasefile", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releasefile", "uniques": [ [ "ident", "release_id" ] ] }, "sentry.releaseheadcommit": { "dangling": false, "foreign_keys": { "commit": { "kind": "FlexibleForeignKey", "model": "sentry.commit", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false }, "repository_id": { "kind": "ImplicitForeignKey", "model": "sentry.repository", "nullable": false } }, "model": "sentry.releaseheadcommit", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releaseheadcommit", "uniques": [ [ "release", "repository_id" ] ] }, "sentry.releaseproject": { "dangling": false, "foreign_keys": { "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releaseproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_release_project", "uniques": [ [ "project", "release" ] ] }, "sentry.releaseprojectenvironment": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "release": { "kind": "FlexibleForeignKey", "model": "sentry.release", "nullable": false } }, "model": "sentry.releaseprojectenvironment", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releaseprojectenvironment", "uniques": [ [ "environment", "project", "release" ] ] }, "sentry.releasethreshold": { "dangling": false, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.releasethreshold", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_releasethreshold", "uniques": [] }, "sentry.relocation": { "dangling": false, "foreign_keys": {}, "model": "sentry.relocation", "relocation_dependencies": [ "sentry.user" ], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_relocation", "uniques": [ [ "uuid" ] ] }, "sentry.relocationfile": { "dangling": false, "foreign_keys": { "file": { "kind": "FlexibleForeignKey", "model": "sentry.file", "nullable": false }, "relocation": { "kind": "FlexibleForeignKey", "model": "sentry.relocation", "nullable": false } }, "model": "sentry.relocationfile", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_relocationfile", "uniques": [ [ "file", "relocation" ], [ "kind", "relocation" ] ] }, "sentry.relocationvalidation": { "dangling": false, "foreign_keys": { "relocation": { "kind": "FlexibleForeignKey", "model": "sentry.relocation", "nullable": false } }, "model": "sentry.relocationvalidation", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_relocationvalidation", "uniques": [] }, "sentry.relocationvalidationattempt": { "dangling": false, "foreign_keys": { "relocation": { "kind": "FlexibleForeignKey", "model": "sentry.relocation", "nullable": false }, "relocation_validation": { "kind": "FlexibleForeignKey", "model": "sentry.relocationvalidation", "nullable": false } }, "model": "sentry.relocationvalidationattempt", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_relocationvalidationattempt", "uniques": [ [ "build_id" ] ] }, "sentry.repository": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "ImplicitForeignKey", "model": "sentry.integration", "nullable": true }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.repository", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Region" ], "table_name": "sentry_repository", "uniques": [ [ "external_id", "organization_id", "provider" ] ] }, "sentry.repositoryprojectpathconfig": { "dangling": false, "foreign_keys": { "integration_id": { "kind": "ImplicitForeignKey", "model": "sentry.integration", "nullable": false }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false }, "organization_integration_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organizationintegration", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "repository": { "kind": "FlexibleForeignKey", "model": "sentry.repository", "nullable": false } }, "model": "sentry.repositoryprojectpathconfig", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_repositoryprojectpathconfig", "uniques": [ [ "project", "stack_root" ] ] }, "sentry.rule": { "dangling": false, "foreign_keys": { "environment_id": { "kind": "ImplicitForeignKey", "model": "sentry.environment", "nullable": true }, "owner_team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "owner_user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.rule", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_rule", "uniques": [] }, "sentry.ruleactivity": { "dangling": false, "foreign_keys": { "rule": { "kind": "FlexibleForeignKey", "model": "sentry.rule", "nullable": false }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.ruleactivity", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_ruleactivity", "uniques": [] }, "sentry.rulefirehistory": { "dangling": false, "foreign_keys": { "group": { "kind": "FlexibleForeignKey", "model": "sentry.group", "nullable": false }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "rule": { "kind": "FlexibleForeignKey", "model": "sentry.rule", "nullable": false } }, "model": "sentry.rulefirehistory", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_rulefirehistory", "uniques": [] }, "sentry.rulesnooze": { "dangling": false, "foreign_keys": { "alert_rule": { "kind": "FlexibleForeignKey", "model": "sentry.alertrule", "nullable": true }, "owner_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "rule": { "kind": "FlexibleForeignKey", "model": "sentry.rule", "nullable": true }, "user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.rulesnooze", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_rulesnooze", "uniques": [ [ "alert_rule" ], [ "alert_rule", "user_id" ], [ "rule" ], [ "rule", "user_id" ] ] }, "sentry.savedsearch": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": true }, "owner_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.savedsearch", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_savedsearch", "uniques": [ [ "is_global", "name" ], [ "organization", "owner_id", "type" ] ] }, "sentry.scheduleddeletion": { "dangling": false, "foreign_keys": {}, "model": "sentry.scheduleddeletion", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_scheduleddeletion", "uniques": [ [ "app_label", "model_name", "object_id" ], [ "guid" ] ] }, "sentry.sentryapp": { "dangling": false, "foreign_keys": { "application": { "kind": "DefaultOneToOneField", "model": "sentry.apiapplication", "nullable": true }, "creator_user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": true }, "owner_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "proxy_user": { "kind": "DefaultOneToOneField", "model": "sentry.user", "nullable": true } }, "model": "sentry.sentryapp", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_sentryapp", "uniques": [ [ "application" ], [ "proxy_user" ], [ "slug" ] ] }, "sentry.sentryappavatar": { "dangling": false, "foreign_keys": { "control_file_id": { "kind": "ImplicitForeignKey", "model": "sentry.controlfile", "nullable": true }, "sentry_app": { "kind": "FlexibleForeignKey", "model": "sentry.sentryapp", "nullable": false } }, "model": "sentry.sentryappavatar", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_sentryappavatar", "uniques": [ [ "control_file_id" ], [ "ident" ] ] }, "sentry.sentryappcomponent": { "dangling": false, "foreign_keys": { "sentry_app": { "kind": "FlexibleForeignKey", "model": "sentry.sentryapp", "nullable": false } }, "model": "sentry.sentryappcomponent", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_sentryappcomponent", "uniques": [ [ "uuid" ] ] }, "sentry.sentryappinstallation": { "dangling": false, "foreign_keys": { "api_grant": { "kind": "DefaultOneToOneField", "model": "sentry.apigrant", "nullable": true }, "api_token": { "kind": "DefaultOneToOneField", "model": "sentry.apitoken", "nullable": true }, "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "sentry_app": { "kind": "FlexibleForeignKey", "model": "sentry.sentryapp", "nullable": false } }, "model": "sentry.sentryappinstallation", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_sentryappinstallation", "uniques": [ [ "api_grant" ], [ "api_token" ] ] }, "sentry.sentryappinstallationforprovider": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "sentry_app_installation": { "kind": "FlexibleForeignKey", "model": "sentry.sentryappinstallation", "nullable": false } }, "model": "sentry.sentryappinstallationforprovider", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_sentryappinstallationforprovider", "uniques": [ [ "organization_id", "provider" ] ] }, "sentry.sentryappinstallationtoken": { "dangling": false, "foreign_keys": { "api_token": { "kind": "FlexibleForeignKey", "model": "sentry.apitoken", "nullable": false }, "sentry_app_installation": { "kind": "FlexibleForeignKey", "model": "sentry.sentryappinstallation", "nullable": false } }, "model": "sentry.sentryappinstallationtoken", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_sentryappinstallationtoken", "uniques": [ [ "api_token", "sentry_app_installation" ] ] }, "sentry.sentryshot": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.sentryshot", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_sentryshot", "uniques": [] }, "sentry.servicehook": { "dangling": false, "foreign_keys": { "application_id": { "kind": "HybridCloudForeignKey", "model": "sentry.apiapplication", "nullable": true }, "installation_id": { "kind": "HybridCloudForeignKey", "model": "sentry.sentryappinstallation", "nullable": true }, "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": true } }, "model": "sentry.servicehook", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Region" ], "table_name": "sentry_servicehook", "uniques": [ [ "guid" ] ] }, "sentry.servicehookproject": { "dangling": false, "foreign_keys": { "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false }, "service_hook": { "kind": "FlexibleForeignKey", "model": "sentry.servicehook", "nullable": false } }, "model": "sentry.servicehookproject", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_servicehookproject", "uniques": [ [ "project_id", "service_hook" ] ] }, "sentry.snubaquery": { "dangling": true, "foreign_keys": { "environment": { "kind": "FlexibleForeignKey", "model": "sentry.environment", "nullable": true } }, "model": "sentry.snubaquery", "relocation_dependencies": [ "sentry.organization", "sentry.project" ], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_snubaquery", "uniques": [] }, "sentry.snubaqueryeventtype": { "dangling": false, "foreign_keys": { "snuba_query": { "kind": "FlexibleForeignKey", "model": "sentry.snubaquery", "nullable": false } }, "model": "sentry.snubaqueryeventtype", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_snubaqueryeventtype", "uniques": [ [ "snuba_query", "type" ] ] }, "sentry.spanattributeextractionrulecondition": { "dangling": false, "foreign_keys": { "config": { "kind": "FlexibleForeignKey", "model": "sentry.spanattributeextractionruleconfig", "nullable": false }, "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true } }, "model": "sentry.spanattributeextractionrulecondition", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_spanattributeextractionrulecondition", "uniques": [] }, "sentry.spanattributeextractionruleconfig": { "dangling": false, "foreign_keys": { "created_by_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.spanattributeextractionruleconfig", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_spanattributeextractionruleconfig", "uniques": [ [ "project", "span_attribute" ] ] }, "sentry.stringindexer": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "ImplicitForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.stringindexer", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_stringindexer", "uniques": [ [ "organization_id", "string" ] ] }, "sentry.team": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false } }, "model": "sentry.team", "relocation_dependencies": [], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_team", "uniques": [ [ "organization", "slug" ] ] }, "sentry.teamkeytransaction": { "dangling": false, "foreign_keys": { "organization": { "kind": "FlexibleForeignKey", "model": "sentry.organization", "nullable": false }, "project_team": { "kind": "FlexibleForeignKey", "model": "sentry.projectteam", "nullable": true } }, "model": "sentry.teamkeytransaction", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_performanceteamkeytransaction", "uniques": [ [ "project_team", "transaction" ] ] }, "sentry.teamreplica": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": false }, "team_id": { "kind": "HybridCloudForeignKey", "model": "sentry.team", "nullable": false } }, "model": "sentry.teamreplica", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_teamreplica", "uniques": [ [ "organization_id", "slug" ] ] }, "sentry.timeseriessnapshot": { "dangling": true, "foreign_keys": {}, "model": "sentry.timeseriessnapshot", "relocation_dependencies": [ "sentry.incident" ], "relocation_scope": "Organization", "silos": [ "Region" ], "table_name": "sentry_timeseriessnapshot", "uniques": [] }, "sentry.user": { "dangling": false, "foreign_keys": {}, "model": "sentry.user", "relocation_dependencies": [], "relocation_scope": "User", "silos": [ "Control" ], "table_name": "auth_user", "uniques": [ [ "username" ] ] }, "sentry.useravatar": { "dangling": false, "foreign_keys": { "control_file_id": { "kind": "ImplicitForeignKey", "model": "sentry.controlfile", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.useravatar", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "sentry_useravatar", "uniques": [ [ "control_file_id" ], [ "ident" ], [ "user" ] ] }, "sentry.useremail": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.useremail", "relocation_dependencies": [ "sentry.email" ], "relocation_scope": "User", "silos": [ "Control" ], "table_name": "sentry_useremail", "uniques": [ [ "email", "user" ] ] }, "sentry.userip": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.userip", "relocation_dependencies": [], "relocation_scope": "Global", "silos": [ "Control" ], "table_name": "sentry_userip", "uniques": [ [ "ip_address", "user" ] ] }, "sentry.useroption": { "dangling": false, "foreign_keys": { "organization_id": { "kind": "HybridCloudForeignKey", "model": "sentry.organization", "nullable": true }, "project_id": { "kind": "HybridCloudForeignKey", "model": "sentry.project", "nullable": true }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.useroption", "relocation_dependencies": [], "relocation_scope": "User", "silos": [ "Control" ], "table_name": "sentry_useroption", "uniques": [ [ "key", "organization_id", "user" ], [ "key", "project_id", "user" ] ] }, "sentry.userpermission": { "dangling": false, "foreign_keys": { "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.userpermission", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Control" ], "table_name": "sentry_userpermission", "uniques": [ [ "permission", "user" ] ] }, "sentry.userreport": { "dangling": false, "foreign_keys": { "environment_id": { "kind": "ImplicitForeignKey", "model": "sentry.environment", "nullable": true }, "group_id": { "kind": "ImplicitForeignKey", "model": "sentry.group", "nullable": true }, "project_id": { "kind": "ImplicitForeignKey", "model": "sentry.project", "nullable": false } }, "model": "sentry.userreport", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "sentry_userreport", "uniques": [ [ "event_id", "project_id" ] ] }, "sentry.userrole": { "dangling": false, "foreign_keys": {}, "model": "sentry.userrole", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Control" ], "table_name": "sentry_userrole", "uniques": [ [ "name" ] ] }, "sentry.userroleuser": { "dangling": false, "foreign_keys": { "role": { "kind": "FlexibleForeignKey", "model": "sentry.userrole", "nullable": false }, "user": { "kind": "FlexibleForeignKey", "model": "sentry.user", "nullable": false } }, "model": "sentry.userroleuser", "relocation_dependencies": [], "relocation_scope": "Config", "silos": [ "Control" ], "table_name": "sentry_userrole_users", "uniques": [] }, "social_auth.usersocialauth": { "dangling": false, "foreign_keys": { "user": { "kind": "DefaultForeignKey", "model": "sentry.user", "nullable": false } }, "model": "social_auth.usersocialauth", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Control" ], "table_name": "social_auth_usersocialauth", "uniques": [ [ "provider", "uid", "user" ] ] }, "uptime.projectuptimesubscription": { "dangling": false, "foreign_keys": { "owner_team": { "kind": "FlexibleForeignKey", "model": "sentry.team", "nullable": true }, "owner_user_id": { "kind": "HybridCloudForeignKey", "model": "sentry.user", "nullable": true }, "project": { "kind": "FlexibleForeignKey", "model": "sentry.project", "nullable": false }, "uptime_subscription": { "kind": "FlexibleForeignKey", "model": "uptime.uptimesubscription", "nullable": false } }, "model": "uptime.projectuptimesubscription", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "uptime_projectuptimesubscription", "uniques": [ [ "project_id", "uptime_subscription" ] ] }, "uptime.uptimesubscription": { "dangling": false, "foreign_keys": {}, "model": "uptime.uptimesubscription", "relocation_dependencies": [], "relocation_scope": "Excluded", "silos": [ "Region" ], "table_name": "uptime_uptimesubscription", "uniques": [ [ "interval_seconds", "url" ], [ "subscription_id" ] ] } }