Browse Source

fix(migrations): Remove model dependency fixture and tests (#83143)

These tests add an extra step to making migrations, and make the
migration prs themselves messy and hard to read. I don't think these
have caught anything useful, so just removing them.

<!-- Describe your PR here. -->
Dan Fuller 2 months ago
parent
commit
1ab657f551

+ 0 - 64
bin/generate-model-dependency-fixtures

@@ -1,64 +0,0 @@
-#!/usr/bin/env python
-from __future__ import annotations
-
-from sentry.runner import configure
-
-configure()
-
-import click
-
-from sentry.backup.dependencies import (
-    DependenciesJSONEncoder,
-    dependencies,
-    get_model_name,
-    sorted_dependencies,
-)
-from sentry.testutils.factories import get_fixture_path  # noqa
-
-encoder = DependenciesJSONEncoder(
-    sort_keys=True,
-    ensure_ascii=True,
-    check_circular=True,
-    allow_nan=True,
-    indent=2,
-    encoding="utf-8",
-)
-
-
-@click.command()
-def main():
-    """Used for generating fixtures for the model dependency map."""
-
-    click.echo("\nThis script can take up to 30 seconds, please be patient...\n")
-
-    # Do all of the calculation before any file writes, so that we don't end up with partial
-    # overwrites.
-    detailed = {str(k): v for k, v in dependencies().items()}
-    flat = {k: v.flatten() for k, v in detailed.items()}
-    sorted = sorted_dependencies()
-    truncate = [dependencies()[get_model_name(m)].table_name for m in sorted_dependencies()]
-
-    det_path = get_fixture_path("backup", "model_dependencies", "detailed.json")
-    with open(det_path, "w+") as fixture:
-        fixture.write(encoder.encode(detailed))
-
-    flat_path = get_fixture_path("backup", "model_dependencies", "flat.json")
-    with open(flat_path, "w+") as fixture:
-        fixture.write(encoder.encode(flat))
-
-    det_path = get_fixture_path("backup", "model_dependencies", "sorted.json")
-    with open(det_path, "w+") as fixture:
-        fixture.write(encoder.encode(sorted))
-
-    # Print tables in the order one would need to list them for a TRUNCATE statement.
-    det_path = get_fixture_path("backup", "model_dependencies", "truncate.json")
-    with open(det_path, "w+") as fixture:
-        fixture.write(encoder.encode(truncate))
-
-    click.echo(
-        f"\nSuccess! The dependency mapping fixtures at {[det_path, flat_path]} were updated.\n"
-    )
-
-
-if __name__ == "__main__":
-    main()

+ 0 - 6754
fixtures/backup/model_dependencies/detailed.json

@@ -1,6754 +0,0 @@
-{
-  "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"
-      ]
-    ]
-  },
-  "flags.flagauditlogmodel": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "flags.flagauditlogmodel",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "flags_audit_log",
-    "uniques": []
-  },
-  "flags.flagwebhooksigningsecretmodel": {
-    "dangling": false,
-    "foreign_keys": {
-      "created_by": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      },
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "flags.flagwebhooksigningsecretmodel",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "flags_webhooksigningsecret",
-    "uniques": [
-      [
-        "organization",
-        "provider",
-        "secret"
-      ]
-    ]
-  },
-  "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
-      },
-      "scoping_organization_id": {
-        "kind": "HybridCloudForeignKey",
-        "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.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.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
-      },
-      "organization_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.organization",
-        "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",
-        "organization_id",
-        "user"
-      ],
-      [
-        "application",
-        "user"
-      ]
-    ]
-  },
-  "sentry.apigrant": {
-    "dangling": false,
-    "foreign_keys": {
-      "application": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.apiapplication",
-        "nullable": false
-      },
-      "organization_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.organization",
-        "nullable": true
-      },
-      "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
-      },
-      "scoping_organization_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.organization",
-        "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": {
-      "created_by_id": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      }
-    },
-    "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.dashboardfavoriteuser": {
-    "dangling": false,
-    "foreign_keys": {
-      "dashboard": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.dashboard",
-        "nullable": false
-      },
-      "user_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": false
-      }
-    },
-    "model": "sentry.dashboardfavoriteuser",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_dashboardfavoriteuser",
-    "uniques": [
-      [
-        "dashboard",
-        "user_id"
-      ]
-    ]
-  },
-  "sentry.dashboardpermissions": {
-    "dangling": false,
-    "foreign_keys": {
-      "dashboard": {
-        "kind": "DefaultOneToOneField",
-        "model": "sentry.dashboard",
-        "nullable": false
-      }
-    },
-    "model": "sentry.dashboardpermissions",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_dashboardpermissions",
-    "uniques": [
-      [
-        "dashboard"
-      ]
-    ]
-  },
-  "sentry.dashboardpermissionsteam": {
-    "dangling": false,
-    "foreign_keys": {
-      "permissions": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.dashboardpermissions",
-        "nullable": false
-      },
-      "team": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.team",
-        "nullable": false
-      }
-    },
-    "model": "sentry.dashboardpermissionsteam",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_dashboardpermissionsteam",
-    "uniques": [
-      [
-        "permissions",
-        "team"
-      ]
-    ]
-  },
-  "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.datasecrecywaiver": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "sentry.datasecrecywaiver",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_datasecrecywaiver",
-    "uniques": [
-      [
-        "organization"
-      ]
-    ]
-  },
-  "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.grouphashmetadata": {
-    "dangling": false,
-    "foreign_keys": {
-      "grouphash": {
-        "kind": "DefaultOneToOneField",
-        "model": "sentry.grouphash",
-        "nullable": false
-      },
-      "seer_matched_grouphash": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.grouphash",
-        "nullable": true
-      }
-    },
-    "model": "sentry.grouphashmetadata",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_grouphashmetadata",
-    "uniques": [
-      [
-        "grouphash"
-      ]
-    ]
-  },
-  "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": "Global",
-    "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": "Global",
-    "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.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": "Global",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_incidentsnapshot",
-    "uniques": [
-      [
-        "incident"
-      ]
-    ]
-  },
-  "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": "Global",
-    "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.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": "Global",
-    "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
-      }
-    },
-    "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.rollbackorganization": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "sentry.rollbackorganization",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_rollbackorganization",
-    "uniques": [
-      [
-        "organization_id"
-      ]
-    ]
-  },
-  "sentry.rollbackuser": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      },
-      "user_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": false
-      }
-    },
-    "model": "sentry.rollbackuser",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "sentry_rollbackuser",
-    "uniques": [
-      [
-        "organization_id",
-        "user_id"
-      ],
-      [
-        "share_uuid"
-      ],
-      [
-        "uuid"
-      ]
-    ]
-  },
-  "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.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": "Global",
-    "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"
-      ]
-    ]
-  },
-  "tempest.tempestcredentials": {
-    "dangling": false,
-    "foreign_keys": {
-      "created_by_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      },
-      "project": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.project",
-        "nullable": false
-      }
-    },
-    "model": "tempest.tempestcredentials",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "tempest_tempestcredentials",
-    "uniques": [
-      [
-        "client_id",
-        "project"
-      ]
-    ]
-  },
-  "uptime.projectuptimesubscription": {
-    "dangling": false,
-    "foreign_keys": {
-      "environment": {
-        "kind": "FlexibleForeignKey",
-        "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
-      },
-      "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": [
-      [],
-      [
-        "subscription_id"
-      ]
-    ]
-  },
-  "uptime.uptimesubscriptionregion": {
-    "dangling": false,
-    "foreign_keys": {
-      "uptime_subscription": {
-        "kind": "FlexibleForeignKey",
-        "model": "uptime.uptimesubscription",
-        "nullable": false
-      }
-    },
-    "model": "uptime.uptimesubscriptionregion",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "uptime_uptimesubscriptionregion",
-    "uniques": [
-      []
-    ]
-  },
-  "workflow_engine.action": {
-    "dangling": false,
-    "foreign_keys": {
-      "integration_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.integration",
-        "nullable": true
-      }
-    },
-    "model": "workflow_engine.action",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_action",
-    "uniques": []
-  },
-  "workflow_engine.actiongroupstatus": {
-    "dangling": false,
-    "foreign_keys": {
-      "action": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.action",
-        "nullable": false
-      },
-      "group": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.group",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.actiongroupstatus",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_actiongroupstatus",
-    "uniques": [
-      [
-        "action",
-        "group"
-      ]
-    ]
-  },
-  "workflow_engine.alertruledetector": {
-    "dangling": true,
-    "foreign_keys": {
-      "alert_rule": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.alertrule",
-        "nullable": true
-      },
-      "detector": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.detector",
-        "nullable": false
-      },
-      "rule": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.rule",
-        "nullable": true
-      }
-    },
-    "model": "workflow_engine.alertruledetector",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_alertruledetector",
-    "uniques": [
-      [
-        "alert_rule",
-        "detector"
-      ],
-      [
-        "detector",
-        "rule"
-      ]
-    ]
-  },
-  "workflow_engine.alertruletriggerdatacondition": {
-    "dangling": false,
-    "foreign_keys": {
-      "alert_rule_trigger": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.alertruletrigger",
-        "nullable": false
-      },
-      "data_condition": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.datacondition",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.alertruletriggerdatacondition",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_alertruletriggerdatacondition",
-    "uniques": []
-  },
-  "workflow_engine.alertruleworkflow": {
-    "dangling": false,
-    "foreign_keys": {
-      "alert_rule": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.alertrule",
-        "nullable": true
-      },
-      "rule": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.rule",
-        "nullable": true
-      },
-      "workflow": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.workflow",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.alertruleworkflow",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_alertruleworkflow",
-    "uniques": [
-      [
-        "alert_rule",
-        "workflow"
-      ],
-      [
-        "rule",
-        "workflow"
-      ]
-    ]
-  },
-  "workflow_engine.datacondition": {
-    "dangling": false,
-    "foreign_keys": {
-      "condition_group": {
-        "kind": "DefaultForeignKey",
-        "model": "workflow_engine.dataconditiongroup",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.datacondition",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_datacondition",
-    "uniques": []
-  },
-  "workflow_engine.dataconditiongroup": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization": {
-        "kind": "DefaultForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.dataconditiongroup",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_dataconditiongroup",
-    "uniques": []
-  },
-  "workflow_engine.dataconditiongroupaction": {
-    "dangling": false,
-    "foreign_keys": {
-      "action": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.action",
-        "nullable": false
-      },
-      "condition_group": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.dataconditiongroup",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.dataconditiongroupaction",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_dataconditiongroupaction",
-    "uniques": []
-  },
-  "workflow_engine.datasource": {
-    "dangling": false,
-    "foreign_keys": {
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.datasource",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_datasource",
-    "uniques": []
-  },
-  "workflow_engine.datasourcedetector": {
-    "dangling": false,
-    "foreign_keys": {
-      "data_source": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.datasource",
-        "nullable": false
-      },
-      "detector": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.detector",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.datasourcedetector",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_datasourcedetector",
-    "uniques": [
-      [
-        "data_source",
-        "detector"
-      ]
-    ]
-  },
-  "workflow_engine.detector": {
-    "dangling": true,
-    "foreign_keys": {
-      "created_by_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      },
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "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": true
-      },
-      "workflow_condition_group": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.dataconditiongroup",
-        "nullable": true
-      }
-    },
-    "model": "workflow_engine.detector",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_detector",
-    "uniques": [
-      [
-        "name",
-        "organization"
-      ],
-      [
-        "workflow_condition_group"
-      ]
-    ]
-  },
-  "workflow_engine.detectorstate": {
-    "dangling": false,
-    "foreign_keys": {
-      "detector": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.detector",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.detectorstate",
-    "relocation_dependencies": [],
-    "relocation_scope": "Excluded",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_detectorstate",
-    "uniques": [
-      []
-    ]
-  },
-  "workflow_engine.detectorworkflow": {
-    "dangling": false,
-    "foreign_keys": {
-      "detector": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.detector",
-        "nullable": false
-      },
-      "workflow": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.workflow",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.detectorworkflow",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_detectorworkflow",
-    "uniques": []
-  },
-  "workflow_engine.workflow": {
-    "dangling": false,
-    "foreign_keys": {
-      "created_by_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      },
-      "environment": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.environment",
-        "nullable": true
-      },
-      "organization": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.organization",
-        "nullable": false
-      },
-      "owner_team": {
-        "kind": "FlexibleForeignKey",
-        "model": "sentry.team",
-        "nullable": true
-      },
-      "owner_user_id": {
-        "kind": "HybridCloudForeignKey",
-        "model": "sentry.user",
-        "nullable": true
-      },
-      "when_condition_group": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.dataconditiongroup",
-        "nullable": true
-      }
-    },
-    "model": "workflow_engine.workflow",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_workflow",
-    "uniques": [
-      [
-        "name",
-        "organization"
-      ]
-    ]
-  },
-  "workflow_engine.workflowdataconditiongroup": {
-    "dangling": false,
-    "foreign_keys": {
-      "condition_group": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.dataconditiongroup",
-        "nullable": false
-      },
-      "workflow": {
-        "kind": "FlexibleForeignKey",
-        "model": "workflow_engine.workflow",
-        "nullable": false
-      }
-    },
-    "model": "workflow_engine.workflowdataconditiongroup",
-    "relocation_dependencies": [],
-    "relocation_scope": "Organization",
-    "silos": [
-      "Region"
-    ],
-    "table_name": "workflow_engine_workflowdataconditiongroup",
-    "uniques": [
-      [
-        "condition_group"
-      ]
-    ]
-  }
-}

+ 0 - 937
fixtures/backup/model_dependencies/flat.json

@@ -1,937 +0,0 @@
-{
-  "feedback.feedback": [
-    "sentry.environment",
-    "sentry.organization",
-    "sentry.project"
-  ],
-  "flags.flagauditlogmodel": [
-    "sentry.organization"
-  ],
-  "flags.flagwebhooksigningsecretmodel": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "hybridcloud.apikeyreplica": [
-    "sentry.apikey",
-    "sentry.organization"
-  ],
-  "hybridcloud.apitokenreplica": [
-    "sentry.apiapplication",
-    "sentry.apitoken",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "hybridcloud.controlcacheversion": [],
-  "hybridcloud.externalactorreplica": [
-    "sentry.externalactor",
-    "sentry.integration",
-    "sentry.organization",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "hybridcloud.organizationslugreservationreplica": [
-    "sentry.organization",
-    "sentry.organizationslugreservation",
-    "sentry.user"
-  ],
-  "hybridcloud.orgauthtokenreplica": [
-    "sentry.organization",
-    "sentry.orgauthtoken",
-    "sentry.user"
-  ],
-  "hybridcloud.regioncacheversion": [],
-  "hybridcloud.webhookpayload": [],
-  "nodestore.node": [],
-  "replays.replayrecordingsegment": [
-    "sentry.file",
-    "sentry.project"
-  ],
-  "sentry.activity": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.alertrule": [
-    "sentry.organization",
-    "sentry.snubaquery",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.alertruleactivationcondition": [
-    "sentry.alertrule"
-  ],
-  "sentry.alertruleactivations": [
-    "sentry.alertrule",
-    "sentry.querysubscription"
-  ],
-  "sentry.alertruleactivity": [
-    "sentry.alertrule",
-    "sentry.user"
-  ],
-  "sentry.alertruleprojects": [
-    "sentry.alertrule",
-    "sentry.project"
-  ],
-  "sentry.alertruletrigger": [
-    "sentry.alertrule"
-  ],
-  "sentry.alertruletriggeraction": [
-    "sentry.alertruletrigger",
-    "sentry.integration",
-    "sentry.sentryapp"
-  ],
-  "sentry.apiapplication": [
-    "sentry.user"
-  ],
-  "sentry.apiauthorization": [
-    "sentry.apiapplication",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.apigrant": [
-    "sentry.apiapplication",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.apikey": [
-    "sentry.organization"
-  ],
-  "sentry.apitoken": [
-    "sentry.apiapplication",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.artifactbundle": [
-    "sentry.file",
-    "sentry.organization"
-  ],
-  "sentry.artifactbundleindex": [
-    "sentry.artifactbundle",
-    "sentry.organization"
-  ],
-  "sentry.assistantactivity": [
-    "sentry.user"
-  ],
-  "sentry.auditlogentry": [
-    "sentry.apikey",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.authenticator": [
-    "sentry.user"
-  ],
-  "sentry.authidentity": [
-    "sentry.authprovider",
-    "sentry.user"
-  ],
-  "sentry.authidentityreplica": [
-    "sentry.authidentity",
-    "sentry.authprovider",
-    "sentry.user"
-  ],
-  "sentry.authprovider": [
-    "sentry.organization"
-  ],
-  "sentry.authproviderdefaultteams": [
-    "sentry.authprovider",
-    "sentry.team"
-  ],
-  "sentry.authproviderreplica": [
-    "sentry.authprovider",
-    "sentry.organization"
-  ],
-  "sentry.broadcast": [
-    "sentry.user"
-  ],
-  "sentry.broadcastseen": [
-    "sentry.broadcast",
-    "sentry.user"
-  ],
-  "sentry.commit": [
-    "sentry.commitauthor",
-    "sentry.organization",
-    "sentry.repository"
-  ],
-  "sentry.commitauthor": [
-    "sentry.organization"
-  ],
-  "sentry.commitfilechange": [
-    "sentry.commit",
-    "sentry.organization"
-  ],
-  "sentry.controlfile": [],
-  "sentry.controlfileblob": [],
-  "sentry.controlfileblobindex": [
-    "sentry.controlfile",
-    "sentry.controlfileblob"
-  ],
-  "sentry.controlfileblobowner": [
-    "sentry.controlfileblob",
-    "sentry.organization"
-  ],
-  "sentry.controlimportchunk": [],
-  "sentry.controlimportchunkreplica": [],
-  "sentry.controloption": [],
-  "sentry.controloutbox": [],
-  "sentry.controltombstone": [],
-  "sentry.counter": [
-    "sentry.project"
-  ],
-  "sentry.customdynamicsamplingrule": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.customdynamicsamplingruleproject": [
-    "sentry.customdynamicsamplingrule",
-    "sentry.project"
-  ],
-  "sentry.dashboard": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.dashboardfavoriteuser": [
-    "sentry.dashboard",
-    "sentry.user"
-  ],
-  "sentry.dashboardpermissions": [
-    "sentry.dashboard"
-  ],
-  "sentry.dashboardpermissionsteam": [
-    "sentry.dashboardpermissions",
-    "sentry.team"
-  ],
-  "sentry.dashboardproject": [
-    "sentry.dashboard",
-    "sentry.project"
-  ],
-  "sentry.dashboardtombstone": [
-    "sentry.organization"
-  ],
-  "sentry.dashboardwidget": [
-    "sentry.dashboard"
-  ],
-  "sentry.dashboardwidgetquery": [
-    "sentry.dashboardwidget"
-  ],
-  "sentry.dashboardwidgetqueryondemand": [
-    "sentry.dashboardwidgetquery"
-  ],
-  "sentry.datasecrecywaiver": [
-    "sentry.organization"
-  ],
-  "sentry.debugidartifactbundle": [
-    "sentry.artifactbundle",
-    "sentry.organization"
-  ],
-  "sentry.deletedorganization": [],
-  "sentry.deletedproject": [
-    "sentry.organization"
-  ],
-  "sentry.deletedteam": [
-    "sentry.organization"
-  ],
-  "sentry.deploy": [
-    "sentry.environment",
-    "sentry.organization",
-    "sentry.release"
-  ],
-  "sentry.discoversavedquery": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.discoversavedqueryproject": [
-    "sentry.discoversavedquery",
-    "sentry.project"
-  ],
-  "sentry.distribution": [
-    "sentry.organization",
-    "sentry.release"
-  ],
-  "sentry.docintegration": [],
-  "sentry.docintegrationavatar": [
-    "sentry.controlfile",
-    "sentry.docintegration"
-  ],
-  "sentry.email": [],
-  "sentry.environment": [
-    "sentry.organization"
-  ],
-  "sentry.environmentproject": [
-    "sentry.environment",
-    "sentry.project"
-  ],
-  "sentry.eventattachment": [
-    "sentry.file",
-    "sentry.group",
-    "sentry.project"
-  ],
-  "sentry.exporteddata": [
-    "sentry.file",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.exporteddatablob": [
-    "sentry.exporteddata"
-  ],
-  "sentry.externalactor": [
-    "sentry.integration",
-    "sentry.organization",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.externalissue": [
-    "sentry.integration",
-    "sentry.organization"
-  ],
-  "sentry.featureadoption": [
-    "sentry.organization"
-  ],
-  "sentry.file": [
-    "sentry.fileblob"
-  ],
-  "sentry.fileblob": [],
-  "sentry.fileblobindex": [
-    "sentry.file",
-    "sentry.fileblob"
-  ],
-  "sentry.fileblobowner": [
-    "sentry.fileblob",
-    "sentry.organization"
-  ],
-  "sentry.group": [
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.groupassignee": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.groupbookmark": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.groupcommitresolution": [
-    "sentry.commit",
-    "sentry.group"
-  ],
-  "sentry.groupemailthread": [
-    "sentry.group",
-    "sentry.project"
-  ],
-  "sentry.groupenvironment": [
-    "sentry.environment",
-    "sentry.group",
-    "sentry.release"
-  ],
-  "sentry.grouphash": [
-    "sentry.group",
-    "sentry.grouptombstone",
-    "sentry.project"
-  ],
-  "sentry.grouphashmetadata": [
-    "sentry.grouphash"
-  ],
-  "sentry.grouphistory": [
-    "sentry.group",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.release",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.groupinbox": [
-    "sentry.group",
-    "sentry.organization",
-    "sentry.project"
-  ],
-  "sentry.grouplink": [
-    "sentry.group",
-    "sentry.project"
-  ],
-  "sentry.groupmeta": [
-    "sentry.group"
-  ],
-  "sentry.groupowner": [
-    "sentry.group",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.groupredirect": [
-    "sentry.group",
-    "sentry.organization"
-  ],
-  "sentry.grouprelease": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.groupresolution": [
-    "sentry.group",
-    "sentry.release"
-  ],
-  "sentry.grouprulestatus": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.rule"
-  ],
-  "sentry.groupsearchview": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.groupseen": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.groupshare": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.groupsnooze": [
-    "sentry.group"
-  ],
-  "sentry.groupsubscription": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.grouptombstone": [
-    "sentry.project"
-  ],
-  "sentry.identity": [
-    "sentry.identityprovider",
-    "sentry.user"
-  ],
-  "sentry.identityprovider": [],
-  "sentry.incident": [
-    "sentry.alertrule",
-    "sentry.alertruleactivations",
-    "sentry.organization",
-    "sentry.querysubscription"
-  ],
-  "sentry.incidentactivity": [
-    "sentry.incident",
-    "sentry.user"
-  ],
-  "sentry.incidentproject": [
-    "sentry.incident",
-    "sentry.project"
-  ],
-  "sentry.incidentsnapshot": [
-    "sentry.incident",
-    "sentry.timeseriessnapshot"
-  ],
-  "sentry.incidenttrigger": [
-    "sentry.alertruletrigger",
-    "sentry.incident"
-  ],
-  "sentry.integration": [],
-  "sentry.integrationexternalproject": [
-    "sentry.organizationintegration"
-  ],
-  "sentry.integrationfeature": [],
-  "sentry.latestreporeleaseenvironment": [
-    "sentry.commit",
-    "sentry.deploy",
-    "sentry.environment",
-    "sentry.release",
-    "sentry.repository"
-  ],
-  "sentry.lostpasswordhash": [
-    "sentry.user"
-  ],
-  "sentry.monitor": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.monitorcheckin": [
-    "sentry.monitor",
-    "sentry.monitorenvironment",
-    "sentry.monitorlocation",
-    "sentry.project"
-  ],
-  "sentry.monitorenvbrokendetection": [
-    "sentry.monitorincident"
-  ],
-  "sentry.monitorenvironment": [
-    "sentry.environment",
-    "sentry.monitor"
-  ],
-  "sentry.monitorincident": [
-    "sentry.monitor",
-    "sentry.monitorcheckin",
-    "sentry.monitorenvironment"
-  ],
-  "sentry.monitorlocation": [],
-  "sentry.neglectedrule": [
-    "sentry.organization",
-    "sentry.rule"
-  ],
-  "sentry.notificationaction": [
-    "sentry.integration",
-    "sentry.organization",
-    "sentry.sentryapp"
-  ],
-  "sentry.notificationactionproject": [
-    "sentry.notificationaction",
-    "sentry.project"
-  ],
-  "sentry.notificationmessage": [
-    "sentry.alertruletriggeraction",
-    "sentry.incident",
-    "sentry.rulefirehistory"
-  ],
-  "sentry.notificationsettingoption": [
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.notificationsettingprovider": [
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.option": [],
-  "sentry.organization": [],
-  "sentry.organizationaccessrequest": [
-    "sentry.organizationmember",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.organizationavatar": [
-    "sentry.file",
-    "sentry.organization"
-  ],
-  "sentry.organizationintegration": [
-    "sentry.integration",
-    "sentry.organization"
-  ],
-  "sentry.organizationmapping": [
-    "sentry.organization"
-  ],
-  "sentry.organizationmember": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.organizationmembermapping": [
-    "sentry.organization",
-    "sentry.organizationmember",
-    "sentry.user"
-  ],
-  "sentry.organizationmemberteam": [
-    "sentry.organizationmember",
-    "sentry.team"
-  ],
-  "sentry.organizationmemberteamreplica": [
-    "sentry.organization",
-    "sentry.organizationmember",
-    "sentry.organizationmemberteam",
-    "sentry.team"
-  ],
-  "sentry.organizationonboardingtask": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.organizationoption": [
-    "sentry.organization"
-  ],
-  "sentry.organizationslugreservation": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.orgauthtoken": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.pendingincidentsnapshot": [
-    "sentry.incident"
-  ],
-  "sentry.perfstringindexer": [
-    "sentry.organization"
-  ],
-  "sentry.platformexternalissue": [
-    "sentry.group",
-    "sentry.project"
-  ],
-  "sentry.proguardartifactrelease": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.projectdebugfile"
-  ],
-  "sentry.project": [
-    "sentry.organization",
-    "sentry.projecttemplate"
-  ],
-  "sentry.projectartifactbundle": [
-    "sentry.artifactbundle",
-    "sentry.organization",
-    "sentry.project"
-  ],
-  "sentry.projectbookmark": [
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.projectcodeowners": [
-    "sentry.project",
-    "sentry.repositoryprojectpathconfig"
-  ],
-  "sentry.projectdebugfile": [
-    "sentry.file",
-    "sentry.project"
-  ],
-  "sentry.projectintegration": [
-    "sentry.integration",
-    "sentry.project"
-  ],
-  "sentry.projectkey": [
-    "sentry.project"
-  ],
-  "sentry.projectoption": [
-    "sentry.project"
-  ],
-  "sentry.projectownership": [
-    "sentry.project"
-  ],
-  "sentry.projectplatform": [
-    "sentry.project"
-  ],
-  "sentry.projectredirect": [
-    "sentry.organization",
-    "sentry.project"
-  ],
-  "sentry.projectteam": [
-    "sentry.project",
-    "sentry.team"
-  ],
-  "sentry.projecttemplate": [
-    "sentry.organization"
-  ],
-  "sentry.projecttemplateoption": [
-    "sentry.projecttemplate"
-  ],
-  "sentry.projecttransactionthreshold": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.projecttransactionthresholdoverride": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.promptsactivity": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.pullrequest": [
-    "sentry.commitauthor",
-    "sentry.organization",
-    "sentry.repository"
-  ],
-  "sentry.pullrequestcomment": [
-    "sentry.pullrequest"
-  ],
-  "sentry.pullrequestcommit": [
-    "sentry.commit",
-    "sentry.pullrequest"
-  ],
-  "sentry.querysubscription": [
-    "sentry.project",
-    "sentry.snubaquery"
-  ],
-  "sentry.recentsearch": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.regionimportchunk": [],
-  "sentry.regionoutbox": [],
-  "sentry.regionscheduleddeletion": [],
-  "sentry.regiontombstone": [],
-  "sentry.regressiongroup": [
-    "sentry.project"
-  ],
-  "sentry.relay": [],
-  "sentry.relayusage": [],
-  "sentry.release": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.releaseactivity": [
-    "sentry.release"
-  ],
-  "sentry.releaseartifactbundle": [
-    "sentry.artifactbundle",
-    "sentry.organization"
-  ],
-  "sentry.releasecommit": [
-    "sentry.commit",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.releaseenvironment": [
-    "sentry.environment",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.releasefile": [
-    "sentry.file",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.releaseheadcommit": [
-    "sentry.commit",
-    "sentry.organization",
-    "sentry.release",
-    "sentry.repository"
-  ],
-  "sentry.releaseproject": [
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.releaseprojectenvironment": [
-    "sentry.environment",
-    "sentry.project",
-    "sentry.release"
-  ],
-  "sentry.releasethreshold": [
-    "sentry.environment",
-    "sentry.project"
-  ],
-  "sentry.relocation": [],
-  "sentry.relocationfile": [
-    "sentry.file",
-    "sentry.relocation"
-  ],
-  "sentry.relocationvalidation": [
-    "sentry.relocation"
-  ],
-  "sentry.relocationvalidationattempt": [
-    "sentry.relocation",
-    "sentry.relocationvalidation"
-  ],
-  "sentry.repository": [
-    "sentry.integration",
-    "sentry.organization"
-  ],
-  "sentry.repositoryprojectpathconfig": [
-    "sentry.integration",
-    "sentry.organization",
-    "sentry.organizationintegration",
-    "sentry.project",
-    "sentry.repository"
-  ],
-  "sentry.rollbackorganization": [
-    "sentry.organization"
-  ],
-  "sentry.rollbackuser": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.rule": [
-    "sentry.environment",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user"
-  ],
-  "sentry.ruleactivity": [
-    "sentry.rule",
-    "sentry.user"
-  ],
-  "sentry.rulefirehistory": [
-    "sentry.group",
-    "sentry.project",
-    "sentry.rule"
-  ],
-  "sentry.rulesnooze": [
-    "sentry.alertrule",
-    "sentry.rule",
-    "sentry.user"
-  ],
-  "sentry.savedsearch": [
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.scheduleddeletion": [],
-  "sentry.sentryapp": [
-    "sentry.apiapplication",
-    "sentry.organization",
-    "sentry.user"
-  ],
-  "sentry.sentryappavatar": [
-    "sentry.controlfile",
-    "sentry.sentryapp"
-  ],
-  "sentry.sentryappcomponent": [
-    "sentry.sentryapp"
-  ],
-  "sentry.sentryappinstallation": [
-    "sentry.apigrant",
-    "sentry.apitoken",
-    "sentry.organization",
-    "sentry.sentryapp"
-  ],
-  "sentry.sentryappinstallationforprovider": [
-    "sentry.organization",
-    "sentry.sentryappinstallation"
-  ],
-  "sentry.sentryappinstallationtoken": [
-    "sentry.apitoken",
-    "sentry.sentryappinstallation"
-  ],
-  "sentry.sentryshot": [
-    "sentry.organization"
-  ],
-  "sentry.servicehook": [
-    "sentry.apiapplication",
-    "sentry.organization",
-    "sentry.project",
-    "sentry.sentryappinstallation"
-  ],
-  "sentry.servicehookproject": [
-    "sentry.project",
-    "sentry.servicehook"
-  ],
-  "sentry.snubaquery": [
-    "sentry.environment"
-  ],
-  "sentry.snubaqueryeventtype": [
-    "sentry.snubaquery"
-  ],
-  "sentry.stringindexer": [
-    "sentry.organization"
-  ],
-  "sentry.team": [
-    "sentry.organization"
-  ],
-  "sentry.teamkeytransaction": [
-    "sentry.organization",
-    "sentry.projectteam"
-  ],
-  "sentry.teamreplica": [
-    "sentry.organization",
-    "sentry.team"
-  ],
-  "sentry.timeseriessnapshot": [],
-  "sentry.user": [],
-  "sentry.useravatar": [
-    "sentry.controlfile",
-    "sentry.user"
-  ],
-  "sentry.useremail": [
-    "sentry.user"
-  ],
-  "sentry.userip": [
-    "sentry.user"
-  ],
-  "sentry.useroption": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.user"
-  ],
-  "sentry.userpermission": [
-    "sentry.user"
-  ],
-  "sentry.userreport": [
-    "sentry.environment",
-    "sentry.group",
-    "sentry.project"
-  ],
-  "sentry.userrole": [],
-  "sentry.userroleuser": [
-    "sentry.user",
-    "sentry.userrole"
-  ],
-  "social_auth.usersocialauth": [
-    "sentry.user"
-  ],
-  "tempest.tempestcredentials": [
-    "sentry.project",
-    "sentry.user"
-  ],
-  "uptime.projectuptimesubscription": [
-    "sentry.environment",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user",
-    "uptime.uptimesubscription"
-  ],
-  "uptime.uptimesubscription": [],
-  "uptime.uptimesubscriptionregion": [
-    "uptime.uptimesubscription"
-  ],
-  "workflow_engine.action": [
-    "sentry.integration"
-  ],
-  "workflow_engine.actiongroupstatus": [
-    "sentry.group",
-    "workflow_engine.action"
-  ],
-  "workflow_engine.alertruledetector": [
-    "sentry.alertrule",
-    "sentry.rule",
-    "workflow_engine.detector"
-  ],
-  "workflow_engine.alertruletriggerdatacondition": [
-    "sentry.alertruletrigger",
-    "workflow_engine.datacondition"
-  ],
-  "workflow_engine.alertruleworkflow": [
-    "sentry.alertrule",
-    "sentry.rule",
-    "workflow_engine.workflow"
-  ],
-  "workflow_engine.datacondition": [
-    "workflow_engine.dataconditiongroup"
-  ],
-  "workflow_engine.dataconditiongroup": [
-    "sentry.organization"
-  ],
-  "workflow_engine.dataconditiongroupaction": [
-    "workflow_engine.action",
-    "workflow_engine.dataconditiongroup"
-  ],
-  "workflow_engine.datasource": [
-    "sentry.organization"
-  ],
-  "workflow_engine.datasourcedetector": [
-    "workflow_engine.datasource",
-    "workflow_engine.detector"
-  ],
-  "workflow_engine.detector": [
-    "sentry.organization",
-    "sentry.project",
-    "sentry.team",
-    "sentry.user",
-    "workflow_engine.dataconditiongroup"
-  ],
-  "workflow_engine.detectorstate": [
-    "workflow_engine.detector"
-  ],
-  "workflow_engine.detectorworkflow": [
-    "workflow_engine.detector",
-    "workflow_engine.workflow"
-  ],
-  "workflow_engine.workflow": [
-    "sentry.environment",
-    "sentry.organization",
-    "sentry.team",
-    "sentry.user",
-    "workflow_engine.dataconditiongroup"
-  ],
-  "workflow_engine.workflowdataconditiongroup": [
-    "workflow_engine.dataconditiongroup",
-    "workflow_engine.workflow"
-  ]
-}

+ 0 - 251
fixtures/backup/model_dependencies/sorted.json

@@ -1,251 +0,0 @@
-[
-  "hybridcloud.controlcacheversion",
-  "hybridcloud.regioncacheversion",
-  "hybridcloud.webhookpayload",
-  "nodestore.node",
-  "sentry.controlfile",
-  "sentry.controlfileblob",
-  "sentry.controlfileblobindex",
-  "sentry.controlimportchunk",
-  "sentry.controlimportchunkreplica",
-  "sentry.controloption",
-  "sentry.controloutbox",
-  "sentry.controltombstone",
-  "sentry.deletedorganization",
-  "sentry.docintegration",
-  "sentry.docintegrationavatar",
-  "sentry.fileblob",
-  "sentry.identityprovider",
-  "sentry.integration",
-  "sentry.integrationfeature",
-  "sentry.monitorlocation",
-  "sentry.option",
-  "sentry.organization",
-  "sentry.organizationintegration",
-  "sentry.organizationmapping",
-  "sentry.organizationoption",
-  "sentry.perfstringindexer",
-  "sentry.projecttemplate",
-  "sentry.projecttemplateoption",
-  "sentry.regionimportchunk",
-  "sentry.regionoutbox",
-  "sentry.regionscheduleddeletion",
-  "sentry.regiontombstone",
-  "sentry.relay",
-  "sentry.relayusage",
-  "sentry.repository",
-  "sentry.rollbackorganization",
-  "sentry.scheduleddeletion",
-  "sentry.sentryshot",
-  "sentry.stringindexer",
-  "sentry.team",
-  "sentry.teamreplica",
-  "sentry.user",
-  "sentry.useravatar",
-  "sentry.userip",
-  "sentry.userpermission",
-  "sentry.userrole",
-  "sentry.userroleuser",
-  "social_auth.usersocialauth",
-  "uptime.uptimesubscription",
-  "uptime.uptimesubscriptionregion",
-  "workflow_engine.action",
-  "workflow_engine.dataconditiongroup",
-  "workflow_engine.dataconditiongroupaction",
-  "workflow_engine.datasource",
-  "workflow_engine.datacondition",
-  "sentry.savedsearch",
-  "sentry.rollbackuser",
-  "sentry.relocation",
-  "sentry.release",
-  "sentry.recentsearch",
-  "sentry.project",
-  "sentry.orgauthtoken",
-  "sentry.organizationslugreservation",
-  "sentry.organizationonboardingtask",
-  "sentry.organizationmember",
-  "sentry.organizationaccessrequest",
-  "sentry.notificationsettingprovider",
-  "sentry.notificationsettingoption",
-  "sentry.monitor",
-  "sentry.lostpasswordhash",
-  "sentry.integrationexternalproject",
-  "sentry.identity",
-  "sentry.grouptombstone",
-  "sentry.groupsearchview",
-  "sentry.group",
-  "sentry.fileblobowner",
-  "sentry.file",
-  "sentry.featureadoption",
-  "sentry.externalissue",
-  "sentry.externalactor",
-  "sentry.exporteddata",
-  "sentry.eventattachment",
-  "sentry.environment",
-  "sentry.email",
-  "sentry.distribution",
-  "sentry.discoversavedquery",
-  "sentry.deploy",
-  "sentry.deletedteam",
-  "sentry.deletedproject",
-  "sentry.datasecrecywaiver",
-  "sentry.dashboardtombstone",
-  "sentry.dashboard",
-  "sentry.customdynamicsamplingrule",
-  "sentry.counter",
-  "sentry.controlfileblobowner",
-  "sentry.commitauthor",
-  "sentry.commit",
-  "sentry.broadcast",
-  "sentry.authprovider",
-  "sentry.authidentity",
-  "sentry.authenticator",
-  "sentry.assistantactivity",
-  "sentry.artifactbundle",
-  "sentry.apikey",
-  "sentry.apiapplication",
-  "sentry.activity",
-  "replays.replayrecordingsegment",
-  "hybridcloud.orgauthtokenreplica",
-  "hybridcloud.organizationslugreservationreplica",
-  "hybridcloud.externalactorreplica",
-  "hybridcloud.apikeyreplica",
-  "flags.flagwebhooksigningsecretmodel",
-  "flags.flagauditlogmodel",
-  "feedback.feedback",
-  "workflow_engine.workflow",
-  "workflow_engine.detector",
-  "workflow_engine.datasourcedetector",
-  "workflow_engine.actiongroupstatus",
-  "uptime.projectuptimesubscription",
-  "tempest.tempestcredentials",
-  "sentry.userreport",
-  "sentry.useroption",
-  "sentry.useremail",
-  "sentry.snubaquery",
-  "sentry.sentryapp",
-  "sentry.rule",
-  "sentry.repositoryprojectpathconfig",
-  "sentry.relocationvalidation",
-  "sentry.relocationfile",
-  "sentry.releasethreshold",
-  "sentry.releaseprojectenvironment",
-  "sentry.releaseproject",
-  "sentry.releaseheadcommit",
-  "sentry.releasefile",
-  "sentry.releaseenvironment",
-  "sentry.releasecommit",
-  "sentry.releaseartifactbundle",
-  "sentry.releaseactivity",
-  "sentry.regressiongroup",
-  "sentry.querysubscription",
-  "sentry.pullrequest",
-  "sentry.promptsactivity",
-  "sentry.projecttransactionthresholdoverride",
-  "sentry.projecttransactionthreshold",
-  "sentry.projectteam",
-  "sentry.projectredirect",
-  "sentry.projectplatform",
-  "sentry.projectownership",
-  "sentry.projectoption",
-  "sentry.projectkey",
-  "sentry.projectintegration",
-  "sentry.projectdebugfile",
-  "sentry.projectcodeowners",
-  "sentry.projectbookmark",
-  "sentry.projectartifactbundle",
-  "sentry.proguardartifactrelease",
-  "sentry.platformexternalissue",
-  "sentry.organizationmemberteam",
-  "sentry.organizationmembermapping",
-  "sentry.organizationavatar",
-  "sentry.notificationaction",
-  "sentry.neglectedrule",
-  "sentry.monitorenvironment",
-  "sentry.monitorcheckin",
-  "sentry.latestreporeleaseenvironment",
-  "sentry.groupsubscription",
-  "sentry.groupsnooze",
-  "sentry.groupshare",
-  "sentry.groupseen",
-  "sentry.grouprulestatus",
-  "sentry.groupresolution",
-  "sentry.grouprelease",
-  "sentry.groupredirect",
-  "sentry.groupowner",
-  "sentry.groupmeta",
-  "sentry.grouplink",
-  "sentry.groupinbox",
-  "sentry.grouphistory",
-  "sentry.grouphash",
-  "sentry.groupenvironment",
-  "sentry.groupemailthread",
-  "sentry.groupcommitresolution",
-  "sentry.groupbookmark",
-  "sentry.groupassignee",
-  "sentry.fileblobindex",
-  "sentry.exporteddatablob",
-  "sentry.environmentproject",
-  "sentry.discoversavedqueryproject",
-  "sentry.debugidartifactbundle",
-  "sentry.dashboardwidget",
-  "sentry.dashboardproject",
-  "sentry.dashboardpermissions",
-  "sentry.dashboardfavoriteuser",
-  "sentry.customdynamicsamplingruleproject",
-  "sentry.commitfilechange",
-  "sentry.broadcastseen",
-  "sentry.authproviderreplica",
-  "sentry.authproviderdefaultteams",
-  "sentry.authidentityreplica",
-  "sentry.auditlogentry",
-  "sentry.artifactbundleindex",
-  "sentry.apitoken",
-  "sentry.apigrant",
-  "sentry.apiauthorization",
-  "sentry.alertrule",
-  "hybridcloud.apitokenreplica",
-  "workflow_engine.workflowdataconditiongroup",
-  "workflow_engine.detectorworkflow",
-  "workflow_engine.detectorstate",
-  "workflow_engine.alertruleworkflow",
-  "workflow_engine.alertruledetector",
-  "sentry.teamkeytransaction",
-  "sentry.snubaqueryeventtype",
-  "sentry.sentryappinstallation",
-  "sentry.sentryappcomponent",
-  "sentry.sentryappavatar",
-  "sentry.rulesnooze",
-  "sentry.rulefirehistory",
-  "sentry.ruleactivity",
-  "sentry.relocationvalidationattempt",
-  "sentry.pullrequestcommit",
-  "sentry.pullrequestcomment",
-  "sentry.organizationmemberteamreplica",
-  "sentry.notificationactionproject",
-  "sentry.monitorincident",
-  "sentry.monitorenvbrokendetection",
-  "sentry.grouphashmetadata",
-  "sentry.dashboardwidgetquery",
-  "sentry.dashboardpermissionsteam",
-  "sentry.alertruletrigger",
-  "sentry.alertruleprojects",
-  "sentry.alertruleactivity",
-  "sentry.alertruleactivations",
-  "sentry.alertruleactivationcondition",
-  "workflow_engine.alertruletriggerdatacondition",
-  "sentry.servicehook",
-  "sentry.sentryappinstallationtoken",
-  "sentry.sentryappinstallationforprovider",
-  "sentry.incident",
-  "sentry.dashboardwidgetqueryondemand",
-  "sentry.alertruletriggeraction",
-  "sentry.timeseriessnapshot",
-  "sentry.servicehookproject",
-  "sentry.pendingincidentsnapshot",
-  "sentry.notificationmessage",
-  "sentry.incidenttrigger",
-  "sentry.incidentsnapshot",
-  "sentry.incidentproject",
-  "sentry.incidentactivity"
-]

+ 0 - 251
fixtures/backup/model_dependencies/truncate.json

@@ -1,251 +0,0 @@
-[
-  "hybridcloud_controlcacheversion",
-  "hybridcloud_regioncacheversion",
-  "hybridcloud_webhookpayload",
-  "nodestore_node",
-  "sentry_controlfile",
-  "sentry_controlfileblob",
-  "sentry_controlfileblobindex",
-  "sentry_controlimportchunk",
-  "sentry_controlimportchunkreplica",
-  "sentry_controloption",
-  "sentry_controloutbox",
-  "sentry_controltombstone",
-  "sentry_deletedorganization",
-  "sentry_docintegration",
-  "sentry_docintegrationavatar",
-  "sentry_fileblob",
-  "sentry_identityprovider",
-  "sentry_integration",
-  "sentry_integrationfeature",
-  "sentry_monitorlocation",
-  "sentry_option",
-  "sentry_organization",
-  "sentry_organizationintegration",
-  "sentry_organizationmapping",
-  "sentry_organizationoptions",
-  "sentry_perfstringindexer",
-  "sentry_projecttemplate",
-  "sentry_projecttemplateoption",
-  "sentry_regionimportchunk",
-  "sentry_regionoutbox",
-  "sentry_regionscheduleddeletion",
-  "sentry_regiontombstone",
-  "sentry_relay",
-  "sentry_relayusage",
-  "sentry_repository",
-  "sentry_rollbackorganization",
-  "sentry_scheduleddeletion",
-  "sentry_sentryshot",
-  "sentry_stringindexer",
-  "sentry_team",
-  "sentry_teamreplica",
-  "auth_user",
-  "sentry_useravatar",
-  "sentry_userip",
-  "sentry_userpermission",
-  "sentry_userrole",
-  "sentry_userrole_users",
-  "social_auth_usersocialauth",
-  "uptime_uptimesubscription",
-  "uptime_uptimesubscriptionregion",
-  "workflow_engine_action",
-  "workflow_engine_dataconditiongroup",
-  "workflow_engine_dataconditiongroupaction",
-  "workflow_engine_datasource",
-  "workflow_engine_datacondition",
-  "sentry_savedsearch",
-  "sentry_rollbackuser",
-  "sentry_relocation",
-  "sentry_release",
-  "sentry_recentsearch",
-  "sentry_project",
-  "sentry_orgauthtoken",
-  "sentry_organizationslugreservation",
-  "sentry_organizationonboardingtask",
-  "sentry_organizationmember",
-  "sentry_organizationaccessrequest",
-  "sentry_notificationsettingprovider",
-  "sentry_notificationsettingoption",
-  "sentry_monitor",
-  "sentry_lostpasswordhash",
-  "sentry_integrationexternalproject",
-  "sentry_identity",
-  "sentry_grouptombstone",
-  "sentry_groupsearchview",
-  "sentry_groupedmessage",
-  "sentry_fileblobowner",
-  "sentry_file",
-  "sentry_featureadoption",
-  "sentry_externalissue",
-  "sentry_externalactor",
-  "sentry_exporteddata",
-  "sentry_eventattachment",
-  "sentry_environment",
-  "sentry_email",
-  "sentry_distribution",
-  "sentry_discoversavedquery",
-  "sentry_deploy",
-  "sentry_deletedteam",
-  "sentry_deletedproject",
-  "sentry_datasecrecywaiver",
-  "sentry_dashboardtombstone",
-  "sentry_dashboard",
-  "sentry_customdynamicsamplingrule",
-  "sentry_projectcounter",
-  "sentry_controlfileblobowner",
-  "sentry_commitauthor",
-  "sentry_commit",
-  "sentry_broadcast",
-  "sentry_authprovider",
-  "sentry_authidentity",
-  "auth_authenticator",
-  "sentry_assistant_activity",
-  "sentry_artifactbundle",
-  "sentry_apikey",
-  "sentry_apiapplication",
-  "sentry_activity",
-  "replays_replayrecordingsegment",
-  "hybridcloud_orgauthtokenreplica",
-  "hybridcloud_organizationslugreservationreplica",
-  "hybridcloud_externalactorreplica",
-  "hybridcloud_apikeyreplica",
-  "flags_webhooksigningsecret",
-  "flags_audit_log",
-  "feedback_feedback",
-  "workflow_engine_workflow",
-  "workflow_engine_detector",
-  "workflow_engine_datasourcedetector",
-  "workflow_engine_actiongroupstatus",
-  "uptime_projectuptimesubscription",
-  "tempest_tempestcredentials",
-  "sentry_userreport",
-  "sentry_useroption",
-  "sentry_useremail",
-  "sentry_snubaquery",
-  "sentry_sentryapp",
-  "sentry_rule",
-  "sentry_repositoryprojectpathconfig",
-  "sentry_relocationvalidation",
-  "sentry_relocationfile",
-  "sentry_releasethreshold",
-  "sentry_releaseprojectenvironment",
-  "sentry_release_project",
-  "sentry_releaseheadcommit",
-  "sentry_releasefile",
-  "sentry_environmentrelease",
-  "sentry_releasecommit",
-  "sentry_releaseartifactbundle",
-  "sentry_releaseactivity",
-  "sentry_regressiongroup",
-  "sentry_querysubscription",
-  "sentry_pull_request",
-  "sentry_promptsactivity",
-  "sentry_projecttransactionthresholdoverride",
-  "sentry_projecttransactionthreshold",
-  "sentry_projectteam",
-  "sentry_projectredirect",
-  "sentry_projectplatform",
-  "sentry_projectownership",
-  "sentry_projectoptions",
-  "sentry_projectkey",
-  "sentry_projectintegration",
-  "sentry_projectdsymfile",
-  "sentry_projectcodeowners",
-  "sentry_projectbookmark",
-  "sentry_projectartifactbundle",
-  "sentry_proguardartifactrelease",
-  "sentry_platformexternalissue",
-  "sentry_organizationmember_teams",
-  "sentry_organizationmembermapping",
-  "sentry_organizationavatar",
-  "sentry_notificationaction",
-  "sentry_neglectedrule",
-  "sentry_monitorenvironment",
-  "sentry_monitorcheckin",
-  "sentry_latestrelease",
-  "sentry_groupsubscription",
-  "sentry_groupsnooze",
-  "sentry_groupshare",
-  "sentry_groupseen",
-  "sentry_grouprulestatus",
-  "sentry_groupresolution",
-  "sentry_grouprelease",
-  "sentry_groupredirect",
-  "sentry_groupowner",
-  "sentry_groupmeta",
-  "sentry_grouplink",
-  "sentry_groupinbox",
-  "sentry_grouphistory",
-  "sentry_grouphash",
-  "sentry_groupenvironment",
-  "sentry_groupemailthread",
-  "sentry_groupcommitresolution",
-  "sentry_groupbookmark",
-  "sentry_groupasignee",
-  "sentry_fileblobindex",
-  "sentry_exporteddatablob",
-  "sentry_environmentproject",
-  "sentry_discoversavedqueryproject",
-  "sentry_debugidartifactbundle",
-  "sentry_dashboardwidget",
-  "sentry_dashboardproject",
-  "sentry_dashboardpermissions",
-  "sentry_dashboardfavoriteuser",
-  "sentry_customdynamicsamplingruleproject",
-  "sentry_commitfilechange",
-  "sentry_broadcastseen",
-  "sentry_authproviderreplica",
-  "sentry_authprovider_default_teams",
-  "sentry_authidentityreplica",
-  "sentry_auditlogentry",
-  "sentry_artifactbundleindex",
-  "sentry_apitoken",
-  "sentry_apigrant",
-  "sentry_apiauthorization",
-  "sentry_alertrule",
-  "hybridcloud_apitokenreplica",
-  "workflow_engine_workflowdataconditiongroup",
-  "workflow_engine_detectorworkflow",
-  "workflow_engine_detectorstate",
-  "workflow_engine_alertruleworkflow",
-  "workflow_engine_alertruledetector",
-  "sentry_performanceteamkeytransaction",
-  "sentry_snubaqueryeventtype",
-  "sentry_sentryappinstallation",
-  "sentry_sentryappcomponent",
-  "sentry_sentryappavatar",
-  "sentry_rulesnooze",
-  "sentry_rulefirehistory",
-  "sentry_ruleactivity",
-  "sentry_relocationvalidationattempt",
-  "sentry_pullrequest_commit",
-  "sentry_pullrequest_comment",
-  "sentry_organizationmember_teamsreplica",
-  "sentry_notificationactionproject",
-  "sentry_monitorincident",
-  "sentry_monitorenvbrokendetection",
-  "sentry_grouphashmetadata",
-  "sentry_dashboardwidgetquery",
-  "sentry_dashboardpermissionsteam",
-  "sentry_alertruletrigger",
-  "sentry_alertruleprojects",
-  "sentry_alertruleactivity",
-  "sentry_alertruleactivations",
-  "sentry_alertruleactivationcondition",
-  "workflow_engine_alertruletriggerdatacondition",
-  "sentry_servicehook",
-  "sentry_sentryappinstallationtoken",
-  "sentry_sentryappinstallationforprovider",
-  "sentry_incident",
-  "sentry_dashboardwidgetqueryondemand",
-  "sentry_alertruletriggeraction",
-  "sentry_timeseriessnapshot",
-  "sentry_servicehookproject",
-  "sentry_pendingincidentsnapshot",
-  "sentry_notificationmessage",
-  "sentry_incidenttrigger",
-  "sentry_incidentsnapshot",
-  "sentry_incidentproject",
-  "sentry_incidentactivity"
-]

+ 0 - 81
tests/sentry/backup/test_dependencies.py

@@ -1,81 +0,0 @@
-from __future__ import annotations
-
-from difflib import unified_diff
-
-import orjson
-
-from sentry.backup.dependencies import (
-    DependenciesJSONEncoder,
-    dependencies,
-    get_model_name,
-    sorted_dependencies,
-)
-from sentry.testutils.factories import get_fixture_path
-
-encoder = DependenciesJSONEncoder(
-    sort_keys=True,
-    ensure_ascii=True,
-    check_circular=True,
-    allow_nan=True,
-    indent=2,
-    encoding="utf-8",
-)
-
-
-def json_lines(json_obj: object) -> list[str]:
-    return encoder.encode(json_obj).splitlines()
-
-
-def json_diff(expect: object, actual: object) -> list[str]:
-    return list(
-        unified_diff(
-            json_lines(expect),
-            json_lines(actual),
-            n=3,
-        )
-    )
-
-
-def assert_model_dependencies(expect: object, actual: object) -> None:
-    diff = json_diff(expect, actual)
-    if diff:
-        raise AssertionError(
-            "Model dependency graph does not match fixture. This means that you have changed the model dependency graph in some load bearing way. If you are seeing this in CI, and the dependency changes are intentional, please run `bin/generate-model-dependency-fixtures` and re-upload:\n\n"
-            + "\n".join(diff)
-        )
-
-
-def test_detailed():
-    fixture_path = get_fixture_path("backup", "model_dependencies", "detailed.json")
-    with open(fixture_path, "rb") as fixture:
-        expect = orjson.loads(fixture.read())
-
-    actual = {str(k): v for k, v in dependencies().items()}
-    assert_model_dependencies(expect, actual)
-
-
-def test_flat():
-    fixture_path = get_fixture_path("backup", "model_dependencies", "flat.json")
-    with open(fixture_path, "rb") as fixture:
-        expect = orjson.loads(fixture.read())
-
-    actual = {str(k): v.flatten() for k, v in dependencies().items()}
-    assert_model_dependencies(expect, actual)
-
-
-def test_sorted():
-    fixture_path = get_fixture_path("backup", "model_dependencies", "sorted.json")
-    with open(fixture_path, "rb") as fixture:
-        expect = orjson.loads(fixture.read())
-
-    actual = sorted_dependencies()
-    assert_model_dependencies(expect, actual)
-
-
-def test_truncate():
-    fixture_path = get_fixture_path("backup", "model_dependencies", "truncate.json")
-    with open(fixture_path, "rb") as fixture:
-        expect = orjson.loads(fixture.read())
-
-    actual = [dependencies()[get_model_name(m)].table_name for m in sorted_dependencies()]
-    assert_model_dependencies(expect, actual)