detailed.json 129 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910
  1. {
  2. "feedback.feedback": {
  3. "dangling": false,
  4. "foreign_keys": {
  5. "environment": {
  6. "kind": "FlexibleForeignKey",
  7. "model": "sentry.environment",
  8. "nullable": true
  9. },
  10. "organization_id": {
  11. "kind": "ImplicitForeignKey",
  12. "model": "sentry.organization",
  13. "nullable": false
  14. },
  15. "project_id": {
  16. "kind": "ImplicitForeignKey",
  17. "model": "sentry.project",
  18. "nullable": false
  19. }
  20. },
  21. "model": "feedback.feedback",
  22. "relocation_dependencies": [],
  23. "relocation_scope": "Excluded",
  24. "silos": [
  25. "Region"
  26. ],
  27. "table_name": "feedback_feedback",
  28. "uniques": [
  29. [
  30. "feedback_id"
  31. ]
  32. ]
  33. },
  34. "hybridcloud.apikeyreplica": {
  35. "dangling": false,
  36. "foreign_keys": {
  37. "apikey_id": {
  38. "kind": "HybridCloudForeignKey",
  39. "model": "sentry.apikey",
  40. "nullable": false
  41. },
  42. "organization": {
  43. "kind": "FlexibleForeignKey",
  44. "model": "sentry.organization",
  45. "nullable": false
  46. }
  47. },
  48. "model": "hybridcloud.apikeyreplica",
  49. "relocation_dependencies": [],
  50. "relocation_scope": "Excluded",
  51. "silos": [
  52. "Region"
  53. ],
  54. "table_name": "hybridcloud_apikeyreplica",
  55. "uniques": []
  56. },
  57. "hybridcloud.organizationslugreservationreplica": {
  58. "dangling": false,
  59. "foreign_keys": {
  60. "organization_id": {
  61. "kind": "ImplicitForeignKey",
  62. "model": "sentry.organization",
  63. "nullable": false
  64. },
  65. "organization_slug_reservation_id": {
  66. "kind": "HybridCloudForeignKey",
  67. "model": "sentry.organizationslugreservation",
  68. "nullable": false
  69. },
  70. "user_id": {
  71. "kind": "ImplicitForeignKey",
  72. "model": "sentry.user",
  73. "nullable": false
  74. }
  75. },
  76. "model": "hybridcloud.organizationslugreservationreplica",
  77. "relocation_dependencies": [],
  78. "relocation_scope": "Excluded",
  79. "silos": [
  80. "Region"
  81. ],
  82. "table_name": "hybridcloud_organizationslugreservationreplica",
  83. "uniques": [
  84. [
  85. "organization_id",
  86. "reservation_type"
  87. ],
  88. [
  89. "organization_slug_reservation_id"
  90. ],
  91. [
  92. "slug"
  93. ]
  94. ]
  95. },
  96. "hybridcloud.regioncacheversion": {
  97. "dangling": false,
  98. "foreign_keys": {},
  99. "model": "hybridcloud.regioncacheversion",
  100. "relocation_dependencies": [],
  101. "relocation_scope": "Excluded",
  102. "silos": [
  103. "Region"
  104. ],
  105. "table_name": "hybridcloud_regioncacheversion",
  106. "uniques": [
  107. [
  108. "key"
  109. ]
  110. ]
  111. },
  112. "nodestore.node": {
  113. "dangling": false,
  114. "foreign_keys": {},
  115. "model": "nodestore.node",
  116. "relocation_dependencies": [],
  117. "relocation_scope": "Excluded",
  118. "silos": [
  119. "Region"
  120. ],
  121. "table_name": "nodestore_node",
  122. "uniques": []
  123. },
  124. "replays.replayrecordingsegment": {
  125. "dangling": false,
  126. "foreign_keys": {
  127. "file_id": {
  128. "kind": "ImplicitForeignKey",
  129. "model": "sentry.file",
  130. "nullable": false
  131. },
  132. "project_id": {
  133. "kind": "ImplicitForeignKey",
  134. "model": "sentry.project",
  135. "nullable": false
  136. }
  137. },
  138. "model": "replays.replayrecordingsegment",
  139. "relocation_dependencies": [],
  140. "relocation_scope": "Excluded",
  141. "silos": [
  142. "Region"
  143. ],
  144. "table_name": "replays_replayrecordingsegment",
  145. "uniques": [
  146. [
  147. "file_id",
  148. "project_id",
  149. "replay_id"
  150. ],
  151. [
  152. "project_id",
  153. "replay_id",
  154. "segment_id"
  155. ]
  156. ]
  157. },
  158. "sentry.activity": {
  159. "dangling": false,
  160. "foreign_keys": {
  161. "group": {
  162. "kind": "FlexibleForeignKey",
  163. "model": "sentry.group",
  164. "nullable": true
  165. },
  166. "project": {
  167. "kind": "FlexibleForeignKey",
  168. "model": "sentry.project",
  169. "nullable": false
  170. },
  171. "user_id": {
  172. "kind": "HybridCloudForeignKey",
  173. "model": "sentry.user",
  174. "nullable": true
  175. }
  176. },
  177. "model": "sentry.activity",
  178. "relocation_dependencies": [],
  179. "relocation_scope": "Excluded",
  180. "silos": [
  181. "Region"
  182. ],
  183. "table_name": "sentry_activity",
  184. "uniques": []
  185. },
  186. "sentry.actor": {
  187. "dangling": false,
  188. "foreign_keys": {
  189. "team": {
  190. "kind": "FlexibleForeignKey",
  191. "model": "sentry.team",
  192. "nullable": true
  193. },
  194. "user_id": {
  195. "kind": "HybridCloudForeignKey",
  196. "model": "sentry.user",
  197. "nullable": true
  198. }
  199. },
  200. "model": "sentry.actor",
  201. "relocation_dependencies": [],
  202. "relocation_scope": "Organization",
  203. "silos": [
  204. "Region"
  205. ],
  206. "table_name": "sentry_actor",
  207. "uniques": [
  208. [
  209. "team"
  210. ],
  211. [
  212. "user_id"
  213. ]
  214. ]
  215. },
  216. "sentry.alertrule": {
  217. "dangling": false,
  218. "foreign_keys": {
  219. "organization": {
  220. "kind": "FlexibleForeignKey",
  221. "model": "sentry.organization",
  222. "nullable": true
  223. },
  224. "owner": {
  225. "kind": "FlexibleForeignKey",
  226. "model": "sentry.actor",
  227. "nullable": true
  228. },
  229. "snuba_query": {
  230. "kind": "FlexibleForeignKey",
  231. "model": "sentry.snubaquery",
  232. "nullable": true
  233. }
  234. },
  235. "model": "sentry.alertrule",
  236. "relocation_dependencies": [],
  237. "relocation_scope": "Organization",
  238. "silos": [
  239. "Region"
  240. ],
  241. "table_name": "sentry_alertrule",
  242. "uniques": [
  243. [
  244. "snuba_query"
  245. ]
  246. ]
  247. },
  248. "sentry.alertruleactivity": {
  249. "dangling": false,
  250. "foreign_keys": {
  251. "alert_rule": {
  252. "kind": "FlexibleForeignKey",
  253. "model": "sentry.alertrule",
  254. "nullable": false
  255. },
  256. "previous_alert_rule": {
  257. "kind": "FlexibleForeignKey",
  258. "model": "sentry.alertrule",
  259. "nullable": true
  260. },
  261. "user_id": {
  262. "kind": "HybridCloudForeignKey",
  263. "model": "sentry.user",
  264. "nullable": true
  265. }
  266. },
  267. "model": "sentry.alertruleactivity",
  268. "relocation_dependencies": [],
  269. "relocation_scope": "Organization",
  270. "silos": [
  271. "Region"
  272. ],
  273. "table_name": "sentry_alertruleactivity",
  274. "uniques": []
  275. },
  276. "sentry.alertruleexcludedprojects": {
  277. "dangling": false,
  278. "foreign_keys": {
  279. "alert_rule": {
  280. "kind": "FlexibleForeignKey",
  281. "model": "sentry.alertrule",
  282. "nullable": false
  283. },
  284. "project": {
  285. "kind": "FlexibleForeignKey",
  286. "model": "sentry.project",
  287. "nullable": false
  288. }
  289. },
  290. "model": "sentry.alertruleexcludedprojects",
  291. "relocation_dependencies": [],
  292. "relocation_scope": "Organization",
  293. "silos": [
  294. "Region"
  295. ],
  296. "table_name": "sentry_alertruleexcludedprojects",
  297. "uniques": [
  298. [
  299. "alert_rule",
  300. "project"
  301. ]
  302. ]
  303. },
  304. "sentry.alertruletrigger": {
  305. "dangling": false,
  306. "foreign_keys": {
  307. "alert_rule": {
  308. "kind": "FlexibleForeignKey",
  309. "model": "sentry.alertrule",
  310. "nullable": false
  311. }
  312. },
  313. "model": "sentry.alertruletrigger",
  314. "relocation_dependencies": [],
  315. "relocation_scope": "Organization",
  316. "silos": [
  317. "Region"
  318. ],
  319. "table_name": "sentry_alertruletrigger",
  320. "uniques": [
  321. [
  322. "alert_rule",
  323. "label"
  324. ]
  325. ]
  326. },
  327. "sentry.alertruletriggeraction": {
  328. "dangling": false,
  329. "foreign_keys": {
  330. "alert_rule_trigger": {
  331. "kind": "FlexibleForeignKey",
  332. "model": "sentry.alertruletrigger",
  333. "nullable": false
  334. },
  335. "integration_id": {
  336. "kind": "HybridCloudForeignKey",
  337. "model": "sentry.integration",
  338. "nullable": true
  339. },
  340. "sentry_app_id": {
  341. "kind": "HybridCloudForeignKey",
  342. "model": "sentry.sentryapp",
  343. "nullable": true
  344. }
  345. },
  346. "model": "sentry.alertruletriggeraction",
  347. "relocation_dependencies": [],
  348. "relocation_scope": "Global",
  349. "silos": [
  350. "Region"
  351. ],
  352. "table_name": "sentry_alertruletriggeraction",
  353. "uniques": []
  354. },
  355. "sentry.alertruletriggerexclusion": {
  356. "dangling": false,
  357. "foreign_keys": {
  358. "alert_rule_trigger": {
  359. "kind": "FlexibleForeignKey",
  360. "model": "sentry.alertruletrigger",
  361. "nullable": false
  362. },
  363. "query_subscription": {
  364. "kind": "FlexibleForeignKey",
  365. "model": "sentry.querysubscription",
  366. "nullable": false
  367. }
  368. },
  369. "model": "sentry.alertruletriggerexclusion",
  370. "relocation_dependencies": [],
  371. "relocation_scope": "Organization",
  372. "silos": [
  373. "Region"
  374. ],
  375. "table_name": "sentry_alertruletriggerexclusion",
  376. "uniques": [
  377. [
  378. "alert_rule_trigger",
  379. "query_subscription"
  380. ]
  381. ]
  382. },
  383. "sentry.apiapplication": {
  384. "dangling": false,
  385. "foreign_keys": {
  386. "owner": {
  387. "kind": "FlexibleForeignKey",
  388. "model": "sentry.user",
  389. "nullable": true
  390. }
  391. },
  392. "model": "sentry.apiapplication",
  393. "relocation_dependencies": [],
  394. "relocation_scope": "Global",
  395. "silos": [
  396. "Control"
  397. ],
  398. "table_name": "sentry_apiapplication",
  399. "uniques": [
  400. [
  401. "client_id"
  402. ]
  403. ]
  404. },
  405. "sentry.apiauthorization": {
  406. "dangling": false,
  407. "foreign_keys": {
  408. "application": {
  409. "kind": "FlexibleForeignKey",
  410. "model": "sentry.apiapplication",
  411. "nullable": true
  412. },
  413. "user": {
  414. "kind": "FlexibleForeignKey",
  415. "model": "sentry.user",
  416. "nullable": false
  417. }
  418. },
  419. "model": "sentry.apiauthorization",
  420. "relocation_dependencies": [],
  421. "relocation_scope": [
  422. "Config",
  423. "Global"
  424. ],
  425. "silos": [
  426. "Control"
  427. ],
  428. "table_name": "sentry_apiauthorization",
  429. "uniques": [
  430. [
  431. "application",
  432. "user"
  433. ]
  434. ]
  435. },
  436. "sentry.apigrant": {
  437. "dangling": false,
  438. "foreign_keys": {
  439. "application": {
  440. "kind": "FlexibleForeignKey",
  441. "model": "sentry.apiapplication",
  442. "nullable": false
  443. },
  444. "user": {
  445. "kind": "FlexibleForeignKey",
  446. "model": "sentry.user",
  447. "nullable": false
  448. }
  449. },
  450. "model": "sentry.apigrant",
  451. "relocation_dependencies": [],
  452. "relocation_scope": "Global",
  453. "silos": [
  454. "Control"
  455. ],
  456. "table_name": "sentry_apigrant",
  457. "uniques": []
  458. },
  459. "sentry.apikey": {
  460. "dangling": false,
  461. "foreign_keys": {
  462. "organization_id": {
  463. "kind": "HybridCloudForeignKey",
  464. "model": "sentry.organization",
  465. "nullable": false
  466. }
  467. },
  468. "model": "sentry.apikey",
  469. "relocation_dependencies": [],
  470. "relocation_scope": "Global",
  471. "silos": [
  472. "Control"
  473. ],
  474. "table_name": "sentry_apikey",
  475. "uniques": [
  476. [
  477. "key"
  478. ]
  479. ]
  480. },
  481. "sentry.apitoken": {
  482. "dangling": false,
  483. "foreign_keys": {
  484. "application": {
  485. "kind": "FlexibleForeignKey",
  486. "model": "sentry.apiapplication",
  487. "nullable": true
  488. },
  489. "user": {
  490. "kind": "FlexibleForeignKey",
  491. "model": "sentry.user",
  492. "nullable": false
  493. }
  494. },
  495. "model": "sentry.apitoken",
  496. "relocation_dependencies": [],
  497. "relocation_scope": [
  498. "Config",
  499. "Global"
  500. ],
  501. "silos": [
  502. "Control"
  503. ],
  504. "table_name": "sentry_apitoken",
  505. "uniques": [
  506. [
  507. "refresh_token"
  508. ],
  509. [
  510. "token"
  511. ]
  512. ]
  513. },
  514. "sentry.appconnectbuild": {
  515. "dangling": false,
  516. "foreign_keys": {
  517. "project": {
  518. "kind": "FlexibleForeignKey",
  519. "model": "sentry.project",
  520. "nullable": false
  521. }
  522. },
  523. "model": "sentry.appconnectbuild",
  524. "relocation_dependencies": [],
  525. "relocation_scope": "Excluded",
  526. "silos": [
  527. "Region"
  528. ],
  529. "table_name": "sentry_appconnectbuild",
  530. "uniques": []
  531. },
  532. "sentry.artifactbundle": {
  533. "dangling": false,
  534. "foreign_keys": {
  535. "file": {
  536. "kind": "FlexibleForeignKey",
  537. "model": "sentry.file",
  538. "nullable": false
  539. },
  540. "organization_id": {
  541. "kind": "ImplicitForeignKey",
  542. "model": "sentry.organization",
  543. "nullable": false
  544. }
  545. },
  546. "model": "sentry.artifactbundle",
  547. "relocation_dependencies": [],
  548. "relocation_scope": "Excluded",
  549. "silos": [
  550. "Region"
  551. ],
  552. "table_name": "sentry_artifactbundle",
  553. "uniques": []
  554. },
  555. "sentry.artifactbundleflatfileindex": {
  556. "dangling": false,
  557. "foreign_keys": {
  558. "project_id": {
  559. "kind": "ImplicitForeignKey",
  560. "model": "sentry.project",
  561. "nullable": false
  562. }
  563. },
  564. "model": "sentry.artifactbundleflatfileindex",
  565. "relocation_dependencies": [],
  566. "relocation_scope": "Excluded",
  567. "silos": [
  568. "Region"
  569. ],
  570. "table_name": "sentry_artifactbundleflatfileindex",
  571. "uniques": [
  572. [
  573. "dist_name",
  574. "project_id",
  575. "release_name"
  576. ]
  577. ]
  578. },
  579. "sentry.artifactbundleindex": {
  580. "dangling": false,
  581. "foreign_keys": {
  582. "artifact_bundle": {
  583. "kind": "FlexibleForeignKey",
  584. "model": "sentry.artifactbundle",
  585. "nullable": false
  586. },
  587. "organization_id": {
  588. "kind": "ImplicitForeignKey",
  589. "model": "sentry.organization",
  590. "nullable": false
  591. }
  592. },
  593. "model": "sentry.artifactbundleindex",
  594. "relocation_dependencies": [],
  595. "relocation_scope": "Excluded",
  596. "silos": [
  597. "Region"
  598. ],
  599. "table_name": "sentry_artifactbundleindex",
  600. "uniques": []
  601. },
  602. "sentry.assistantactivity": {
  603. "dangling": false,
  604. "foreign_keys": {
  605. "user": {
  606. "kind": "FlexibleForeignKey",
  607. "model": "sentry.user",
  608. "nullable": false
  609. }
  610. },
  611. "model": "sentry.assistantactivity",
  612. "relocation_dependencies": [],
  613. "relocation_scope": "Excluded",
  614. "silos": [
  615. "Control"
  616. ],
  617. "table_name": "sentry_assistant_activity",
  618. "uniques": [
  619. [
  620. "guide_id",
  621. "user"
  622. ]
  623. ]
  624. },
  625. "sentry.auditlogentry": {
  626. "dangling": false,
  627. "foreign_keys": {
  628. "actor": {
  629. "kind": "FlexibleForeignKey",
  630. "model": "sentry.user",
  631. "nullable": true
  632. },
  633. "actor_key": {
  634. "kind": "FlexibleForeignKey",
  635. "model": "sentry.apikey",
  636. "nullable": true
  637. },
  638. "organization_id": {
  639. "kind": "HybridCloudForeignKey",
  640. "model": "sentry.organization",
  641. "nullable": false
  642. },
  643. "target_user": {
  644. "kind": "FlexibleForeignKey",
  645. "model": "sentry.user",
  646. "nullable": true
  647. }
  648. },
  649. "model": "sentry.auditlogentry",
  650. "relocation_dependencies": [],
  651. "relocation_scope": "Excluded",
  652. "silos": [
  653. "Control"
  654. ],
  655. "table_name": "sentry_auditlogentry",
  656. "uniques": []
  657. },
  658. "sentry.authenticator": {
  659. "dangling": false,
  660. "foreign_keys": {
  661. "user": {
  662. "kind": "FlexibleForeignKey",
  663. "model": "sentry.user",
  664. "nullable": false
  665. }
  666. },
  667. "model": "sentry.authenticator",
  668. "relocation_dependencies": [],
  669. "relocation_scope": "Global",
  670. "silos": [
  671. "Control"
  672. ],
  673. "table_name": "auth_authenticator",
  674. "uniques": [
  675. [
  676. "type",
  677. "user"
  678. ]
  679. ]
  680. },
  681. "sentry.authidentity": {
  682. "dangling": false,
  683. "foreign_keys": {
  684. "auth_provider": {
  685. "kind": "FlexibleForeignKey",
  686. "model": "sentry.authprovider",
  687. "nullable": false
  688. },
  689. "user": {
  690. "kind": "FlexibleForeignKey",
  691. "model": "sentry.user",
  692. "nullable": false
  693. }
  694. },
  695. "model": "sentry.authidentity",
  696. "relocation_dependencies": [],
  697. "relocation_scope": "Global",
  698. "silos": [
  699. "Control"
  700. ],
  701. "table_name": "sentry_authidentity",
  702. "uniques": [
  703. [
  704. "auth_provider",
  705. "ident"
  706. ],
  707. [
  708. "auth_provider",
  709. "user"
  710. ]
  711. ]
  712. },
  713. "sentry.authidentityreplica": {
  714. "dangling": false,
  715. "foreign_keys": {
  716. "auth_identity_id": {
  717. "kind": "HybridCloudForeignKey",
  718. "model": "sentry.authidentity",
  719. "nullable": false
  720. },
  721. "auth_provider_id": {
  722. "kind": "HybridCloudForeignKey",
  723. "model": "sentry.authprovider",
  724. "nullable": false
  725. },
  726. "user_id": {
  727. "kind": "HybridCloudForeignKey",
  728. "model": "sentry.user",
  729. "nullable": false
  730. }
  731. },
  732. "model": "sentry.authidentityreplica",
  733. "relocation_dependencies": [],
  734. "relocation_scope": "Excluded",
  735. "silos": [
  736. "Region"
  737. ],
  738. "table_name": "sentry_authidentityreplica",
  739. "uniques": [
  740. [
  741. "auth_identity_id"
  742. ],
  743. [
  744. "auth_provider_id",
  745. "ident"
  746. ],
  747. [
  748. "auth_provider_id",
  749. "user_id"
  750. ]
  751. ]
  752. },
  753. "sentry.authprovider": {
  754. "dangling": false,
  755. "foreign_keys": {
  756. "organization_id": {
  757. "kind": "HybridCloudForeignKey",
  758. "model": "sentry.organization",
  759. "nullable": false
  760. }
  761. },
  762. "model": "sentry.authprovider",
  763. "relocation_dependencies": [],
  764. "relocation_scope": "Global",
  765. "silos": [
  766. "Control"
  767. ],
  768. "table_name": "sentry_authprovider",
  769. "uniques": [
  770. [
  771. "organization_id"
  772. ]
  773. ]
  774. },
  775. "sentry.authproviderdefaultteams": {
  776. "dangling": false,
  777. "foreign_keys": {
  778. "authprovider_id": {
  779. "kind": "ImplicitForeignKey",
  780. "model": "sentry.authprovider",
  781. "nullable": false
  782. },
  783. "team_id": {
  784. "kind": "ImplicitForeignKey",
  785. "model": "sentry.team",
  786. "nullable": false
  787. }
  788. },
  789. "model": "sentry.authproviderdefaultteams",
  790. "relocation_dependencies": [],
  791. "relocation_scope": "Excluded",
  792. "silos": [
  793. "Control"
  794. ],
  795. "table_name": "sentry_authprovider_default_teams",
  796. "uniques": []
  797. },
  798. "sentry.authproviderreplica": {
  799. "dangling": false,
  800. "foreign_keys": {
  801. "auth_provider_id": {
  802. "kind": "HybridCloudForeignKey",
  803. "model": "sentry.authprovider",
  804. "nullable": false
  805. },
  806. "organization": {
  807. "kind": "FlexibleForeignKey",
  808. "model": "sentry.organization",
  809. "nullable": false
  810. }
  811. },
  812. "model": "sentry.authproviderreplica",
  813. "relocation_dependencies": [],
  814. "relocation_scope": "Excluded",
  815. "silos": [
  816. "Region"
  817. ],
  818. "table_name": "sentry_authproviderreplica",
  819. "uniques": [
  820. [
  821. "auth_provider_id"
  822. ],
  823. [
  824. "organization"
  825. ]
  826. ]
  827. },
  828. "sentry.broadcast": {
  829. "dangling": false,
  830. "foreign_keys": {},
  831. "model": "sentry.broadcast",
  832. "relocation_dependencies": [],
  833. "relocation_scope": "Excluded",
  834. "silos": [
  835. "Control"
  836. ],
  837. "table_name": "sentry_broadcast",
  838. "uniques": []
  839. },
  840. "sentry.broadcastseen": {
  841. "dangling": false,
  842. "foreign_keys": {
  843. "broadcast": {
  844. "kind": "FlexibleForeignKey",
  845. "model": "sentry.broadcast",
  846. "nullable": false
  847. },
  848. "user": {
  849. "kind": "FlexibleForeignKey",
  850. "model": "sentry.user",
  851. "nullable": false
  852. }
  853. },
  854. "model": "sentry.broadcastseen",
  855. "relocation_dependencies": [],
  856. "relocation_scope": "Excluded",
  857. "silos": [
  858. "Control"
  859. ],
  860. "table_name": "sentry_broadcastseen",
  861. "uniques": [
  862. [
  863. "broadcast",
  864. "user"
  865. ]
  866. ]
  867. },
  868. "sentry.commit": {
  869. "dangling": false,
  870. "foreign_keys": {
  871. "author": {
  872. "kind": "FlexibleForeignKey",
  873. "model": "sentry.commitauthor",
  874. "nullable": true
  875. },
  876. "organization_id": {
  877. "kind": "ImplicitForeignKey",
  878. "model": "sentry.organization",
  879. "nullable": false
  880. },
  881. "repository_id": {
  882. "kind": "ImplicitForeignKey",
  883. "model": "sentry.repository",
  884. "nullable": false
  885. }
  886. },
  887. "model": "sentry.commit",
  888. "relocation_dependencies": [],
  889. "relocation_scope": "Excluded",
  890. "silos": [
  891. "Region"
  892. ],
  893. "table_name": "sentry_commit",
  894. "uniques": [
  895. [
  896. "key",
  897. "repository_id"
  898. ]
  899. ]
  900. },
  901. "sentry.commitauthor": {
  902. "dangling": false,
  903. "foreign_keys": {
  904. "organization_id": {
  905. "kind": "ImplicitForeignKey",
  906. "model": "sentry.organization",
  907. "nullable": false
  908. }
  909. },
  910. "model": "sentry.commitauthor",
  911. "relocation_dependencies": [],
  912. "relocation_scope": "Excluded",
  913. "silos": [
  914. "Region"
  915. ],
  916. "table_name": "sentry_commitauthor",
  917. "uniques": [
  918. [
  919. "email",
  920. "organization_id"
  921. ],
  922. [
  923. "external_id",
  924. "organization_id"
  925. ]
  926. ]
  927. },
  928. "sentry.commitfilechange": {
  929. "dangling": false,
  930. "foreign_keys": {
  931. "commit": {
  932. "kind": "FlexibleForeignKey",
  933. "model": "sentry.commit",
  934. "nullable": false
  935. },
  936. "organization_id": {
  937. "kind": "ImplicitForeignKey",
  938. "model": "sentry.organization",
  939. "nullable": false
  940. }
  941. },
  942. "model": "sentry.commitfilechange",
  943. "relocation_dependencies": [],
  944. "relocation_scope": "Excluded",
  945. "silos": [
  946. "Region"
  947. ],
  948. "table_name": "sentry_commitfilechange",
  949. "uniques": [
  950. [
  951. "commit",
  952. "filename"
  953. ]
  954. ]
  955. },
  956. "sentry.controlfile": {
  957. "dangling": false,
  958. "foreign_keys": {},
  959. "model": "sentry.controlfile",
  960. "relocation_dependencies": [],
  961. "relocation_scope": "Excluded",
  962. "silos": [
  963. "Control"
  964. ],
  965. "table_name": "sentry_controlfile",
  966. "uniques": []
  967. },
  968. "sentry.controlfileblob": {
  969. "dangling": false,
  970. "foreign_keys": {},
  971. "model": "sentry.controlfileblob",
  972. "relocation_dependencies": [],
  973. "relocation_scope": "Excluded",
  974. "silos": [
  975. "Control"
  976. ],
  977. "table_name": "sentry_controlfileblob",
  978. "uniques": [
  979. [
  980. "checksum"
  981. ]
  982. ]
  983. },
  984. "sentry.controlfileblobindex": {
  985. "dangling": false,
  986. "foreign_keys": {
  987. "blob": {
  988. "kind": "FlexibleForeignKey",
  989. "model": "sentry.controlfileblob",
  990. "nullable": false
  991. },
  992. "file": {
  993. "kind": "FlexibleForeignKey",
  994. "model": "sentry.controlfile",
  995. "nullable": false
  996. }
  997. },
  998. "model": "sentry.controlfileblobindex",
  999. "relocation_dependencies": [],
  1000. "relocation_scope": "Excluded",
  1001. "silos": [
  1002. "Control"
  1003. ],
  1004. "table_name": "sentry_controlfileblobindex",
  1005. "uniques": [
  1006. [
  1007. "blob",
  1008. "file",
  1009. "offset"
  1010. ]
  1011. ]
  1012. },
  1013. "sentry.controlfileblobowner": {
  1014. "dangling": false,
  1015. "foreign_keys": {
  1016. "blob": {
  1017. "kind": "FlexibleForeignKey",
  1018. "model": "sentry.controlfileblob",
  1019. "nullable": false
  1020. },
  1021. "organization_id": {
  1022. "kind": "ImplicitForeignKey",
  1023. "model": "sentry.organization",
  1024. "nullable": false
  1025. }
  1026. },
  1027. "model": "sentry.controlfileblobowner",
  1028. "relocation_dependencies": [],
  1029. "relocation_scope": "Excluded",
  1030. "silos": [
  1031. "Control"
  1032. ],
  1033. "table_name": "sentry_controlfileblobowner",
  1034. "uniques": [
  1035. [
  1036. "blob",
  1037. "organization_id"
  1038. ]
  1039. ]
  1040. },
  1041. "sentry.controloption": {
  1042. "dangling": false,
  1043. "foreign_keys": {},
  1044. "model": "sentry.controloption",
  1045. "relocation_dependencies": [],
  1046. "relocation_scope": "Config",
  1047. "silos": [
  1048. "Control"
  1049. ],
  1050. "table_name": "sentry_controloption",
  1051. "uniques": [
  1052. [
  1053. "key"
  1054. ]
  1055. ]
  1056. },
  1057. "sentry.controloutbox": {
  1058. "dangling": false,
  1059. "foreign_keys": {},
  1060. "model": "sentry.controloutbox",
  1061. "relocation_dependencies": [],
  1062. "relocation_scope": "Excluded",
  1063. "silos": [
  1064. "Control"
  1065. ],
  1066. "table_name": "sentry_controloutbox",
  1067. "uniques": []
  1068. },
  1069. "sentry.controltombstone": {
  1070. "dangling": false,
  1071. "foreign_keys": {},
  1072. "model": "sentry.controltombstone",
  1073. "relocation_dependencies": [],
  1074. "relocation_scope": "Excluded",
  1075. "silos": [
  1076. "Control"
  1077. ],
  1078. "table_name": "sentry_controltombstone",
  1079. "uniques": []
  1080. },
  1081. "sentry.counter": {
  1082. "dangling": false,
  1083. "foreign_keys": {
  1084. "project": {
  1085. "kind": "FlexibleForeignKey",
  1086. "model": "sentry.project",
  1087. "nullable": false
  1088. }
  1089. },
  1090. "model": "sentry.counter",
  1091. "relocation_dependencies": [],
  1092. "relocation_scope": "Organization",
  1093. "silos": [
  1094. "Region"
  1095. ],
  1096. "table_name": "sentry_projectcounter",
  1097. "uniques": [
  1098. [
  1099. "project"
  1100. ]
  1101. ]
  1102. },
  1103. "sentry.customdynamicsamplingrule": {
  1104. "dangling": false,
  1105. "foreign_keys": {
  1106. "organization": {
  1107. "kind": "FlexibleForeignKey",
  1108. "model": "sentry.organization",
  1109. "nullable": false
  1110. }
  1111. },
  1112. "model": "sentry.customdynamicsamplingrule",
  1113. "relocation_dependencies": [],
  1114. "relocation_scope": "Organization",
  1115. "silos": [
  1116. "Region"
  1117. ],
  1118. "table_name": "sentry_customdynamicsamplingrule",
  1119. "uniques": []
  1120. },
  1121. "sentry.customdynamicsamplingruleproject": {
  1122. "dangling": false,
  1123. "foreign_keys": {
  1124. "custom_dynamic_sampling_rule": {
  1125. "kind": "FlexibleForeignKey",
  1126. "model": "sentry.customdynamicsamplingrule",
  1127. "nullable": false
  1128. },
  1129. "project": {
  1130. "kind": "FlexibleForeignKey",
  1131. "model": "sentry.project",
  1132. "nullable": false
  1133. }
  1134. },
  1135. "model": "sentry.customdynamicsamplingruleproject",
  1136. "relocation_dependencies": [],
  1137. "relocation_scope": "Organization",
  1138. "silos": [
  1139. "Region"
  1140. ],
  1141. "table_name": "sentry_customdynamicsamplingruleproject",
  1142. "uniques": [
  1143. [
  1144. "custom_dynamic_sampling_rule",
  1145. "project"
  1146. ]
  1147. ]
  1148. },
  1149. "sentry.dashboard": {
  1150. "dangling": false,
  1151. "foreign_keys": {
  1152. "created_by_id": {
  1153. "kind": "HybridCloudForeignKey",
  1154. "model": "sentry.user",
  1155. "nullable": false
  1156. },
  1157. "organization": {
  1158. "kind": "FlexibleForeignKey",
  1159. "model": "sentry.organization",
  1160. "nullable": false
  1161. }
  1162. },
  1163. "model": "sentry.dashboard",
  1164. "relocation_dependencies": [],
  1165. "relocation_scope": "Organization",
  1166. "silos": [
  1167. "Region"
  1168. ],
  1169. "table_name": "sentry_dashboard",
  1170. "uniques": [
  1171. [
  1172. "organization",
  1173. "title"
  1174. ]
  1175. ]
  1176. },
  1177. "sentry.dashboardproject": {
  1178. "dangling": false,
  1179. "foreign_keys": {
  1180. "dashboard": {
  1181. "kind": "FlexibleForeignKey",
  1182. "model": "sentry.dashboard",
  1183. "nullable": false
  1184. },
  1185. "project": {
  1186. "kind": "FlexibleForeignKey",
  1187. "model": "sentry.project",
  1188. "nullable": false
  1189. }
  1190. },
  1191. "model": "sentry.dashboardproject",
  1192. "relocation_dependencies": [],
  1193. "relocation_scope": "Excluded",
  1194. "silos": [
  1195. "Region"
  1196. ],
  1197. "table_name": "sentry_dashboardproject",
  1198. "uniques": [
  1199. [
  1200. "dashboard",
  1201. "project"
  1202. ]
  1203. ]
  1204. },
  1205. "sentry.dashboardtombstone": {
  1206. "dangling": false,
  1207. "foreign_keys": {
  1208. "organization": {
  1209. "kind": "FlexibleForeignKey",
  1210. "model": "sentry.organization",
  1211. "nullable": false
  1212. }
  1213. },
  1214. "model": "sentry.dashboardtombstone",
  1215. "relocation_dependencies": [],
  1216. "relocation_scope": "Organization",
  1217. "silos": [
  1218. "Region"
  1219. ],
  1220. "table_name": "sentry_dashboardtombstone",
  1221. "uniques": [
  1222. [
  1223. "organization",
  1224. "slug"
  1225. ]
  1226. ]
  1227. },
  1228. "sentry.dashboardwidget": {
  1229. "dangling": false,
  1230. "foreign_keys": {
  1231. "dashboard": {
  1232. "kind": "FlexibleForeignKey",
  1233. "model": "sentry.dashboard",
  1234. "nullable": false
  1235. }
  1236. },
  1237. "model": "sentry.dashboardwidget",
  1238. "relocation_dependencies": [],
  1239. "relocation_scope": "Organization",
  1240. "silos": [
  1241. "Region"
  1242. ],
  1243. "table_name": "sentry_dashboardwidget",
  1244. "uniques": [
  1245. [
  1246. "dashboard",
  1247. "order"
  1248. ]
  1249. ]
  1250. },
  1251. "sentry.dashboardwidgetquery": {
  1252. "dangling": false,
  1253. "foreign_keys": {
  1254. "widget": {
  1255. "kind": "FlexibleForeignKey",
  1256. "model": "sentry.dashboardwidget",
  1257. "nullable": false
  1258. }
  1259. },
  1260. "model": "sentry.dashboardwidgetquery",
  1261. "relocation_dependencies": [],
  1262. "relocation_scope": "Organization",
  1263. "silos": [
  1264. "Region"
  1265. ],
  1266. "table_name": "sentry_dashboardwidgetquery",
  1267. "uniques": [
  1268. [
  1269. "order",
  1270. "widget"
  1271. ]
  1272. ]
  1273. },
  1274. "sentry.debugidartifactbundle": {
  1275. "dangling": false,
  1276. "foreign_keys": {
  1277. "artifact_bundle": {
  1278. "kind": "FlexibleForeignKey",
  1279. "model": "sentry.artifactbundle",
  1280. "nullable": false
  1281. },
  1282. "organization_id": {
  1283. "kind": "ImplicitForeignKey",
  1284. "model": "sentry.organization",
  1285. "nullable": false
  1286. }
  1287. },
  1288. "model": "sentry.debugidartifactbundle",
  1289. "relocation_dependencies": [],
  1290. "relocation_scope": "Excluded",
  1291. "silos": [
  1292. "Region"
  1293. ],
  1294. "table_name": "sentry_debugidartifactbundle",
  1295. "uniques": []
  1296. },
  1297. "sentry.deletedorganization": {
  1298. "dangling": false,
  1299. "foreign_keys": {},
  1300. "model": "sentry.deletedorganization",
  1301. "relocation_dependencies": [],
  1302. "relocation_scope": "Excluded",
  1303. "silos": [
  1304. "Region"
  1305. ],
  1306. "table_name": "sentry_deletedorganization",
  1307. "uniques": []
  1308. },
  1309. "sentry.deletedproject": {
  1310. "dangling": false,
  1311. "foreign_keys": {
  1312. "organization_id": {
  1313. "kind": "ImplicitForeignKey",
  1314. "model": "sentry.organization",
  1315. "nullable": true
  1316. }
  1317. },
  1318. "model": "sentry.deletedproject",
  1319. "relocation_dependencies": [],
  1320. "relocation_scope": "Excluded",
  1321. "silos": [
  1322. "Region"
  1323. ],
  1324. "table_name": "sentry_deletedproject",
  1325. "uniques": []
  1326. },
  1327. "sentry.deletedteam": {
  1328. "dangling": false,
  1329. "foreign_keys": {
  1330. "organization_id": {
  1331. "kind": "ImplicitForeignKey",
  1332. "model": "sentry.organization",
  1333. "nullable": true
  1334. }
  1335. },
  1336. "model": "sentry.deletedteam",
  1337. "relocation_dependencies": [],
  1338. "relocation_scope": "Excluded",
  1339. "silos": [
  1340. "Region"
  1341. ],
  1342. "table_name": "sentry_deletedteam",
  1343. "uniques": []
  1344. },
  1345. "sentry.deploy": {
  1346. "dangling": false,
  1347. "foreign_keys": {
  1348. "environment_id": {
  1349. "kind": "ImplicitForeignKey",
  1350. "model": "sentry.environment",
  1351. "nullable": false
  1352. },
  1353. "organization_id": {
  1354. "kind": "ImplicitForeignKey",
  1355. "model": "sentry.organization",
  1356. "nullable": false
  1357. },
  1358. "release": {
  1359. "kind": "FlexibleForeignKey",
  1360. "model": "sentry.release",
  1361. "nullable": false
  1362. }
  1363. },
  1364. "model": "sentry.deploy",
  1365. "relocation_dependencies": [],
  1366. "relocation_scope": "Excluded",
  1367. "silos": [
  1368. "Region"
  1369. ],
  1370. "table_name": "sentry_deploy",
  1371. "uniques": []
  1372. },
  1373. "sentry.discoversavedquery": {
  1374. "dangling": false,
  1375. "foreign_keys": {
  1376. "created_by_id": {
  1377. "kind": "HybridCloudForeignKey",
  1378. "model": "sentry.user",
  1379. "nullable": true
  1380. },
  1381. "organization": {
  1382. "kind": "FlexibleForeignKey",
  1383. "model": "sentry.organization",
  1384. "nullable": false
  1385. }
  1386. },
  1387. "model": "sentry.discoversavedquery",
  1388. "relocation_dependencies": [],
  1389. "relocation_scope": "Excluded",
  1390. "silos": [
  1391. "Region"
  1392. ],
  1393. "table_name": "sentry_discoversavedquery",
  1394. "uniques": []
  1395. },
  1396. "sentry.discoversavedqueryproject": {
  1397. "dangling": false,
  1398. "foreign_keys": {
  1399. "discover_saved_query": {
  1400. "kind": "FlexibleForeignKey",
  1401. "model": "sentry.discoversavedquery",
  1402. "nullable": false
  1403. },
  1404. "project": {
  1405. "kind": "FlexibleForeignKey",
  1406. "model": "sentry.project",
  1407. "nullable": false
  1408. }
  1409. },
  1410. "model": "sentry.discoversavedqueryproject",
  1411. "relocation_dependencies": [],
  1412. "relocation_scope": "Excluded",
  1413. "silos": [
  1414. "Region"
  1415. ],
  1416. "table_name": "sentry_discoversavedqueryproject",
  1417. "uniques": [
  1418. [
  1419. "discover_saved_query",
  1420. "project"
  1421. ]
  1422. ]
  1423. },
  1424. "sentry.distribution": {
  1425. "dangling": false,
  1426. "foreign_keys": {
  1427. "organization_id": {
  1428. "kind": "ImplicitForeignKey",
  1429. "model": "sentry.organization",
  1430. "nullable": false
  1431. },
  1432. "release": {
  1433. "kind": "FlexibleForeignKey",
  1434. "model": "sentry.release",
  1435. "nullable": false
  1436. }
  1437. },
  1438. "model": "sentry.distribution",
  1439. "relocation_dependencies": [],
  1440. "relocation_scope": "Excluded",
  1441. "silos": [
  1442. "Region"
  1443. ],
  1444. "table_name": "sentry_distribution",
  1445. "uniques": [
  1446. [
  1447. "name",
  1448. "release"
  1449. ]
  1450. ]
  1451. },
  1452. "sentry.docintegration": {
  1453. "dangling": false,
  1454. "foreign_keys": {},
  1455. "model": "sentry.docintegration",
  1456. "relocation_dependencies": [],
  1457. "relocation_scope": "Excluded",
  1458. "silos": [
  1459. "Control"
  1460. ],
  1461. "table_name": "sentry_docintegration",
  1462. "uniques": [
  1463. [
  1464. "slug"
  1465. ]
  1466. ]
  1467. },
  1468. "sentry.docintegrationavatar": {
  1469. "dangling": false,
  1470. "foreign_keys": {
  1471. "control_file_id": {
  1472. "kind": "ImplicitForeignKey",
  1473. "model": "sentry.controlfile",
  1474. "nullable": true
  1475. },
  1476. "doc_integration": {
  1477. "kind": "FlexibleForeignKey",
  1478. "model": "sentry.docintegration",
  1479. "nullable": false
  1480. },
  1481. "file_id": {
  1482. "kind": "ImplicitForeignKey",
  1483. "model": "sentry.file",
  1484. "nullable": true
  1485. }
  1486. },
  1487. "model": "sentry.docintegrationavatar",
  1488. "relocation_dependencies": [],
  1489. "relocation_scope": "Excluded",
  1490. "silos": [
  1491. "Control"
  1492. ],
  1493. "table_name": "sentry_docintegrationavatar",
  1494. "uniques": [
  1495. [
  1496. "control_file_id"
  1497. ],
  1498. [
  1499. "file_id"
  1500. ],
  1501. [
  1502. "ident"
  1503. ]
  1504. ]
  1505. },
  1506. "sentry.email": {
  1507. "dangling": true,
  1508. "foreign_keys": {},
  1509. "model": "sentry.email",
  1510. "relocation_dependencies": [
  1511. "sentry.user"
  1512. ],
  1513. "relocation_scope": "User",
  1514. "silos": [
  1515. "Control"
  1516. ],
  1517. "table_name": "sentry_email",
  1518. "uniques": [
  1519. [
  1520. "email"
  1521. ]
  1522. ]
  1523. },
  1524. "sentry.environment": {
  1525. "dangling": false,
  1526. "foreign_keys": {
  1527. "organization_id": {
  1528. "kind": "ImplicitForeignKey",
  1529. "model": "sentry.organization",
  1530. "nullable": false
  1531. }
  1532. },
  1533. "model": "sentry.environment",
  1534. "relocation_dependencies": [],
  1535. "relocation_scope": "Organization",
  1536. "silos": [
  1537. "Region"
  1538. ],
  1539. "table_name": "sentry_environment",
  1540. "uniques": [
  1541. [
  1542. "name",
  1543. "organization_id"
  1544. ]
  1545. ]
  1546. },
  1547. "sentry.environmentproject": {
  1548. "dangling": false,
  1549. "foreign_keys": {
  1550. "environment": {
  1551. "kind": "FlexibleForeignKey",
  1552. "model": "sentry.environment",
  1553. "nullable": false
  1554. },
  1555. "project": {
  1556. "kind": "FlexibleForeignKey",
  1557. "model": "sentry.project",
  1558. "nullable": false
  1559. }
  1560. },
  1561. "model": "sentry.environmentproject",
  1562. "relocation_dependencies": [],
  1563. "relocation_scope": "Organization",
  1564. "silos": [
  1565. "Region"
  1566. ],
  1567. "table_name": "sentry_environmentproject",
  1568. "uniques": [
  1569. [
  1570. "environment",
  1571. "project"
  1572. ]
  1573. ]
  1574. },
  1575. "sentry.eventattachment": {
  1576. "dangling": false,
  1577. "foreign_keys": {
  1578. "file_id": {
  1579. "kind": "ImplicitForeignKey",
  1580. "model": "sentry.file",
  1581. "nullable": false
  1582. },
  1583. "group_id": {
  1584. "kind": "ImplicitForeignKey",
  1585. "model": "sentry.group",
  1586. "nullable": true
  1587. },
  1588. "project_id": {
  1589. "kind": "ImplicitForeignKey",
  1590. "model": "sentry.project",
  1591. "nullable": false
  1592. }
  1593. },
  1594. "model": "sentry.eventattachment",
  1595. "relocation_dependencies": [],
  1596. "relocation_scope": "Excluded",
  1597. "silos": [
  1598. "Region"
  1599. ],
  1600. "table_name": "sentry_eventattachment",
  1601. "uniques": [
  1602. [
  1603. "event_id",
  1604. "file_id",
  1605. "project_id"
  1606. ]
  1607. ]
  1608. },
  1609. "sentry.eventprocessingissue": {
  1610. "dangling": false,
  1611. "foreign_keys": {
  1612. "processing_issue": {
  1613. "kind": "FlexibleForeignKey",
  1614. "model": "sentry.processingissue",
  1615. "nullable": false
  1616. },
  1617. "raw_event": {
  1618. "kind": "FlexibleForeignKey",
  1619. "model": "sentry.rawevent",
  1620. "nullable": false
  1621. }
  1622. },
  1623. "model": "sentry.eventprocessingissue",
  1624. "relocation_dependencies": [],
  1625. "relocation_scope": "Excluded",
  1626. "silos": [
  1627. "Region"
  1628. ],
  1629. "table_name": "sentry_eventprocessingissue",
  1630. "uniques": [
  1631. [
  1632. "processing_issue",
  1633. "raw_event"
  1634. ]
  1635. ]
  1636. },
  1637. "sentry.eventuser": {
  1638. "dangling": false,
  1639. "foreign_keys": {
  1640. "project_id": {
  1641. "kind": "ImplicitForeignKey",
  1642. "model": "sentry.project",
  1643. "nullable": false
  1644. }
  1645. },
  1646. "model": "sentry.eventuser",
  1647. "relocation_dependencies": [],
  1648. "relocation_scope": "Excluded",
  1649. "silos": [
  1650. "Region"
  1651. ],
  1652. "table_name": "sentry_eventuser",
  1653. "uniques": [
  1654. [
  1655. "hash",
  1656. "project_id"
  1657. ],
  1658. [
  1659. "ident",
  1660. "project_id"
  1661. ]
  1662. ]
  1663. },
  1664. "sentry.exporteddata": {
  1665. "dangling": false,
  1666. "foreign_keys": {
  1667. "file_id": {
  1668. "kind": "ImplicitForeignKey",
  1669. "model": "sentry.file",
  1670. "nullable": true
  1671. },
  1672. "organization": {
  1673. "kind": "FlexibleForeignKey",
  1674. "model": "sentry.organization",
  1675. "nullable": false
  1676. },
  1677. "user_id": {
  1678. "kind": "HybridCloudForeignKey",
  1679. "model": "sentry.user",
  1680. "nullable": true
  1681. }
  1682. },
  1683. "model": "sentry.exporteddata",
  1684. "relocation_dependencies": [],
  1685. "relocation_scope": "Excluded",
  1686. "silos": [
  1687. "Region"
  1688. ],
  1689. "table_name": "sentry_exporteddata",
  1690. "uniques": []
  1691. },
  1692. "sentry.exporteddatablob": {
  1693. "dangling": false,
  1694. "foreign_keys": {
  1695. "data_export": {
  1696. "kind": "FlexibleForeignKey",
  1697. "model": "sentry.exporteddata",
  1698. "nullable": false
  1699. }
  1700. },
  1701. "model": "sentry.exporteddatablob",
  1702. "relocation_dependencies": [],
  1703. "relocation_scope": "Excluded",
  1704. "silos": [
  1705. "Region"
  1706. ],
  1707. "table_name": "sentry_exporteddatablob",
  1708. "uniques": [
  1709. [
  1710. "blob_id",
  1711. "data_export",
  1712. "offset"
  1713. ]
  1714. ]
  1715. },
  1716. "sentry.externalactor": {
  1717. "dangling": false,
  1718. "foreign_keys": {
  1719. "integration_id": {
  1720. "kind": "HybridCloudForeignKey",
  1721. "model": "sentry.integration",
  1722. "nullable": false
  1723. },
  1724. "organization": {
  1725. "kind": "FlexibleForeignKey",
  1726. "model": "sentry.organization",
  1727. "nullable": false
  1728. },
  1729. "team": {
  1730. "kind": "FlexibleForeignKey",
  1731. "model": "sentry.team",
  1732. "nullable": true
  1733. },
  1734. "user_id": {
  1735. "kind": "HybridCloudForeignKey",
  1736. "model": "sentry.user",
  1737. "nullable": true
  1738. }
  1739. },
  1740. "model": "sentry.externalactor",
  1741. "relocation_dependencies": [],
  1742. "relocation_scope": "Excluded",
  1743. "silos": [
  1744. "Region"
  1745. ],
  1746. "table_name": "sentry_externalactor",
  1747. "uniques": [
  1748. [
  1749. "external_name",
  1750. "organization",
  1751. "provider",
  1752. "team_id"
  1753. ],
  1754. [
  1755. "external_name",
  1756. "organization",
  1757. "provider",
  1758. "user_id"
  1759. ]
  1760. ]
  1761. },
  1762. "sentry.externalissue": {
  1763. "dangling": false,
  1764. "foreign_keys": {
  1765. "integration_id": {
  1766. "kind": "HybridCloudForeignKey",
  1767. "model": "sentry.integration",
  1768. "nullable": false
  1769. },
  1770. "organization": {
  1771. "kind": "FlexibleForeignKey",
  1772. "model": "sentry.organization",
  1773. "nullable": false
  1774. }
  1775. },
  1776. "model": "sentry.externalissue",
  1777. "relocation_dependencies": [],
  1778. "relocation_scope": "Excluded",
  1779. "silos": [
  1780. "Region"
  1781. ],
  1782. "table_name": "sentry_externalissue",
  1783. "uniques": [
  1784. [
  1785. "integration_id",
  1786. "key",
  1787. "organization"
  1788. ]
  1789. ]
  1790. },
  1791. "sentry.featureadoption": {
  1792. "dangling": false,
  1793. "foreign_keys": {
  1794. "organization": {
  1795. "kind": "FlexibleForeignKey",
  1796. "model": "sentry.organization",
  1797. "nullable": false
  1798. }
  1799. },
  1800. "model": "sentry.featureadoption",
  1801. "relocation_dependencies": [],
  1802. "relocation_scope": "Excluded",
  1803. "silos": [
  1804. "Region"
  1805. ],
  1806. "table_name": "sentry_featureadoption",
  1807. "uniques": [
  1808. [
  1809. "feature_id",
  1810. "organization"
  1811. ]
  1812. ]
  1813. },
  1814. "sentry.file": {
  1815. "dangling": false,
  1816. "foreign_keys": {
  1817. "blob": {
  1818. "kind": "FlexibleForeignKey",
  1819. "model": "sentry.fileblob",
  1820. "nullable": true
  1821. }
  1822. },
  1823. "model": "sentry.file",
  1824. "relocation_dependencies": [],
  1825. "relocation_scope": "Excluded",
  1826. "silos": [
  1827. "Region"
  1828. ],
  1829. "table_name": "sentry_file",
  1830. "uniques": []
  1831. },
  1832. "sentry.fileblob": {
  1833. "dangling": false,
  1834. "foreign_keys": {},
  1835. "model": "sentry.fileblob",
  1836. "relocation_dependencies": [],
  1837. "relocation_scope": "Excluded",
  1838. "silos": [
  1839. "Region"
  1840. ],
  1841. "table_name": "sentry_fileblob",
  1842. "uniques": [
  1843. [
  1844. "checksum"
  1845. ]
  1846. ]
  1847. },
  1848. "sentry.fileblobindex": {
  1849. "dangling": false,
  1850. "foreign_keys": {
  1851. "blob": {
  1852. "kind": "FlexibleForeignKey",
  1853. "model": "sentry.fileblob",
  1854. "nullable": false
  1855. },
  1856. "file": {
  1857. "kind": "FlexibleForeignKey",
  1858. "model": "sentry.file",
  1859. "nullable": false
  1860. }
  1861. },
  1862. "model": "sentry.fileblobindex",
  1863. "relocation_dependencies": [],
  1864. "relocation_scope": "Excluded",
  1865. "silos": [
  1866. "Region"
  1867. ],
  1868. "table_name": "sentry_fileblobindex",
  1869. "uniques": [
  1870. [
  1871. "blob",
  1872. "file",
  1873. "offset"
  1874. ]
  1875. ]
  1876. },
  1877. "sentry.fileblobowner": {
  1878. "dangling": false,
  1879. "foreign_keys": {
  1880. "blob": {
  1881. "kind": "FlexibleForeignKey",
  1882. "model": "sentry.fileblob",
  1883. "nullable": false
  1884. },
  1885. "organization_id": {
  1886. "kind": "ImplicitForeignKey",
  1887. "model": "sentry.organization",
  1888. "nullable": false
  1889. }
  1890. },
  1891. "model": "sentry.fileblobowner",
  1892. "relocation_dependencies": [],
  1893. "relocation_scope": "Excluded",
  1894. "silos": [
  1895. "Region"
  1896. ],
  1897. "table_name": "sentry_fileblobowner",
  1898. "uniques": [
  1899. [
  1900. "blob",
  1901. "organization_id"
  1902. ]
  1903. ]
  1904. },
  1905. "sentry.flatfileindexstate": {
  1906. "dangling": false,
  1907. "foreign_keys": {
  1908. "artifact_bundle": {
  1909. "kind": "FlexibleForeignKey",
  1910. "model": "sentry.artifactbundle",
  1911. "nullable": false
  1912. },
  1913. "flat_file_index": {
  1914. "kind": "FlexibleForeignKey",
  1915. "model": "sentry.artifactbundleflatfileindex",
  1916. "nullable": false
  1917. }
  1918. },
  1919. "model": "sentry.flatfileindexstate",
  1920. "relocation_dependencies": [],
  1921. "relocation_scope": "Excluded",
  1922. "silos": [
  1923. "Region"
  1924. ],
  1925. "table_name": "sentry_flatfileindexstate",
  1926. "uniques": [
  1927. [
  1928. "artifact_bundle",
  1929. "flat_file_index"
  1930. ]
  1931. ]
  1932. },
  1933. "sentry.group": {
  1934. "dangling": false,
  1935. "foreign_keys": {
  1936. "first_release": {
  1937. "kind": "FlexibleForeignKey",
  1938. "model": "sentry.release",
  1939. "nullable": true
  1940. },
  1941. "project": {
  1942. "kind": "FlexibleForeignKey",
  1943. "model": "sentry.project",
  1944. "nullable": false
  1945. }
  1946. },
  1947. "model": "sentry.group",
  1948. "relocation_dependencies": [],
  1949. "relocation_scope": "Excluded",
  1950. "silos": [
  1951. "Region"
  1952. ],
  1953. "table_name": "sentry_groupedmessage",
  1954. "uniques": [
  1955. [
  1956. "id",
  1957. "project"
  1958. ],
  1959. [
  1960. "project",
  1961. "short_id"
  1962. ]
  1963. ]
  1964. },
  1965. "sentry.groupassignee": {
  1966. "dangling": false,
  1967. "foreign_keys": {
  1968. "group": {
  1969. "kind": "FlexibleForeignKey",
  1970. "model": "sentry.group",
  1971. "nullable": false
  1972. },
  1973. "project": {
  1974. "kind": "FlexibleForeignKey",
  1975. "model": "sentry.project",
  1976. "nullable": false
  1977. },
  1978. "team": {
  1979. "kind": "FlexibleForeignKey",
  1980. "model": "sentry.team",
  1981. "nullable": true
  1982. },
  1983. "user_id": {
  1984. "kind": "HybridCloudForeignKey",
  1985. "model": "sentry.user",
  1986. "nullable": true
  1987. }
  1988. },
  1989. "model": "sentry.groupassignee",
  1990. "relocation_dependencies": [],
  1991. "relocation_scope": "Excluded",
  1992. "silos": [
  1993. "Region"
  1994. ],
  1995. "table_name": "sentry_groupasignee",
  1996. "uniques": [
  1997. [
  1998. "group"
  1999. ],
  2000. [
  2001. "group",
  2002. "project"
  2003. ]
  2004. ]
  2005. },
  2006. "sentry.groupbookmark": {
  2007. "dangling": false,
  2008. "foreign_keys": {
  2009. "group": {
  2010. "kind": "FlexibleForeignKey",
  2011. "model": "sentry.group",
  2012. "nullable": false
  2013. },
  2014. "project": {
  2015. "kind": "FlexibleForeignKey",
  2016. "model": "sentry.project",
  2017. "nullable": false
  2018. },
  2019. "user_id": {
  2020. "kind": "HybridCloudForeignKey",
  2021. "model": "sentry.user",
  2022. "nullable": false
  2023. }
  2024. },
  2025. "model": "sentry.groupbookmark",
  2026. "relocation_dependencies": [],
  2027. "relocation_scope": "Excluded",
  2028. "silos": [
  2029. "Region"
  2030. ],
  2031. "table_name": "sentry_groupbookmark",
  2032. "uniques": [
  2033. [
  2034. "group",
  2035. "project",
  2036. "user_id"
  2037. ]
  2038. ]
  2039. },
  2040. "sentry.groupcommitresolution": {
  2041. "dangling": false,
  2042. "foreign_keys": {
  2043. "commit_id": {
  2044. "kind": "ImplicitForeignKey",
  2045. "model": "sentry.commit",
  2046. "nullable": false
  2047. },
  2048. "group_id": {
  2049. "kind": "ImplicitForeignKey",
  2050. "model": "sentry.group",
  2051. "nullable": false
  2052. }
  2053. },
  2054. "model": "sentry.groupcommitresolution",
  2055. "relocation_dependencies": [],
  2056. "relocation_scope": "Excluded",
  2057. "silos": [
  2058. "Region"
  2059. ],
  2060. "table_name": "sentry_groupcommitresolution",
  2061. "uniques": [
  2062. [
  2063. "commit_id",
  2064. "group_id"
  2065. ]
  2066. ]
  2067. },
  2068. "sentry.groupemailthread": {
  2069. "dangling": false,
  2070. "foreign_keys": {
  2071. "group": {
  2072. "kind": "FlexibleForeignKey",
  2073. "model": "sentry.group",
  2074. "nullable": false
  2075. },
  2076. "project": {
  2077. "kind": "FlexibleForeignKey",
  2078. "model": "sentry.project",
  2079. "nullable": false
  2080. }
  2081. },
  2082. "model": "sentry.groupemailthread",
  2083. "relocation_dependencies": [],
  2084. "relocation_scope": "Excluded",
  2085. "silos": [
  2086. "Region"
  2087. ],
  2088. "table_name": "sentry_groupemailthread",
  2089. "uniques": [
  2090. [
  2091. "email",
  2092. "group"
  2093. ],
  2094. [
  2095. "email",
  2096. "msgid"
  2097. ]
  2098. ]
  2099. },
  2100. "sentry.groupenvironment": {
  2101. "dangling": false,
  2102. "foreign_keys": {
  2103. "environment": {
  2104. "kind": "FlexibleForeignKey",
  2105. "model": "sentry.environment",
  2106. "nullable": false
  2107. },
  2108. "first_release": {
  2109. "kind": "FlexibleForeignKey",
  2110. "model": "sentry.release",
  2111. "nullable": true
  2112. },
  2113. "group": {
  2114. "kind": "FlexibleForeignKey",
  2115. "model": "sentry.group",
  2116. "nullable": false
  2117. }
  2118. },
  2119. "model": "sentry.groupenvironment",
  2120. "relocation_dependencies": [],
  2121. "relocation_scope": "Excluded",
  2122. "silos": [
  2123. "Region"
  2124. ],
  2125. "table_name": "sentry_groupenvironment",
  2126. "uniques": [
  2127. [
  2128. "environment",
  2129. "group"
  2130. ]
  2131. ]
  2132. },
  2133. "sentry.grouphash": {
  2134. "dangling": false,
  2135. "foreign_keys": {
  2136. "group": {
  2137. "kind": "FlexibleForeignKey",
  2138. "model": "sentry.group",
  2139. "nullable": true
  2140. },
  2141. "group_tombstone_id": {
  2142. "kind": "ImplicitForeignKey",
  2143. "model": "sentry.grouptombstone",
  2144. "nullable": true
  2145. },
  2146. "project": {
  2147. "kind": "FlexibleForeignKey",
  2148. "model": "sentry.project",
  2149. "nullable": true
  2150. }
  2151. },
  2152. "model": "sentry.grouphash",
  2153. "relocation_dependencies": [],
  2154. "relocation_scope": "Excluded",
  2155. "silos": [
  2156. "Region"
  2157. ],
  2158. "table_name": "sentry_grouphash",
  2159. "uniques": [
  2160. [
  2161. "hash",
  2162. "project"
  2163. ]
  2164. ]
  2165. },
  2166. "sentry.grouphistory": {
  2167. "dangling": false,
  2168. "foreign_keys": {
  2169. "actor": {
  2170. "kind": "FlexibleForeignKey",
  2171. "model": "sentry.actor",
  2172. "nullable": true
  2173. },
  2174. "group": {
  2175. "kind": "FlexibleForeignKey",
  2176. "model": "sentry.group",
  2177. "nullable": false
  2178. },
  2179. "organization": {
  2180. "kind": "FlexibleForeignKey",
  2181. "model": "sentry.organization",
  2182. "nullable": false
  2183. },
  2184. "project": {
  2185. "kind": "FlexibleForeignKey",
  2186. "model": "sentry.project",
  2187. "nullable": false
  2188. },
  2189. "release": {
  2190. "kind": "FlexibleForeignKey",
  2191. "model": "sentry.release",
  2192. "nullable": true
  2193. }
  2194. },
  2195. "model": "sentry.grouphistory",
  2196. "relocation_dependencies": [],
  2197. "relocation_scope": "Excluded",
  2198. "silos": [
  2199. "Region"
  2200. ],
  2201. "table_name": "sentry_grouphistory",
  2202. "uniques": []
  2203. },
  2204. "sentry.groupinbox": {
  2205. "dangling": false,
  2206. "foreign_keys": {
  2207. "group": {
  2208. "kind": "FlexibleForeignKey",
  2209. "model": "sentry.group",
  2210. "nullable": false
  2211. },
  2212. "organization": {
  2213. "kind": "FlexibleForeignKey",
  2214. "model": "sentry.organization",
  2215. "nullable": true
  2216. },
  2217. "project": {
  2218. "kind": "FlexibleForeignKey",
  2219. "model": "sentry.project",
  2220. "nullable": true
  2221. }
  2222. },
  2223. "model": "sentry.groupinbox",
  2224. "relocation_dependencies": [],
  2225. "relocation_scope": "Excluded",
  2226. "silos": [
  2227. "Region"
  2228. ],
  2229. "table_name": "sentry_groupinbox",
  2230. "uniques": [
  2231. [
  2232. "group"
  2233. ]
  2234. ]
  2235. },
  2236. "sentry.grouplink": {
  2237. "dangling": false,
  2238. "foreign_keys": {
  2239. "group": {
  2240. "kind": "FlexibleForeignKey",
  2241. "model": "sentry.group",
  2242. "nullable": false
  2243. },
  2244. "project": {
  2245. "kind": "FlexibleForeignKey",
  2246. "model": "sentry.project",
  2247. "nullable": false
  2248. }
  2249. },
  2250. "model": "sentry.grouplink",
  2251. "relocation_dependencies": [],
  2252. "relocation_scope": "Excluded",
  2253. "silos": [
  2254. "Region"
  2255. ],
  2256. "table_name": "sentry_grouplink",
  2257. "uniques": [
  2258. [
  2259. "group",
  2260. "linked_id",
  2261. "linked_type"
  2262. ]
  2263. ]
  2264. },
  2265. "sentry.groupmeta": {
  2266. "dangling": false,
  2267. "foreign_keys": {
  2268. "group": {
  2269. "kind": "FlexibleForeignKey",
  2270. "model": "sentry.group",
  2271. "nullable": false
  2272. }
  2273. },
  2274. "model": "sentry.groupmeta",
  2275. "relocation_dependencies": [],
  2276. "relocation_scope": "Excluded",
  2277. "silos": [
  2278. "Region"
  2279. ],
  2280. "table_name": "sentry_groupmeta",
  2281. "uniques": [
  2282. [
  2283. "group",
  2284. "key"
  2285. ]
  2286. ]
  2287. },
  2288. "sentry.groupowner": {
  2289. "dangling": false,
  2290. "foreign_keys": {
  2291. "group": {
  2292. "kind": "FlexibleForeignKey",
  2293. "model": "sentry.group",
  2294. "nullable": false
  2295. },
  2296. "organization": {
  2297. "kind": "FlexibleForeignKey",
  2298. "model": "sentry.organization",
  2299. "nullable": false
  2300. },
  2301. "project": {
  2302. "kind": "FlexibleForeignKey",
  2303. "model": "sentry.project",
  2304. "nullable": false
  2305. },
  2306. "team": {
  2307. "kind": "FlexibleForeignKey",
  2308. "model": "sentry.team",
  2309. "nullable": true
  2310. },
  2311. "user_id": {
  2312. "kind": "HybridCloudForeignKey",
  2313. "model": "sentry.user",
  2314. "nullable": true
  2315. }
  2316. },
  2317. "model": "sentry.groupowner",
  2318. "relocation_dependencies": [],
  2319. "relocation_scope": "Excluded",
  2320. "silos": [
  2321. "Region"
  2322. ],
  2323. "table_name": "sentry_groupowner",
  2324. "uniques": []
  2325. },
  2326. "sentry.groupredirect": {
  2327. "dangling": false,
  2328. "foreign_keys": {
  2329. "group_id": {
  2330. "kind": "ImplicitForeignKey",
  2331. "model": "sentry.group",
  2332. "nullable": false
  2333. },
  2334. "organization_id": {
  2335. "kind": "ImplicitForeignKey",
  2336. "model": "sentry.organization",
  2337. "nullable": true
  2338. }
  2339. },
  2340. "model": "sentry.groupredirect",
  2341. "relocation_dependencies": [],
  2342. "relocation_scope": "Excluded",
  2343. "silos": [
  2344. "Region"
  2345. ],
  2346. "table_name": "sentry_groupredirect",
  2347. "uniques": [
  2348. [
  2349. "organization_id",
  2350. "previous_project_slug",
  2351. "previous_short_id"
  2352. ],
  2353. [
  2354. "previous_group_id"
  2355. ]
  2356. ]
  2357. },
  2358. "sentry.grouprelease": {
  2359. "dangling": false,
  2360. "foreign_keys": {
  2361. "group_id": {
  2362. "kind": "ImplicitForeignKey",
  2363. "model": "sentry.group",
  2364. "nullable": false
  2365. },
  2366. "project_id": {
  2367. "kind": "ImplicitForeignKey",
  2368. "model": "sentry.project",
  2369. "nullable": false
  2370. },
  2371. "release_id": {
  2372. "kind": "ImplicitForeignKey",
  2373. "model": "sentry.release",
  2374. "nullable": false
  2375. }
  2376. },
  2377. "model": "sentry.grouprelease",
  2378. "relocation_dependencies": [],
  2379. "relocation_scope": "Excluded",
  2380. "silos": [
  2381. "Region"
  2382. ],
  2383. "table_name": "sentry_grouprelease",
  2384. "uniques": [
  2385. [
  2386. "environment",
  2387. "group_id",
  2388. "release_id"
  2389. ]
  2390. ]
  2391. },
  2392. "sentry.groupresolution": {
  2393. "dangling": false,
  2394. "foreign_keys": {
  2395. "group": {
  2396. "kind": "FlexibleForeignKey",
  2397. "model": "sentry.group",
  2398. "nullable": false
  2399. },
  2400. "release": {
  2401. "kind": "FlexibleForeignKey",
  2402. "model": "sentry.release",
  2403. "nullable": false
  2404. }
  2405. },
  2406. "model": "sentry.groupresolution",
  2407. "relocation_dependencies": [],
  2408. "relocation_scope": "Excluded",
  2409. "silos": [
  2410. "Region"
  2411. ],
  2412. "table_name": "sentry_groupresolution",
  2413. "uniques": [
  2414. [
  2415. "group"
  2416. ]
  2417. ]
  2418. },
  2419. "sentry.grouprulestatus": {
  2420. "dangling": false,
  2421. "foreign_keys": {
  2422. "group": {
  2423. "kind": "FlexibleForeignKey",
  2424. "model": "sentry.group",
  2425. "nullable": false
  2426. },
  2427. "project": {
  2428. "kind": "FlexibleForeignKey",
  2429. "model": "sentry.project",
  2430. "nullable": false
  2431. },
  2432. "rule": {
  2433. "kind": "FlexibleForeignKey",
  2434. "model": "sentry.rule",
  2435. "nullable": false
  2436. }
  2437. },
  2438. "model": "sentry.grouprulestatus",
  2439. "relocation_dependencies": [],
  2440. "relocation_scope": "Excluded",
  2441. "silos": [
  2442. "Region"
  2443. ],
  2444. "table_name": "sentry_grouprulestatus",
  2445. "uniques": [
  2446. [
  2447. "group",
  2448. "rule"
  2449. ]
  2450. ]
  2451. },
  2452. "sentry.groupseen": {
  2453. "dangling": false,
  2454. "foreign_keys": {
  2455. "group": {
  2456. "kind": "FlexibleForeignKey",
  2457. "model": "sentry.group",
  2458. "nullable": false
  2459. },
  2460. "project": {
  2461. "kind": "FlexibleForeignKey",
  2462. "model": "sentry.project",
  2463. "nullable": false
  2464. },
  2465. "user_id": {
  2466. "kind": "HybridCloudForeignKey",
  2467. "model": "sentry.user",
  2468. "nullable": false
  2469. }
  2470. },
  2471. "model": "sentry.groupseen",
  2472. "relocation_dependencies": [],
  2473. "relocation_scope": "Excluded",
  2474. "silos": [
  2475. "Region"
  2476. ],
  2477. "table_name": "sentry_groupseen",
  2478. "uniques": [
  2479. [
  2480. "group",
  2481. "user_id"
  2482. ]
  2483. ]
  2484. },
  2485. "sentry.groupshare": {
  2486. "dangling": false,
  2487. "foreign_keys": {
  2488. "group": {
  2489. "kind": "FlexibleForeignKey",
  2490. "model": "sentry.group",
  2491. "nullable": false
  2492. },
  2493. "project": {
  2494. "kind": "FlexibleForeignKey",
  2495. "model": "sentry.project",
  2496. "nullable": false
  2497. },
  2498. "user_id": {
  2499. "kind": "HybridCloudForeignKey",
  2500. "model": "sentry.user",
  2501. "nullable": true
  2502. }
  2503. },
  2504. "model": "sentry.groupshare",
  2505. "relocation_dependencies": [],
  2506. "relocation_scope": "Excluded",
  2507. "silos": [
  2508. "Region"
  2509. ],
  2510. "table_name": "sentry_groupshare",
  2511. "uniques": [
  2512. [
  2513. "group"
  2514. ],
  2515. [
  2516. "uuid"
  2517. ]
  2518. ]
  2519. },
  2520. "sentry.groupsnooze": {
  2521. "dangling": false,
  2522. "foreign_keys": {
  2523. "group": {
  2524. "kind": "FlexibleForeignKey",
  2525. "model": "sentry.group",
  2526. "nullable": false
  2527. }
  2528. },
  2529. "model": "sentry.groupsnooze",
  2530. "relocation_dependencies": [],
  2531. "relocation_scope": "Excluded",
  2532. "silos": [
  2533. "Region"
  2534. ],
  2535. "table_name": "sentry_groupsnooze",
  2536. "uniques": [
  2537. [
  2538. "group"
  2539. ]
  2540. ]
  2541. },
  2542. "sentry.groupsubscription": {
  2543. "dangling": false,
  2544. "foreign_keys": {
  2545. "group": {
  2546. "kind": "FlexibleForeignKey",
  2547. "model": "sentry.group",
  2548. "nullable": false
  2549. },
  2550. "project": {
  2551. "kind": "FlexibleForeignKey",
  2552. "model": "sentry.project",
  2553. "nullable": false
  2554. },
  2555. "team": {
  2556. "kind": "FlexibleForeignKey",
  2557. "model": "sentry.team",
  2558. "nullable": true
  2559. },
  2560. "user_id": {
  2561. "kind": "HybridCloudForeignKey",
  2562. "model": "sentry.user",
  2563. "nullable": true
  2564. }
  2565. },
  2566. "model": "sentry.groupsubscription",
  2567. "relocation_dependencies": [],
  2568. "relocation_scope": "Excluded",
  2569. "silos": [
  2570. "Region"
  2571. ],
  2572. "table_name": "sentry_groupsubscription",
  2573. "uniques": [
  2574. [
  2575. "group",
  2576. "team"
  2577. ],
  2578. [
  2579. "group",
  2580. "user_id"
  2581. ]
  2582. ]
  2583. },
  2584. "sentry.grouptombstone": {
  2585. "dangling": false,
  2586. "foreign_keys": {
  2587. "project": {
  2588. "kind": "FlexibleForeignKey",
  2589. "model": "sentry.project",
  2590. "nullable": false
  2591. }
  2592. },
  2593. "model": "sentry.grouptombstone",
  2594. "relocation_dependencies": [],
  2595. "relocation_scope": "Excluded",
  2596. "silos": [
  2597. "Region"
  2598. ],
  2599. "table_name": "sentry_grouptombstone",
  2600. "uniques": [
  2601. [
  2602. "previous_group_id"
  2603. ]
  2604. ]
  2605. },
  2606. "sentry.identity": {
  2607. "dangling": false,
  2608. "foreign_keys": {
  2609. "idp": {
  2610. "kind": "FlexibleForeignKey",
  2611. "model": "sentry.identityprovider",
  2612. "nullable": false
  2613. },
  2614. "user": {
  2615. "kind": "FlexibleForeignKey",
  2616. "model": "sentry.user",
  2617. "nullable": false
  2618. }
  2619. },
  2620. "model": "sentry.identity",
  2621. "relocation_dependencies": [],
  2622. "relocation_scope": "Excluded",
  2623. "silos": [
  2624. "Control"
  2625. ],
  2626. "table_name": "sentry_identity",
  2627. "uniques": [
  2628. [
  2629. "external_id",
  2630. "idp"
  2631. ],
  2632. [
  2633. "idp",
  2634. "user"
  2635. ]
  2636. ]
  2637. },
  2638. "sentry.identityprovider": {
  2639. "dangling": false,
  2640. "foreign_keys": {},
  2641. "model": "sentry.identityprovider",
  2642. "relocation_dependencies": [],
  2643. "relocation_scope": "Excluded",
  2644. "silos": [
  2645. "Control"
  2646. ],
  2647. "table_name": "sentry_identityprovider",
  2648. "uniques": [
  2649. [
  2650. "external_id",
  2651. "type"
  2652. ]
  2653. ]
  2654. },
  2655. "sentry.incident": {
  2656. "dangling": false,
  2657. "foreign_keys": {
  2658. "alert_rule": {
  2659. "kind": "FlexibleForeignKey",
  2660. "model": "sentry.alertrule",
  2661. "nullable": false
  2662. },
  2663. "organization": {
  2664. "kind": "FlexibleForeignKey",
  2665. "model": "sentry.organization",
  2666. "nullable": false
  2667. }
  2668. },
  2669. "model": "sentry.incident",
  2670. "relocation_dependencies": [],
  2671. "relocation_scope": "Organization",
  2672. "silos": [
  2673. "Region"
  2674. ],
  2675. "table_name": "sentry_incident",
  2676. "uniques": [
  2677. [
  2678. "identifier",
  2679. "organization"
  2680. ]
  2681. ]
  2682. },
  2683. "sentry.incidentactivity": {
  2684. "dangling": false,
  2685. "foreign_keys": {
  2686. "incident": {
  2687. "kind": "FlexibleForeignKey",
  2688. "model": "sentry.incident",
  2689. "nullable": false
  2690. },
  2691. "user_id": {
  2692. "kind": "HybridCloudForeignKey",
  2693. "model": "sentry.user",
  2694. "nullable": true
  2695. }
  2696. },
  2697. "model": "sentry.incidentactivity",
  2698. "relocation_dependencies": [],
  2699. "relocation_scope": "Organization",
  2700. "silos": [
  2701. "Region"
  2702. ],
  2703. "table_name": "sentry_incidentactivity",
  2704. "uniques": []
  2705. },
  2706. "sentry.incidentproject": {
  2707. "dangling": false,
  2708. "foreign_keys": {
  2709. "incident": {
  2710. "kind": "FlexibleForeignKey",
  2711. "model": "sentry.incident",
  2712. "nullable": false
  2713. },
  2714. "project": {
  2715. "kind": "FlexibleForeignKey",
  2716. "model": "sentry.project",
  2717. "nullable": false
  2718. }
  2719. },
  2720. "model": "sentry.incidentproject",
  2721. "relocation_dependencies": [],
  2722. "relocation_scope": "Excluded",
  2723. "silos": [
  2724. "Region"
  2725. ],
  2726. "table_name": "sentry_incidentproject",
  2727. "uniques": [
  2728. [
  2729. "incident",
  2730. "project"
  2731. ]
  2732. ]
  2733. },
  2734. "sentry.incidentseen": {
  2735. "dangling": false,
  2736. "foreign_keys": {
  2737. "incident": {
  2738. "kind": "FlexibleForeignKey",
  2739. "model": "sentry.incident",
  2740. "nullable": false
  2741. },
  2742. "user_id": {
  2743. "kind": "HybridCloudForeignKey",
  2744. "model": "sentry.user",
  2745. "nullable": false
  2746. }
  2747. },
  2748. "model": "sentry.incidentseen",
  2749. "relocation_dependencies": [],
  2750. "relocation_scope": "Excluded",
  2751. "silos": [
  2752. "Region"
  2753. ],
  2754. "table_name": "sentry_incidentseen",
  2755. "uniques": [
  2756. [
  2757. "incident",
  2758. "user_id"
  2759. ]
  2760. ]
  2761. },
  2762. "sentry.incidentsnapshot": {
  2763. "dangling": false,
  2764. "foreign_keys": {
  2765. "event_stats_snapshot": {
  2766. "kind": "FlexibleForeignKey",
  2767. "model": "sentry.timeseriessnapshot",
  2768. "nullable": false
  2769. },
  2770. "incident": {
  2771. "kind": "OneToOneCascadeDeletes",
  2772. "model": "sentry.incident",
  2773. "nullable": false
  2774. }
  2775. },
  2776. "model": "sentry.incidentsnapshot",
  2777. "relocation_dependencies": [],
  2778. "relocation_scope": "Organization",
  2779. "silos": [
  2780. "Region"
  2781. ],
  2782. "table_name": "sentry_incidentsnapshot",
  2783. "uniques": [
  2784. [
  2785. "incident"
  2786. ]
  2787. ]
  2788. },
  2789. "sentry.incidentsubscription": {
  2790. "dangling": false,
  2791. "foreign_keys": {
  2792. "incident": {
  2793. "kind": "FlexibleForeignKey",
  2794. "model": "sentry.incident",
  2795. "nullable": false
  2796. },
  2797. "user_id": {
  2798. "kind": "HybridCloudForeignKey",
  2799. "model": "sentry.user",
  2800. "nullable": false
  2801. }
  2802. },
  2803. "model": "sentry.incidentsubscription",
  2804. "relocation_dependencies": [],
  2805. "relocation_scope": "Organization",
  2806. "silos": [
  2807. "Region"
  2808. ],
  2809. "table_name": "sentry_incidentsubscription",
  2810. "uniques": [
  2811. [
  2812. "incident",
  2813. "user_id"
  2814. ]
  2815. ]
  2816. },
  2817. "sentry.incidenttrigger": {
  2818. "dangling": false,
  2819. "foreign_keys": {
  2820. "alert_rule_trigger": {
  2821. "kind": "FlexibleForeignKey",
  2822. "model": "sentry.alertruletrigger",
  2823. "nullable": false
  2824. },
  2825. "incident": {
  2826. "kind": "FlexibleForeignKey",
  2827. "model": "sentry.incident",
  2828. "nullable": false
  2829. }
  2830. },
  2831. "model": "sentry.incidenttrigger",
  2832. "relocation_dependencies": [],
  2833. "relocation_scope": "Organization",
  2834. "silos": [
  2835. "Region"
  2836. ],
  2837. "table_name": "sentry_incidenttrigger",
  2838. "uniques": [
  2839. [
  2840. "alert_rule_trigger",
  2841. "incident"
  2842. ]
  2843. ]
  2844. },
  2845. "sentry.integration": {
  2846. "dangling": false,
  2847. "foreign_keys": {},
  2848. "model": "sentry.integration",
  2849. "relocation_dependencies": [],
  2850. "relocation_scope": "Global",
  2851. "silos": [
  2852. "Control"
  2853. ],
  2854. "table_name": "sentry_integration",
  2855. "uniques": [
  2856. [
  2857. "external_id",
  2858. "provider"
  2859. ]
  2860. ]
  2861. },
  2862. "sentry.integrationexternalproject": {
  2863. "dangling": false,
  2864. "foreign_keys": {
  2865. "organization_integration_id": {
  2866. "kind": "ImplicitForeignKey",
  2867. "model": "sentry.organizationintegration",
  2868. "nullable": false
  2869. }
  2870. },
  2871. "model": "sentry.integrationexternalproject",
  2872. "relocation_dependencies": [],
  2873. "relocation_scope": "Excluded",
  2874. "silos": [
  2875. "Control"
  2876. ],
  2877. "table_name": "sentry_integrationexternalproject",
  2878. "uniques": [
  2879. [
  2880. "external_id",
  2881. "organization_integration_id"
  2882. ]
  2883. ]
  2884. },
  2885. "sentry.integrationfeature": {
  2886. "dangling": false,
  2887. "foreign_keys": {},
  2888. "model": "sentry.integrationfeature",
  2889. "relocation_dependencies": [],
  2890. "relocation_scope": "Excluded",
  2891. "silos": [
  2892. "Control"
  2893. ],
  2894. "table_name": "sentry_integrationfeature",
  2895. "uniques": [
  2896. [
  2897. "feature",
  2898. "target_id",
  2899. "target_type"
  2900. ]
  2901. ]
  2902. },
  2903. "sentry.latestappconnectbuildscheck": {
  2904. "dangling": false,
  2905. "foreign_keys": {
  2906. "project": {
  2907. "kind": "FlexibleForeignKey",
  2908. "model": "sentry.project",
  2909. "nullable": false
  2910. }
  2911. },
  2912. "model": "sentry.latestappconnectbuildscheck",
  2913. "relocation_dependencies": [],
  2914. "relocation_scope": "Excluded",
  2915. "silos": [
  2916. "Region"
  2917. ],
  2918. "table_name": "sentry_latestappconnectbuildscheck",
  2919. "uniques": [
  2920. [
  2921. "project",
  2922. "source_id"
  2923. ]
  2924. ]
  2925. },
  2926. "sentry.latestreporeleaseenvironment": {
  2927. "dangling": false,
  2928. "foreign_keys": {
  2929. "commit_id": {
  2930. "kind": "ImplicitForeignKey",
  2931. "model": "sentry.commit",
  2932. "nullable": true
  2933. },
  2934. "deploy_id": {
  2935. "kind": "ImplicitForeignKey",
  2936. "model": "sentry.deploy",
  2937. "nullable": true
  2938. },
  2939. "environment_id": {
  2940. "kind": "ImplicitForeignKey",
  2941. "model": "sentry.environment",
  2942. "nullable": false
  2943. },
  2944. "release_id": {
  2945. "kind": "ImplicitForeignKey",
  2946. "model": "sentry.release",
  2947. "nullable": false
  2948. },
  2949. "repository_id": {
  2950. "kind": "ImplicitForeignKey",
  2951. "model": "sentry.repository",
  2952. "nullable": false
  2953. }
  2954. },
  2955. "model": "sentry.latestreporeleaseenvironment",
  2956. "relocation_dependencies": [],
  2957. "relocation_scope": "Excluded",
  2958. "silos": [
  2959. "Region"
  2960. ],
  2961. "table_name": "sentry_latestrelease",
  2962. "uniques": [
  2963. [
  2964. "environment_id",
  2965. "repository_id"
  2966. ]
  2967. ]
  2968. },
  2969. "sentry.lostpasswordhash": {
  2970. "dangling": false,
  2971. "foreign_keys": {
  2972. "user": {
  2973. "kind": "FlexibleForeignKey",
  2974. "model": "sentry.user",
  2975. "nullable": false
  2976. }
  2977. },
  2978. "model": "sentry.lostpasswordhash",
  2979. "relocation_dependencies": [],
  2980. "relocation_scope": "Excluded",
  2981. "silos": [
  2982. "Control"
  2983. ],
  2984. "table_name": "sentry_lostpasswordhash",
  2985. "uniques": [
  2986. [
  2987. "user"
  2988. ]
  2989. ]
  2990. },
  2991. "sentry.metricskeyindexer": {
  2992. "dangling": false,
  2993. "foreign_keys": {},
  2994. "model": "sentry.metricskeyindexer",
  2995. "relocation_dependencies": [],
  2996. "relocation_scope": "Excluded",
  2997. "silos": [
  2998. "Region"
  2999. ],
  3000. "table_name": "sentry_metricskeyindexer",
  3001. "uniques": []
  3002. },
  3003. "sentry.monitor": {
  3004. "dangling": false,
  3005. "foreign_keys": {
  3006. "organization_id": {
  3007. "kind": "ImplicitForeignKey",
  3008. "model": "sentry.organization",
  3009. "nullable": false
  3010. },
  3011. "project_id": {
  3012. "kind": "ImplicitForeignKey",
  3013. "model": "sentry.project",
  3014. "nullable": false
  3015. }
  3016. },
  3017. "model": "sentry.monitor",
  3018. "relocation_dependencies": [],
  3019. "relocation_scope": "Organization",
  3020. "silos": [
  3021. "Region"
  3022. ],
  3023. "table_name": "sentry_monitor",
  3024. "uniques": [
  3025. [
  3026. "guid"
  3027. ],
  3028. [
  3029. "organization_id",
  3030. "slug"
  3031. ]
  3032. ]
  3033. },
  3034. "sentry.monitorcheckin": {
  3035. "dangling": false,
  3036. "foreign_keys": {
  3037. "location": {
  3038. "kind": "FlexibleForeignKey",
  3039. "model": "sentry.monitorlocation",
  3040. "nullable": true
  3041. },
  3042. "monitor": {
  3043. "kind": "FlexibleForeignKey",
  3044. "model": "sentry.monitor",
  3045. "nullable": false
  3046. },
  3047. "monitor_environment": {
  3048. "kind": "FlexibleForeignKey",
  3049. "model": "sentry.monitorenvironment",
  3050. "nullable": true
  3051. },
  3052. "project_id": {
  3053. "kind": "ImplicitForeignKey",
  3054. "model": "sentry.project",
  3055. "nullable": false
  3056. }
  3057. },
  3058. "model": "sentry.monitorcheckin",
  3059. "relocation_dependencies": [],
  3060. "relocation_scope": "Excluded",
  3061. "silos": [
  3062. "Region"
  3063. ],
  3064. "table_name": "sentry_monitorcheckin",
  3065. "uniques": [
  3066. [
  3067. "guid"
  3068. ]
  3069. ]
  3070. },
  3071. "sentry.monitorenvironment": {
  3072. "dangling": false,
  3073. "foreign_keys": {
  3074. "environment": {
  3075. "kind": "FlexibleForeignKey",
  3076. "model": "sentry.environment",
  3077. "nullable": false
  3078. },
  3079. "monitor": {
  3080. "kind": "FlexibleForeignKey",
  3081. "model": "sentry.monitor",
  3082. "nullable": false
  3083. }
  3084. },
  3085. "model": "sentry.monitorenvironment",
  3086. "relocation_dependencies": [],
  3087. "relocation_scope": "Excluded",
  3088. "silos": [
  3089. "Region"
  3090. ],
  3091. "table_name": "sentry_monitorenvironment",
  3092. "uniques": [
  3093. [
  3094. "environment",
  3095. "monitor"
  3096. ]
  3097. ]
  3098. },
  3099. "sentry.monitorincident": {
  3100. "dangling": false,
  3101. "foreign_keys": {
  3102. "monitor": {
  3103. "kind": "FlexibleForeignKey",
  3104. "model": "sentry.monitor",
  3105. "nullable": false
  3106. },
  3107. "monitor_environment": {
  3108. "kind": "FlexibleForeignKey",
  3109. "model": "sentry.monitorenvironment",
  3110. "nullable": false
  3111. },
  3112. "resolving_checkin": {
  3113. "kind": "FlexibleForeignKey",
  3114. "model": "sentry.monitorcheckin",
  3115. "nullable": true
  3116. },
  3117. "starting_checkin": {
  3118. "kind": "FlexibleForeignKey",
  3119. "model": "sentry.monitorcheckin",
  3120. "nullable": true
  3121. }
  3122. },
  3123. "model": "sentry.monitorincident",
  3124. "relocation_dependencies": [],
  3125. "relocation_scope": "Excluded",
  3126. "silos": [
  3127. "Region"
  3128. ],
  3129. "table_name": "sentry_monitorincident",
  3130. "uniques": []
  3131. },
  3132. "sentry.monitorlocation": {
  3133. "dangling": false,
  3134. "foreign_keys": {},
  3135. "model": "sentry.monitorlocation",
  3136. "relocation_dependencies": [],
  3137. "relocation_scope": "Excluded",
  3138. "silos": [
  3139. "Region"
  3140. ],
  3141. "table_name": "sentry_monitorlocation",
  3142. "uniques": [
  3143. [
  3144. "guid"
  3145. ]
  3146. ]
  3147. },
  3148. "sentry.neglectedrule": {
  3149. "dangling": false,
  3150. "foreign_keys": {
  3151. "organization": {
  3152. "kind": "FlexibleForeignKey",
  3153. "model": "sentry.organization",
  3154. "nullable": false
  3155. },
  3156. "rule": {
  3157. "kind": "FlexibleForeignKey",
  3158. "model": "sentry.rule",
  3159. "nullable": false
  3160. }
  3161. },
  3162. "model": "sentry.neglectedrule",
  3163. "relocation_dependencies": [],
  3164. "relocation_scope": "Organization",
  3165. "silos": [
  3166. "Region"
  3167. ],
  3168. "table_name": "sentry_neglectedrule",
  3169. "uniques": []
  3170. },
  3171. "sentry.notificationaction": {
  3172. "dangling": false,
  3173. "foreign_keys": {
  3174. "integration_id": {
  3175. "kind": "HybridCloudForeignKey",
  3176. "model": "sentry.integration",
  3177. "nullable": true
  3178. },
  3179. "organization": {
  3180. "kind": "FlexibleForeignKey",
  3181. "model": "sentry.organization",
  3182. "nullable": false
  3183. },
  3184. "sentry_app_id": {
  3185. "kind": "HybridCloudForeignKey",
  3186. "model": "sentry.sentryapp",
  3187. "nullable": true
  3188. }
  3189. },
  3190. "model": "sentry.notificationaction",
  3191. "relocation_dependencies": [],
  3192. "relocation_scope": [
  3193. "Organization",
  3194. "Global"
  3195. ],
  3196. "silos": [
  3197. "Region"
  3198. ],
  3199. "table_name": "sentry_notificationaction",
  3200. "uniques": []
  3201. },
  3202. "sentry.notificationactionproject": {
  3203. "dangling": false,
  3204. "foreign_keys": {
  3205. "action": {
  3206. "kind": "FlexibleForeignKey",
  3207. "model": "sentry.notificationaction",
  3208. "nullable": false
  3209. },
  3210. "project": {
  3211. "kind": "FlexibleForeignKey",
  3212. "model": "sentry.project",
  3213. "nullable": false
  3214. }
  3215. },
  3216. "model": "sentry.notificationactionproject",
  3217. "relocation_dependencies": [],
  3218. "relocation_scope": [
  3219. "Organization",
  3220. "Global"
  3221. ],
  3222. "silos": [
  3223. "Region"
  3224. ],
  3225. "table_name": "sentry_notificationactionproject",
  3226. "uniques": []
  3227. },
  3228. "sentry.notificationsetting": {
  3229. "dangling": false,
  3230. "foreign_keys": {
  3231. "target_id": {
  3232. "kind": "HybridCloudForeignKey",
  3233. "model": "sentry.actor",
  3234. "nullable": true
  3235. },
  3236. "team_id": {
  3237. "kind": "HybridCloudForeignKey",
  3238. "model": "sentry.team",
  3239. "nullable": true
  3240. },
  3241. "user": {
  3242. "kind": "FlexibleForeignKey",
  3243. "model": "sentry.user",
  3244. "nullable": true
  3245. }
  3246. },
  3247. "model": "sentry.notificationsetting",
  3248. "relocation_dependencies": [],
  3249. "relocation_scope": "Excluded",
  3250. "silos": [
  3251. "Control"
  3252. ],
  3253. "table_name": "sentry_notificationsetting",
  3254. "uniques": [
  3255. [
  3256. "provider",
  3257. "scope_identifier",
  3258. "scope_type",
  3259. "target_id",
  3260. "type"
  3261. ]
  3262. ]
  3263. },
  3264. "sentry.notificationsettingoption": {
  3265. "dangling": false,
  3266. "foreign_keys": {
  3267. "team_id": {
  3268. "kind": "HybridCloudForeignKey",
  3269. "model": "sentry.team",
  3270. "nullable": true
  3271. },
  3272. "user": {
  3273. "kind": "FlexibleForeignKey",
  3274. "model": "sentry.user",
  3275. "nullable": true
  3276. }
  3277. },
  3278. "model": "sentry.notificationsettingoption",
  3279. "relocation_dependencies": [],
  3280. "relocation_scope": "Excluded",
  3281. "silos": [
  3282. "Control"
  3283. ],
  3284. "table_name": "sentry_notificationsettingoption",
  3285. "uniques": [
  3286. [
  3287. "scope_identifier",
  3288. "scope_type",
  3289. "team_id",
  3290. "type",
  3291. "user_id"
  3292. ]
  3293. ]
  3294. },
  3295. "sentry.notificationsettingprovider": {
  3296. "dangling": false,
  3297. "foreign_keys": {
  3298. "team_id": {
  3299. "kind": "HybridCloudForeignKey",
  3300. "model": "sentry.team",
  3301. "nullable": true
  3302. },
  3303. "user": {
  3304. "kind": "FlexibleForeignKey",
  3305. "model": "sentry.user",
  3306. "nullable": true
  3307. }
  3308. },
  3309. "model": "sentry.notificationsettingprovider",
  3310. "relocation_dependencies": [],
  3311. "relocation_scope": "Excluded",
  3312. "silos": [
  3313. "Control"
  3314. ],
  3315. "table_name": "sentry_notificationsettingprovider",
  3316. "uniques": [
  3317. [
  3318. "provider",
  3319. "scope_identifier",
  3320. "scope_type",
  3321. "team_id",
  3322. "type",
  3323. "user_id"
  3324. ]
  3325. ]
  3326. },
  3327. "sentry.option": {
  3328. "dangling": false,
  3329. "foreign_keys": {},
  3330. "model": "sentry.option",
  3331. "relocation_dependencies": [],
  3332. "relocation_scope": "Config",
  3333. "silos": [
  3334. "Region"
  3335. ],
  3336. "table_name": "sentry_option",
  3337. "uniques": [
  3338. [
  3339. "key"
  3340. ]
  3341. ]
  3342. },
  3343. "sentry.organization": {
  3344. "dangling": false,
  3345. "foreign_keys": {},
  3346. "model": "sentry.organization",
  3347. "relocation_dependencies": [],
  3348. "relocation_scope": "Organization",
  3349. "silos": [
  3350. "Region"
  3351. ],
  3352. "table_name": "sentry_organization",
  3353. "uniques": [
  3354. [
  3355. "slug"
  3356. ]
  3357. ]
  3358. },
  3359. "sentry.organizationaccessrequest": {
  3360. "dangling": false,
  3361. "foreign_keys": {
  3362. "member": {
  3363. "kind": "FlexibleForeignKey",
  3364. "model": "sentry.organizationmember",
  3365. "nullable": false
  3366. },
  3367. "requester_id": {
  3368. "kind": "HybridCloudForeignKey",
  3369. "model": "sentry.user",
  3370. "nullable": true
  3371. },
  3372. "team": {
  3373. "kind": "FlexibleForeignKey",
  3374. "model": "sentry.team",
  3375. "nullable": false
  3376. }
  3377. },
  3378. "model": "sentry.organizationaccessrequest",
  3379. "relocation_dependencies": [],
  3380. "relocation_scope": "Organization",
  3381. "silos": [
  3382. "Region"
  3383. ],
  3384. "table_name": "sentry_organizationaccessrequest",
  3385. "uniques": [
  3386. [
  3387. "member",
  3388. "team"
  3389. ]
  3390. ]
  3391. },
  3392. "sentry.organizationavatar": {
  3393. "dangling": false,
  3394. "foreign_keys": {
  3395. "file_id": {
  3396. "kind": "ImplicitForeignKey",
  3397. "model": "sentry.file",
  3398. "nullable": true
  3399. },
  3400. "organization": {
  3401. "kind": "FlexibleForeignKey",
  3402. "model": "sentry.organization",
  3403. "nullable": false
  3404. }
  3405. },
  3406. "model": "sentry.organizationavatar",
  3407. "relocation_dependencies": [],
  3408. "relocation_scope": "Excluded",
  3409. "silos": [
  3410. "Region"
  3411. ],
  3412. "table_name": "sentry_organizationavatar",
  3413. "uniques": [
  3414. [
  3415. "file_id"
  3416. ],
  3417. [
  3418. "ident"
  3419. ],
  3420. [
  3421. "organization"
  3422. ]
  3423. ]
  3424. },
  3425. "sentry.organizationintegration": {
  3426. "dangling": false,
  3427. "foreign_keys": {
  3428. "integration": {
  3429. "kind": "FlexibleForeignKey",
  3430. "model": "sentry.integration",
  3431. "nullable": false
  3432. },
  3433. "organization_id": {
  3434. "kind": "HybridCloudForeignKey",
  3435. "model": "sentry.organization",
  3436. "nullable": false
  3437. }
  3438. },
  3439. "model": "sentry.organizationintegration",
  3440. "relocation_dependencies": [],
  3441. "relocation_scope": "Global",
  3442. "silos": [
  3443. "Control"
  3444. ],
  3445. "table_name": "sentry_organizationintegration",
  3446. "uniques": [
  3447. [
  3448. "integration",
  3449. "organization_id"
  3450. ]
  3451. ]
  3452. },
  3453. "sentry.organizationmapping": {
  3454. "dangling": false,
  3455. "foreign_keys": {
  3456. "organization_id": {
  3457. "kind": "ImplicitForeignKey",
  3458. "model": "sentry.organization",
  3459. "nullable": false
  3460. }
  3461. },
  3462. "model": "sentry.organizationmapping",
  3463. "relocation_dependencies": [],
  3464. "relocation_scope": "Excluded",
  3465. "silos": [
  3466. "Control"
  3467. ],
  3468. "table_name": "sentry_organizationmapping",
  3469. "uniques": [
  3470. [
  3471. "organization_id"
  3472. ],
  3473. [
  3474. "slug"
  3475. ]
  3476. ]
  3477. },
  3478. "sentry.organizationmember": {
  3479. "dangling": false,
  3480. "foreign_keys": {
  3481. "inviter_id": {
  3482. "kind": "HybridCloudForeignKey",
  3483. "model": "sentry.user",
  3484. "nullable": true
  3485. },
  3486. "organization": {
  3487. "kind": "FlexibleForeignKey",
  3488. "model": "sentry.organization",
  3489. "nullable": false
  3490. },
  3491. "user_id": {
  3492. "kind": "HybridCloudForeignKey",
  3493. "model": "sentry.user",
  3494. "nullable": true
  3495. }
  3496. },
  3497. "model": "sentry.organizationmember",
  3498. "relocation_dependencies": [],
  3499. "relocation_scope": "Organization",
  3500. "silos": [
  3501. "Region"
  3502. ],
  3503. "table_name": "sentry_organizationmember",
  3504. "uniques": [
  3505. [
  3506. "email",
  3507. "organization"
  3508. ],
  3509. [
  3510. "organization",
  3511. "user_id"
  3512. ],
  3513. [
  3514. "token"
  3515. ]
  3516. ]
  3517. },
  3518. "sentry.organizationmembermapping": {
  3519. "dangling": false,
  3520. "foreign_keys": {
  3521. "inviter": {
  3522. "kind": "FlexibleForeignKey",
  3523. "model": "sentry.user",
  3524. "nullable": true
  3525. },
  3526. "organization_id": {
  3527. "kind": "HybridCloudForeignKey",
  3528. "model": "sentry.organization",
  3529. "nullable": false
  3530. },
  3531. "organizationmember_id": {
  3532. "kind": "ImplicitForeignKey",
  3533. "model": "sentry.organizationmember",
  3534. "nullable": true
  3535. },
  3536. "user": {
  3537. "kind": "FlexibleForeignKey",
  3538. "model": "sentry.user",
  3539. "nullable": true
  3540. }
  3541. },
  3542. "model": "sentry.organizationmembermapping",
  3543. "relocation_dependencies": [],
  3544. "relocation_scope": "Excluded",
  3545. "silos": [
  3546. "Control"
  3547. ],
  3548. "table_name": "sentry_organizationmembermapping",
  3549. "uniques": [
  3550. [
  3551. "organization_id",
  3552. "organizationmember_id"
  3553. ]
  3554. ]
  3555. },
  3556. "sentry.organizationmemberteam": {
  3557. "dangling": false,
  3558. "foreign_keys": {
  3559. "organizationmember": {
  3560. "kind": "FlexibleForeignKey",
  3561. "model": "sentry.organizationmember",
  3562. "nullable": false
  3563. },
  3564. "team": {
  3565. "kind": "FlexibleForeignKey",
  3566. "model": "sentry.team",
  3567. "nullable": false
  3568. }
  3569. },
  3570. "model": "sentry.organizationmemberteam",
  3571. "relocation_dependencies": [],
  3572. "relocation_scope": "Organization",
  3573. "silos": [
  3574. "Region"
  3575. ],
  3576. "table_name": "sentry_organizationmember_teams",
  3577. "uniques": [
  3578. [
  3579. "organizationmember",
  3580. "team"
  3581. ]
  3582. ]
  3583. },
  3584. "sentry.organizationmemberteamreplica": {
  3585. "dangling": false,
  3586. "foreign_keys": {
  3587. "organization_id": {
  3588. "kind": "HybridCloudForeignKey",
  3589. "model": "sentry.organization",
  3590. "nullable": false
  3591. },
  3592. "organizationmember_id": {
  3593. "kind": "ImplicitForeignKey",
  3594. "model": "sentry.organizationmember",
  3595. "nullable": false
  3596. },
  3597. "organizationmemberteam_id": {
  3598. "kind": "ImplicitForeignKey",
  3599. "model": "sentry.organizationmemberteam",
  3600. "nullable": false
  3601. },
  3602. "team_id": {
  3603. "kind": "HybridCloudForeignKey",
  3604. "model": "sentry.team",
  3605. "nullable": false
  3606. }
  3607. },
  3608. "model": "sentry.organizationmemberteamreplica",
  3609. "relocation_dependencies": [],
  3610. "relocation_scope": "Excluded",
  3611. "silos": [
  3612. "Control"
  3613. ],
  3614. "table_name": "sentry_organizationmember_teamsreplica",
  3615. "uniques": [
  3616. [
  3617. "organization_id",
  3618. "organizationmember_id",
  3619. "team_id"
  3620. ]
  3621. ]
  3622. },
  3623. "sentry.organizationonboardingtask": {
  3624. "dangling": false,
  3625. "foreign_keys": {
  3626. "organization": {
  3627. "kind": "FlexibleForeignKey",
  3628. "model": "sentry.organization",
  3629. "nullable": false
  3630. },
  3631. "project": {
  3632. "kind": "FlexibleForeignKey",
  3633. "model": "sentry.project",
  3634. "nullable": true
  3635. },
  3636. "user_id": {
  3637. "kind": "HybridCloudForeignKey",
  3638. "model": "sentry.user",
  3639. "nullable": true
  3640. }
  3641. },
  3642. "model": "sentry.organizationonboardingtask",
  3643. "relocation_dependencies": [],
  3644. "relocation_scope": "Excluded",
  3645. "silos": [
  3646. "Region"
  3647. ],
  3648. "table_name": "sentry_organizationonboardingtask",
  3649. "uniques": [
  3650. [
  3651. "organization",
  3652. "task"
  3653. ]
  3654. ]
  3655. },
  3656. "sentry.organizationoption": {
  3657. "dangling": false,
  3658. "foreign_keys": {
  3659. "organization": {
  3660. "kind": "FlexibleForeignKey",
  3661. "model": "sentry.organization",
  3662. "nullable": false
  3663. }
  3664. },
  3665. "model": "sentry.organizationoption",
  3666. "relocation_dependencies": [],
  3667. "relocation_scope": "Organization",
  3668. "silos": [
  3669. "Region"
  3670. ],
  3671. "table_name": "sentry_organizationoptions",
  3672. "uniques": [
  3673. [
  3674. "key",
  3675. "organization"
  3676. ]
  3677. ]
  3678. },
  3679. "sentry.organizationslugreservation": {
  3680. "dangling": false,
  3681. "foreign_keys": {
  3682. "organization_id": {
  3683. "kind": "HybridCloudForeignKey",
  3684. "model": "sentry.organization",
  3685. "nullable": false
  3686. },
  3687. "user_id": {
  3688. "kind": "ImplicitForeignKey",
  3689. "model": "sentry.user",
  3690. "nullable": false
  3691. }
  3692. },
  3693. "model": "sentry.organizationslugreservation",
  3694. "relocation_dependencies": [],
  3695. "relocation_scope": "Excluded",
  3696. "silos": [
  3697. "Control"
  3698. ],
  3699. "table_name": "sentry_organizationslugreservation",
  3700. "uniques": [
  3701. [
  3702. "organization_id",
  3703. "reservation_type"
  3704. ],
  3705. [
  3706. "slug"
  3707. ]
  3708. ]
  3709. },
  3710. "sentry.orgauthtoken": {
  3711. "dangling": false,
  3712. "foreign_keys": {
  3713. "created_by": {
  3714. "kind": "FlexibleForeignKey",
  3715. "model": "sentry.user",
  3716. "nullable": true
  3717. },
  3718. "organization_id": {
  3719. "kind": "HybridCloudForeignKey",
  3720. "model": "sentry.organization",
  3721. "nullable": false
  3722. },
  3723. "project_last_used_id": {
  3724. "kind": "HybridCloudForeignKey",
  3725. "model": "sentry.project",
  3726. "nullable": true
  3727. }
  3728. },
  3729. "model": "sentry.orgauthtoken",
  3730. "relocation_dependencies": [],
  3731. "relocation_scope": "Organization",
  3732. "silos": [
  3733. "Control"
  3734. ],
  3735. "table_name": "sentry_orgauthtoken",
  3736. "uniques": [
  3737. [
  3738. "token_hashed"
  3739. ]
  3740. ]
  3741. },
  3742. "sentry.pendingincidentsnapshot": {
  3743. "dangling": false,
  3744. "foreign_keys": {
  3745. "incident": {
  3746. "kind": "OneToOneCascadeDeletes",
  3747. "model": "sentry.incident",
  3748. "nullable": false
  3749. }
  3750. },
  3751. "model": "sentry.pendingincidentsnapshot",
  3752. "relocation_dependencies": [],
  3753. "relocation_scope": "Organization",
  3754. "silos": [
  3755. "Region"
  3756. ],
  3757. "table_name": "sentry_pendingincidentsnapshot",
  3758. "uniques": [
  3759. [
  3760. "incident"
  3761. ]
  3762. ]
  3763. },
  3764. "sentry.perfstringindexer": {
  3765. "dangling": false,
  3766. "foreign_keys": {
  3767. "organization_id": {
  3768. "kind": "ImplicitForeignKey",
  3769. "model": "sentry.organization",
  3770. "nullable": false
  3771. }
  3772. },
  3773. "model": "sentry.perfstringindexer",
  3774. "relocation_dependencies": [],
  3775. "relocation_scope": "Excluded",
  3776. "silos": [
  3777. "Region"
  3778. ],
  3779. "table_name": "sentry_perfstringindexer",
  3780. "uniques": []
  3781. },
  3782. "sentry.platformexternalissue": {
  3783. "dangling": false,
  3784. "foreign_keys": {
  3785. "group": {
  3786. "kind": "FlexibleForeignKey",
  3787. "model": "sentry.group",
  3788. "nullable": false
  3789. },
  3790. "project": {
  3791. "kind": "FlexibleForeignKey",
  3792. "model": "sentry.project",
  3793. "nullable": true
  3794. }
  3795. },
  3796. "model": "sentry.platformexternalissue",
  3797. "relocation_dependencies": [],
  3798. "relocation_scope": "Excluded",
  3799. "silos": [
  3800. "Region"
  3801. ],
  3802. "table_name": "sentry_platformexternalissue",
  3803. "uniques": [
  3804. [
  3805. "group",
  3806. "service_type"
  3807. ]
  3808. ]
  3809. },
  3810. "sentry.processingissue": {
  3811. "dangling": false,
  3812. "foreign_keys": {
  3813. "project": {
  3814. "kind": "FlexibleForeignKey",
  3815. "model": "sentry.project",
  3816. "nullable": false
  3817. }
  3818. },
  3819. "model": "sentry.processingissue",
  3820. "relocation_dependencies": [],
  3821. "relocation_scope": "Excluded",
  3822. "silos": [
  3823. "Region"
  3824. ],
  3825. "table_name": "sentry_processingissue",
  3826. "uniques": [
  3827. [
  3828. "checksum",
  3829. "project",
  3830. "type"
  3831. ]
  3832. ]
  3833. },
  3834. "sentry.proguardartifactrelease": {
  3835. "dangling": false,
  3836. "foreign_keys": {
  3837. "organization_id": {
  3838. "kind": "ImplicitForeignKey",
  3839. "model": "sentry.organization",
  3840. "nullable": false
  3841. },
  3842. "project_debug_file": {
  3843. "kind": "FlexibleForeignKey",
  3844. "model": "sentry.projectdebugfile",
  3845. "nullable": false
  3846. },
  3847. "project_id": {
  3848. "kind": "ImplicitForeignKey",
  3849. "model": "sentry.project",
  3850. "nullable": false
  3851. }
  3852. },
  3853. "model": "sentry.proguardartifactrelease",
  3854. "relocation_dependencies": [],
  3855. "relocation_scope": "Excluded",
  3856. "silos": [
  3857. "Region"
  3858. ],
  3859. "table_name": "sentry_proguardartifactrelease",
  3860. "uniques": [
  3861. [
  3862. "proguard_uuid",
  3863. "project_id",
  3864. "release_name"
  3865. ]
  3866. ]
  3867. },
  3868. "sentry.project": {
  3869. "dangling": false,
  3870. "foreign_keys": {
  3871. "organization": {
  3872. "kind": "FlexibleForeignKey",
  3873. "model": "sentry.organization",
  3874. "nullable": false
  3875. }
  3876. },
  3877. "model": "sentry.project",
  3878. "relocation_dependencies": [],
  3879. "relocation_scope": "Organization",
  3880. "silos": [
  3881. "Region"
  3882. ],
  3883. "table_name": "sentry_project",
  3884. "uniques": [
  3885. [
  3886. "organization",
  3887. "slug"
  3888. ]
  3889. ]
  3890. },
  3891. "sentry.projectartifactbundle": {
  3892. "dangling": false,
  3893. "foreign_keys": {
  3894. "artifact_bundle": {
  3895. "kind": "FlexibleForeignKey",
  3896. "model": "sentry.artifactbundle",
  3897. "nullable": false
  3898. },
  3899. "organization_id": {
  3900. "kind": "ImplicitForeignKey",
  3901. "model": "sentry.organization",
  3902. "nullable": false
  3903. },
  3904. "project_id": {
  3905. "kind": "ImplicitForeignKey",
  3906. "model": "sentry.project",
  3907. "nullable": false
  3908. }
  3909. },
  3910. "model": "sentry.projectartifactbundle",
  3911. "relocation_dependencies": [],
  3912. "relocation_scope": "Excluded",
  3913. "silos": [
  3914. "Region"
  3915. ],
  3916. "table_name": "sentry_projectartifactbundle",
  3917. "uniques": []
  3918. },
  3919. "sentry.projectavatar": {
  3920. "dangling": false,
  3921. "foreign_keys": {
  3922. "file_id": {
  3923. "kind": "ImplicitForeignKey",
  3924. "model": "sentry.file",
  3925. "nullable": true
  3926. },
  3927. "project": {
  3928. "kind": "FlexibleForeignKey",
  3929. "model": "sentry.project",
  3930. "nullable": false
  3931. }
  3932. },
  3933. "model": "sentry.projectavatar",
  3934. "relocation_dependencies": [],
  3935. "relocation_scope": "Excluded",
  3936. "silos": [
  3937. "Region"
  3938. ],
  3939. "table_name": "sentry_projectavatar",
  3940. "uniques": [
  3941. [
  3942. "file_id"
  3943. ],
  3944. [
  3945. "ident"
  3946. ],
  3947. [
  3948. "project"
  3949. ]
  3950. ]
  3951. },
  3952. "sentry.projectbookmark": {
  3953. "dangling": false,
  3954. "foreign_keys": {
  3955. "project": {
  3956. "kind": "FlexibleForeignKey",
  3957. "model": "sentry.project",
  3958. "nullable": true
  3959. },
  3960. "user_id": {
  3961. "kind": "HybridCloudForeignKey",
  3962. "model": "sentry.user",
  3963. "nullable": false
  3964. }
  3965. },
  3966. "model": "sentry.projectbookmark",
  3967. "relocation_dependencies": [],
  3968. "relocation_scope": "Organization",
  3969. "silos": [
  3970. "Region"
  3971. ],
  3972. "table_name": "sentry_projectbookmark",
  3973. "uniques": [
  3974. [
  3975. "project",
  3976. "user_id"
  3977. ]
  3978. ]
  3979. },
  3980. "sentry.projectcodeowners": {
  3981. "dangling": false,
  3982. "foreign_keys": {
  3983. "project": {
  3984. "kind": "FlexibleForeignKey",
  3985. "model": "sentry.project",
  3986. "nullable": false
  3987. },
  3988. "repository_project_path_config": {
  3989. "kind": "FlexibleForeignKey",
  3990. "model": "sentry.repositoryprojectpathconfig",
  3991. "nullable": false
  3992. }
  3993. },
  3994. "model": "sentry.projectcodeowners",
  3995. "relocation_dependencies": [],
  3996. "relocation_scope": "Excluded",
  3997. "silos": [
  3998. "Region"
  3999. ],
  4000. "table_name": "sentry_projectcodeowners",
  4001. "uniques": [
  4002. [
  4003. "repository_project_path_config"
  4004. ]
  4005. ]
  4006. },
  4007. "sentry.projectdebugfile": {
  4008. "dangling": false,
  4009. "foreign_keys": {
  4010. "file": {
  4011. "kind": "FlexibleForeignKey",
  4012. "model": "sentry.file",
  4013. "nullable": false
  4014. },
  4015. "project_id": {
  4016. "kind": "ImplicitForeignKey",
  4017. "model": "sentry.project",
  4018. "nullable": true
  4019. }
  4020. },
  4021. "model": "sentry.projectdebugfile",
  4022. "relocation_dependencies": [],
  4023. "relocation_scope": "Excluded",
  4024. "silos": [
  4025. "Region"
  4026. ],
  4027. "table_name": "sentry_projectdsymfile",
  4028. "uniques": []
  4029. },
  4030. "sentry.projectintegration": {
  4031. "dangling": false,
  4032. "foreign_keys": {
  4033. "integration_id": {
  4034. "kind": "HybridCloudForeignKey",
  4035. "model": "sentry.integration",
  4036. "nullable": false
  4037. },
  4038. "project": {
  4039. "kind": "FlexibleForeignKey",
  4040. "model": "sentry.project",
  4041. "nullable": false
  4042. }
  4043. },
  4044. "model": "sentry.projectintegration",
  4045. "relocation_dependencies": [],
  4046. "relocation_scope": "Global",
  4047. "silos": [
  4048. "Region"
  4049. ],
  4050. "table_name": "sentry_projectintegration",
  4051. "uniques": [
  4052. [
  4053. "integration_id",
  4054. "project"
  4055. ]
  4056. ]
  4057. },
  4058. "sentry.projectkey": {
  4059. "dangling": false,
  4060. "foreign_keys": {
  4061. "project": {
  4062. "kind": "FlexibleForeignKey",
  4063. "model": "sentry.project",
  4064. "nullable": false
  4065. }
  4066. },
  4067. "model": "sentry.projectkey",
  4068. "relocation_dependencies": [],
  4069. "relocation_scope": "Organization",
  4070. "silos": [
  4071. "Region"
  4072. ],
  4073. "table_name": "sentry_projectkey",
  4074. "uniques": [
  4075. [
  4076. "public_key"
  4077. ],
  4078. [
  4079. "secret_key"
  4080. ]
  4081. ]
  4082. },
  4083. "sentry.projectoption": {
  4084. "dangling": false,
  4085. "foreign_keys": {
  4086. "project": {
  4087. "kind": "FlexibleForeignKey",
  4088. "model": "sentry.project",
  4089. "nullable": false
  4090. }
  4091. },
  4092. "model": "sentry.projectoption",
  4093. "relocation_dependencies": [],
  4094. "relocation_scope": "Organization",
  4095. "silos": [
  4096. "Region"
  4097. ],
  4098. "table_name": "sentry_projectoptions",
  4099. "uniques": [
  4100. [
  4101. "key",
  4102. "project"
  4103. ]
  4104. ]
  4105. },
  4106. "sentry.projectownership": {
  4107. "dangling": false,
  4108. "foreign_keys": {
  4109. "project": {
  4110. "kind": "FlexibleForeignKey",
  4111. "model": "sentry.project",
  4112. "nullable": false
  4113. }
  4114. },
  4115. "model": "sentry.projectownership",
  4116. "relocation_dependencies": [],
  4117. "relocation_scope": "Organization",
  4118. "silos": [
  4119. "Region"
  4120. ],
  4121. "table_name": "sentry_projectownership",
  4122. "uniques": [
  4123. [
  4124. "project"
  4125. ]
  4126. ]
  4127. },
  4128. "sentry.projectplatform": {
  4129. "dangling": false,
  4130. "foreign_keys": {
  4131. "project_id": {
  4132. "kind": "ImplicitForeignKey",
  4133. "model": "sentry.project",
  4134. "nullable": false
  4135. }
  4136. },
  4137. "model": "sentry.projectplatform",
  4138. "relocation_dependencies": [],
  4139. "relocation_scope": "Excluded",
  4140. "silos": [
  4141. "Region"
  4142. ],
  4143. "table_name": "sentry_projectplatform",
  4144. "uniques": [
  4145. [
  4146. "platform",
  4147. "project_id"
  4148. ]
  4149. ]
  4150. },
  4151. "sentry.projectredirect": {
  4152. "dangling": false,
  4153. "foreign_keys": {
  4154. "organization": {
  4155. "kind": "FlexibleForeignKey",
  4156. "model": "sentry.organization",
  4157. "nullable": false
  4158. },
  4159. "project": {
  4160. "kind": "FlexibleForeignKey",
  4161. "model": "sentry.project",
  4162. "nullable": false
  4163. }
  4164. },
  4165. "model": "sentry.projectredirect",
  4166. "relocation_dependencies": [],
  4167. "relocation_scope": "Organization",
  4168. "silos": [
  4169. "Region"
  4170. ],
  4171. "table_name": "sentry_projectredirect",
  4172. "uniques": [
  4173. [
  4174. "organization",
  4175. "redirect_slug"
  4176. ]
  4177. ]
  4178. },
  4179. "sentry.projectteam": {
  4180. "dangling": false,
  4181. "foreign_keys": {
  4182. "project": {
  4183. "kind": "FlexibleForeignKey",
  4184. "model": "sentry.project",
  4185. "nullable": false
  4186. },
  4187. "team": {
  4188. "kind": "FlexibleForeignKey",
  4189. "model": "sentry.team",
  4190. "nullable": false
  4191. }
  4192. },
  4193. "model": "sentry.projectteam",
  4194. "relocation_dependencies": [],
  4195. "relocation_scope": "Organization",
  4196. "silos": [
  4197. "Region"
  4198. ],
  4199. "table_name": "sentry_projectteam",
  4200. "uniques": [
  4201. [
  4202. "project",
  4203. "team"
  4204. ]
  4205. ]
  4206. },
  4207. "sentry.projecttransactionthreshold": {
  4208. "dangling": false,
  4209. "foreign_keys": {
  4210. "edited_by_id": {
  4211. "kind": "HybridCloudForeignKey",
  4212. "model": "sentry.user",
  4213. "nullable": true
  4214. },
  4215. "organization": {
  4216. "kind": "FlexibleForeignKey",
  4217. "model": "sentry.organization",
  4218. "nullable": false
  4219. },
  4220. "project": {
  4221. "kind": "FlexibleForeignKey",
  4222. "model": "sentry.project",
  4223. "nullable": false
  4224. }
  4225. },
  4226. "model": "sentry.projecttransactionthreshold",
  4227. "relocation_dependencies": [],
  4228. "relocation_scope": "Excluded",
  4229. "silos": [
  4230. "Region"
  4231. ],
  4232. "table_name": "sentry_projecttransactionthreshold",
  4233. "uniques": [
  4234. [
  4235. "project"
  4236. ]
  4237. ]
  4238. },
  4239. "sentry.projecttransactionthresholdoverride": {
  4240. "dangling": false,
  4241. "foreign_keys": {
  4242. "edited_by_id": {
  4243. "kind": "HybridCloudForeignKey",
  4244. "model": "sentry.user",
  4245. "nullable": true
  4246. },
  4247. "organization": {
  4248. "kind": "FlexibleForeignKey",
  4249. "model": "sentry.organization",
  4250. "nullable": false
  4251. },
  4252. "project": {
  4253. "kind": "FlexibleForeignKey",
  4254. "model": "sentry.project",
  4255. "nullable": false
  4256. }
  4257. },
  4258. "model": "sentry.projecttransactionthresholdoverride",
  4259. "relocation_dependencies": [],
  4260. "relocation_scope": "Excluded",
  4261. "silos": [
  4262. "Region"
  4263. ],
  4264. "table_name": "sentry_projecttransactionthresholdoverride",
  4265. "uniques": [
  4266. [
  4267. "project",
  4268. "transaction"
  4269. ]
  4270. ]
  4271. },
  4272. "sentry.promptsactivity": {
  4273. "dangling": false,
  4274. "foreign_keys": {
  4275. "organization_id": {
  4276. "kind": "ImplicitForeignKey",
  4277. "model": "sentry.organization",
  4278. "nullable": false
  4279. },
  4280. "project_id": {
  4281. "kind": "ImplicitForeignKey",
  4282. "model": "sentry.project",
  4283. "nullable": false
  4284. },
  4285. "user_id": {
  4286. "kind": "HybridCloudForeignKey",
  4287. "model": "sentry.user",
  4288. "nullable": false
  4289. }
  4290. },
  4291. "model": "sentry.promptsactivity",
  4292. "relocation_dependencies": [],
  4293. "relocation_scope": "Excluded",
  4294. "silos": [
  4295. "Region"
  4296. ],
  4297. "table_name": "sentry_promptsactivity",
  4298. "uniques": [
  4299. [
  4300. "feature",
  4301. "organization_id",
  4302. "project_id",
  4303. "user_id"
  4304. ]
  4305. ]
  4306. },
  4307. "sentry.pullrequest": {
  4308. "dangling": false,
  4309. "foreign_keys": {
  4310. "author": {
  4311. "kind": "FlexibleForeignKey",
  4312. "model": "sentry.commitauthor",
  4313. "nullable": true
  4314. },
  4315. "organization_id": {
  4316. "kind": "ImplicitForeignKey",
  4317. "model": "sentry.organization",
  4318. "nullable": false
  4319. },
  4320. "repository_id": {
  4321. "kind": "ImplicitForeignKey",
  4322. "model": "sentry.repository",
  4323. "nullable": false
  4324. }
  4325. },
  4326. "model": "sentry.pullrequest",
  4327. "relocation_dependencies": [],
  4328. "relocation_scope": "Excluded",
  4329. "silos": [
  4330. "Region"
  4331. ],
  4332. "table_name": "sentry_pull_request",
  4333. "uniques": [
  4334. [
  4335. "key",
  4336. "repository_id"
  4337. ]
  4338. ]
  4339. },
  4340. "sentry.pullrequestcomment": {
  4341. "dangling": false,
  4342. "foreign_keys": {
  4343. "pull_request": {
  4344. "kind": "FlexibleForeignKey",
  4345. "model": "sentry.pullrequest",
  4346. "nullable": false
  4347. }
  4348. },
  4349. "model": "sentry.pullrequestcomment",
  4350. "relocation_dependencies": [],
  4351. "relocation_scope": "Excluded",
  4352. "silos": [
  4353. "Region"
  4354. ],
  4355. "table_name": "sentry_pullrequest_comment",
  4356. "uniques": [
  4357. [
  4358. "comment_type",
  4359. "pull_request"
  4360. ]
  4361. ]
  4362. },
  4363. "sentry.pullrequestcommit": {
  4364. "dangling": false,
  4365. "foreign_keys": {
  4366. "commit": {
  4367. "kind": "FlexibleForeignKey",
  4368. "model": "sentry.commit",
  4369. "nullable": false
  4370. },
  4371. "pull_request": {
  4372. "kind": "FlexibleForeignKey",
  4373. "model": "sentry.pullrequest",
  4374. "nullable": false
  4375. }
  4376. },
  4377. "model": "sentry.pullrequestcommit",
  4378. "relocation_dependencies": [],
  4379. "relocation_scope": "Excluded",
  4380. "silos": [
  4381. "Region"
  4382. ],
  4383. "table_name": "sentry_pullrequest_commit",
  4384. "uniques": [
  4385. [
  4386. "commit",
  4387. "pull_request"
  4388. ]
  4389. ]
  4390. },
  4391. "sentry.querysubscription": {
  4392. "dangling": false,
  4393. "foreign_keys": {
  4394. "project": {
  4395. "kind": "FlexibleForeignKey",
  4396. "model": "sentry.project",
  4397. "nullable": false
  4398. },
  4399. "snuba_query": {
  4400. "kind": "FlexibleForeignKey",
  4401. "model": "sentry.snubaquery",
  4402. "nullable": true
  4403. }
  4404. },
  4405. "model": "sentry.querysubscription",
  4406. "relocation_dependencies": [],
  4407. "relocation_scope": "Organization",
  4408. "silos": [
  4409. "Region"
  4410. ],
  4411. "table_name": "sentry_querysubscription",
  4412. "uniques": [
  4413. [
  4414. "subscription_id"
  4415. ]
  4416. ]
  4417. },
  4418. "sentry.rawevent": {
  4419. "dangling": false,
  4420. "foreign_keys": {
  4421. "project": {
  4422. "kind": "FlexibleForeignKey",
  4423. "model": "sentry.project",
  4424. "nullable": false
  4425. }
  4426. },
  4427. "model": "sentry.rawevent",
  4428. "relocation_dependencies": [],
  4429. "relocation_scope": "Excluded",
  4430. "silos": [
  4431. "Region"
  4432. ],
  4433. "table_name": "sentry_rawevent",
  4434. "uniques": [
  4435. [
  4436. "event_id",
  4437. "project"
  4438. ]
  4439. ]
  4440. },
  4441. "sentry.recentsearch": {
  4442. "dangling": false,
  4443. "foreign_keys": {
  4444. "organization": {
  4445. "kind": "FlexibleForeignKey",
  4446. "model": "sentry.organization",
  4447. "nullable": false
  4448. },
  4449. "user_id": {
  4450. "kind": "HybridCloudForeignKey",
  4451. "model": "sentry.user",
  4452. "nullable": false
  4453. }
  4454. },
  4455. "model": "sentry.recentsearch",
  4456. "relocation_dependencies": [],
  4457. "relocation_scope": "Organization",
  4458. "silos": [
  4459. "Region"
  4460. ],
  4461. "table_name": "sentry_recentsearch",
  4462. "uniques": [
  4463. [
  4464. "organization",
  4465. "query_hash",
  4466. "type",
  4467. "user_id"
  4468. ]
  4469. ]
  4470. },
  4471. "sentry.regionoutbox": {
  4472. "dangling": false,
  4473. "foreign_keys": {},
  4474. "model": "sentry.regionoutbox",
  4475. "relocation_dependencies": [],
  4476. "relocation_scope": "Excluded",
  4477. "silos": [
  4478. "Region"
  4479. ],
  4480. "table_name": "sentry_regionoutbox",
  4481. "uniques": []
  4482. },
  4483. "sentry.regionscheduleddeletion": {
  4484. "dangling": false,
  4485. "foreign_keys": {},
  4486. "model": "sentry.regionscheduleddeletion",
  4487. "relocation_dependencies": [],
  4488. "relocation_scope": "Excluded",
  4489. "silos": [
  4490. "Region"
  4491. ],
  4492. "table_name": "sentry_regionscheduleddeletion",
  4493. "uniques": [
  4494. [
  4495. "app_label",
  4496. "model_name",
  4497. "object_id"
  4498. ],
  4499. [
  4500. "guid"
  4501. ]
  4502. ]
  4503. },
  4504. "sentry.regiontombstone": {
  4505. "dangling": false,
  4506. "foreign_keys": {},
  4507. "model": "sentry.regiontombstone",
  4508. "relocation_dependencies": [],
  4509. "relocation_scope": "Excluded",
  4510. "silos": [
  4511. "Region"
  4512. ],
  4513. "table_name": "sentry_regiontombstone",
  4514. "uniques": []
  4515. },
  4516. "sentry.relay": {
  4517. "dangling": false,
  4518. "foreign_keys": {},
  4519. "model": "sentry.relay",
  4520. "relocation_dependencies": [],
  4521. "relocation_scope": "Config",
  4522. "silos": [
  4523. "Region"
  4524. ],
  4525. "table_name": "sentry_relay",
  4526. "uniques": [
  4527. [
  4528. "relay_id"
  4529. ]
  4530. ]
  4531. },
  4532. "sentry.relayusage": {
  4533. "dangling": false,
  4534. "foreign_keys": {},
  4535. "model": "sentry.relayusage",
  4536. "relocation_dependencies": [],
  4537. "relocation_scope": "Config",
  4538. "silos": [
  4539. "Region"
  4540. ],
  4541. "table_name": "sentry_relayusage",
  4542. "uniques": [
  4543. [
  4544. "relay_id",
  4545. "version"
  4546. ]
  4547. ]
  4548. },
  4549. "sentry.release": {
  4550. "dangling": false,
  4551. "foreign_keys": {
  4552. "organization": {
  4553. "kind": "FlexibleForeignKey",
  4554. "model": "sentry.organization",
  4555. "nullable": false
  4556. },
  4557. "owner_id": {
  4558. "kind": "HybridCloudForeignKey",
  4559. "model": "sentry.user",
  4560. "nullable": true
  4561. },
  4562. "project_id": {
  4563. "kind": "ImplicitForeignKey",
  4564. "model": "sentry.project",
  4565. "nullable": true
  4566. }
  4567. },
  4568. "model": "sentry.release",
  4569. "relocation_dependencies": [],
  4570. "relocation_scope": "Excluded",
  4571. "silos": [
  4572. "Region"
  4573. ],
  4574. "table_name": "sentry_release",
  4575. "uniques": [
  4576. [
  4577. "organization",
  4578. "version"
  4579. ]
  4580. ]
  4581. },
  4582. "sentry.releaseactivity": {
  4583. "dangling": false,
  4584. "foreign_keys": {
  4585. "release": {
  4586. "kind": "FlexibleForeignKey",
  4587. "model": "sentry.release",
  4588. "nullable": false
  4589. }
  4590. },
  4591. "model": "sentry.releaseactivity",
  4592. "relocation_dependencies": [],
  4593. "relocation_scope": "Excluded",
  4594. "silos": [
  4595. "Region"
  4596. ],
  4597. "table_name": "sentry_releaseactivity",
  4598. "uniques": []
  4599. },
  4600. "sentry.releaseartifactbundle": {
  4601. "dangling": false,
  4602. "foreign_keys": {
  4603. "artifact_bundle": {
  4604. "kind": "FlexibleForeignKey",
  4605. "model": "sentry.artifactbundle",
  4606. "nullable": false
  4607. },
  4608. "organization_id": {
  4609. "kind": "ImplicitForeignKey",
  4610. "model": "sentry.organization",
  4611. "nullable": false
  4612. }
  4613. },
  4614. "model": "sentry.releaseartifactbundle",
  4615. "relocation_dependencies": [],
  4616. "relocation_scope": "Excluded",
  4617. "silos": [
  4618. "Region"
  4619. ],
  4620. "table_name": "sentry_releaseartifactbundle",
  4621. "uniques": []
  4622. },
  4623. "sentry.releasecommit": {
  4624. "dangling": false,
  4625. "foreign_keys": {
  4626. "commit": {
  4627. "kind": "FlexibleForeignKey",
  4628. "model": "sentry.commit",
  4629. "nullable": false
  4630. },
  4631. "organization_id": {
  4632. "kind": "ImplicitForeignKey",
  4633. "model": "sentry.organization",
  4634. "nullable": false
  4635. },
  4636. "project_id": {
  4637. "kind": "ImplicitForeignKey",
  4638. "model": "sentry.project",
  4639. "nullable": true
  4640. },
  4641. "release": {
  4642. "kind": "FlexibleForeignKey",
  4643. "model": "sentry.release",
  4644. "nullable": false
  4645. }
  4646. },
  4647. "model": "sentry.releasecommit",
  4648. "relocation_dependencies": [],
  4649. "relocation_scope": "Excluded",
  4650. "silos": [
  4651. "Region"
  4652. ],
  4653. "table_name": "sentry_releasecommit",
  4654. "uniques": [
  4655. [
  4656. "commit",
  4657. "release"
  4658. ],
  4659. [
  4660. "order",
  4661. "release"
  4662. ]
  4663. ]
  4664. },
  4665. "sentry.releaseenvironment": {
  4666. "dangling": false,
  4667. "foreign_keys": {
  4668. "environment": {
  4669. "kind": "FlexibleForeignKey",
  4670. "model": "sentry.environment",
  4671. "nullable": false
  4672. },
  4673. "organization": {
  4674. "kind": "FlexibleForeignKey",
  4675. "model": "sentry.organization",
  4676. "nullable": false
  4677. },
  4678. "project_id": {
  4679. "kind": "ImplicitForeignKey",
  4680. "model": "sentry.project",
  4681. "nullable": true
  4682. },
  4683. "release": {
  4684. "kind": "FlexibleForeignKey",
  4685. "model": "sentry.release",
  4686. "nullable": false
  4687. }
  4688. },
  4689. "model": "sentry.releaseenvironment",
  4690. "relocation_dependencies": [],
  4691. "relocation_scope": "Excluded",
  4692. "silos": [
  4693. "Region"
  4694. ],
  4695. "table_name": "sentry_environmentrelease",
  4696. "uniques": [
  4697. [
  4698. "environment",
  4699. "organization",
  4700. "release"
  4701. ]
  4702. ]
  4703. },
  4704. "sentry.releasefile": {
  4705. "dangling": false,
  4706. "foreign_keys": {
  4707. "file": {
  4708. "kind": "FlexibleForeignKey",
  4709. "model": "sentry.file",
  4710. "nullable": false
  4711. },
  4712. "organization_id": {
  4713. "kind": "ImplicitForeignKey",
  4714. "model": "sentry.organization",
  4715. "nullable": false
  4716. },
  4717. "project_id": {
  4718. "kind": "ImplicitForeignKey",
  4719. "model": "sentry.project",
  4720. "nullable": true
  4721. },
  4722. "release_id": {
  4723. "kind": "ImplicitForeignKey",
  4724. "model": "sentry.release",
  4725. "nullable": false
  4726. }
  4727. },
  4728. "model": "sentry.releasefile",
  4729. "relocation_dependencies": [],
  4730. "relocation_scope": "Excluded",
  4731. "silos": [
  4732. "Region"
  4733. ],
  4734. "table_name": "sentry_releasefile",
  4735. "uniques": [
  4736. [
  4737. "ident",
  4738. "release_id"
  4739. ]
  4740. ]
  4741. },
  4742. "sentry.releaseheadcommit": {
  4743. "dangling": false,
  4744. "foreign_keys": {
  4745. "commit": {
  4746. "kind": "FlexibleForeignKey",
  4747. "model": "sentry.commit",
  4748. "nullable": false
  4749. },
  4750. "organization_id": {
  4751. "kind": "ImplicitForeignKey",
  4752. "model": "sentry.organization",
  4753. "nullable": false
  4754. },
  4755. "release": {
  4756. "kind": "FlexibleForeignKey",
  4757. "model": "sentry.release",
  4758. "nullable": false
  4759. },
  4760. "repository_id": {
  4761. "kind": "ImplicitForeignKey",
  4762. "model": "sentry.repository",
  4763. "nullable": false
  4764. }
  4765. },
  4766. "model": "sentry.releaseheadcommit",
  4767. "relocation_dependencies": [],
  4768. "relocation_scope": "Excluded",
  4769. "silos": [
  4770. "Region"
  4771. ],
  4772. "table_name": "sentry_releaseheadcommit",
  4773. "uniques": [
  4774. [
  4775. "release",
  4776. "repository_id"
  4777. ]
  4778. ]
  4779. },
  4780. "sentry.releaseproject": {
  4781. "dangling": false,
  4782. "foreign_keys": {
  4783. "project": {
  4784. "kind": "FlexibleForeignKey",
  4785. "model": "sentry.project",
  4786. "nullable": false
  4787. },
  4788. "release": {
  4789. "kind": "FlexibleForeignKey",
  4790. "model": "sentry.release",
  4791. "nullable": false
  4792. }
  4793. },
  4794. "model": "sentry.releaseproject",
  4795. "relocation_dependencies": [],
  4796. "relocation_scope": "Excluded",
  4797. "silos": [
  4798. "Region"
  4799. ],
  4800. "table_name": "sentry_release_project",
  4801. "uniques": [
  4802. [
  4803. "project",
  4804. "release"
  4805. ]
  4806. ]
  4807. },
  4808. "sentry.releaseprojectenvironment": {
  4809. "dangling": false,
  4810. "foreign_keys": {
  4811. "environment": {
  4812. "kind": "FlexibleForeignKey",
  4813. "model": "sentry.environment",
  4814. "nullable": false
  4815. },
  4816. "project": {
  4817. "kind": "FlexibleForeignKey",
  4818. "model": "sentry.project",
  4819. "nullable": false
  4820. },
  4821. "release": {
  4822. "kind": "FlexibleForeignKey",
  4823. "model": "sentry.release",
  4824. "nullable": false
  4825. }
  4826. },
  4827. "model": "sentry.releaseprojectenvironment",
  4828. "relocation_dependencies": [],
  4829. "relocation_scope": "Excluded",
  4830. "silos": [
  4831. "Region"
  4832. ],
  4833. "table_name": "sentry_releaseprojectenvironment",
  4834. "uniques": [
  4835. [
  4836. "environment",
  4837. "project",
  4838. "release"
  4839. ]
  4840. ]
  4841. },
  4842. "sentry.releasethreshold": {
  4843. "dangling": false,
  4844. "foreign_keys": {
  4845. "environment": {
  4846. "kind": "FlexibleForeignKey",
  4847. "model": "sentry.environment",
  4848. "nullable": true
  4849. },
  4850. "project": {
  4851. "kind": "FlexibleForeignKey",
  4852. "model": "sentry.project",
  4853. "nullable": false
  4854. }
  4855. },
  4856. "model": "sentry.releasethreshold",
  4857. "relocation_dependencies": [],
  4858. "relocation_scope": "Excluded",
  4859. "silos": [
  4860. "Region"
  4861. ],
  4862. "table_name": "sentry_releasethreshold",
  4863. "uniques": []
  4864. },
  4865. "sentry.repository": {
  4866. "dangling": false,
  4867. "foreign_keys": {
  4868. "integration_id": {
  4869. "kind": "ImplicitForeignKey",
  4870. "model": "sentry.integration",
  4871. "nullable": true
  4872. },
  4873. "organization_id": {
  4874. "kind": "ImplicitForeignKey",
  4875. "model": "sentry.organization",
  4876. "nullable": false
  4877. }
  4878. },
  4879. "model": "sentry.repository",
  4880. "relocation_dependencies": [],
  4881. "relocation_scope": "Global",
  4882. "silos": [
  4883. "Region"
  4884. ],
  4885. "table_name": "sentry_repository",
  4886. "uniques": [
  4887. [
  4888. "external_id",
  4889. "organization_id",
  4890. "provider"
  4891. ]
  4892. ]
  4893. },
  4894. "sentry.repositoryprojectpathconfig": {
  4895. "dangling": false,
  4896. "foreign_keys": {
  4897. "integration_id": {
  4898. "kind": "ImplicitForeignKey",
  4899. "model": "sentry.integration",
  4900. "nullable": false
  4901. },
  4902. "organization_id": {
  4903. "kind": "ImplicitForeignKey",
  4904. "model": "sentry.organization",
  4905. "nullable": false
  4906. },
  4907. "organization_integration_id": {
  4908. "kind": "HybridCloudForeignKey",
  4909. "model": "sentry.organizationintegration",
  4910. "nullable": false
  4911. },
  4912. "project": {
  4913. "kind": "FlexibleForeignKey",
  4914. "model": "sentry.project",
  4915. "nullable": false
  4916. },
  4917. "repository": {
  4918. "kind": "FlexibleForeignKey",
  4919. "model": "sentry.repository",
  4920. "nullable": false
  4921. }
  4922. },
  4923. "model": "sentry.repositoryprojectpathconfig",
  4924. "relocation_dependencies": [],
  4925. "relocation_scope": "Excluded",
  4926. "silos": [
  4927. "Region"
  4928. ],
  4929. "table_name": "sentry_repositoryprojectpathconfig",
  4930. "uniques": [
  4931. [
  4932. "project",
  4933. "stack_root"
  4934. ]
  4935. ]
  4936. },
  4937. "sentry.reprocessingreport": {
  4938. "dangling": false,
  4939. "foreign_keys": {
  4940. "project": {
  4941. "kind": "FlexibleForeignKey",
  4942. "model": "sentry.project",
  4943. "nullable": false
  4944. }
  4945. },
  4946. "model": "sentry.reprocessingreport",
  4947. "relocation_dependencies": [],
  4948. "relocation_scope": "Excluded",
  4949. "silos": [
  4950. "Region"
  4951. ],
  4952. "table_name": "sentry_reprocessingreport",
  4953. "uniques": [
  4954. [
  4955. "event_id",
  4956. "project"
  4957. ]
  4958. ]
  4959. },
  4960. "sentry.rule": {
  4961. "dangling": false,
  4962. "foreign_keys": {
  4963. "environment_id": {
  4964. "kind": "ImplicitForeignKey",
  4965. "model": "sentry.environment",
  4966. "nullable": true
  4967. },
  4968. "owner": {
  4969. "kind": "FlexibleForeignKey",
  4970. "model": "sentry.actor",
  4971. "nullable": true
  4972. },
  4973. "project": {
  4974. "kind": "FlexibleForeignKey",
  4975. "model": "sentry.project",
  4976. "nullable": false
  4977. }
  4978. },
  4979. "model": "sentry.rule",
  4980. "relocation_dependencies": [],
  4981. "relocation_scope": "Organization",
  4982. "silos": [
  4983. "Region"
  4984. ],
  4985. "table_name": "sentry_rule",
  4986. "uniques": []
  4987. },
  4988. "sentry.ruleactivity": {
  4989. "dangling": false,
  4990. "foreign_keys": {
  4991. "rule": {
  4992. "kind": "FlexibleForeignKey",
  4993. "model": "sentry.rule",
  4994. "nullable": false
  4995. },
  4996. "user_id": {
  4997. "kind": "HybridCloudForeignKey",
  4998. "model": "sentry.user",
  4999. "nullable": true
  5000. }
  5001. },
  5002. "model": "sentry.ruleactivity",
  5003. "relocation_dependencies": [],
  5004. "relocation_scope": "Organization",
  5005. "silos": [
  5006. "Region"
  5007. ],
  5008. "table_name": "sentry_ruleactivity",
  5009. "uniques": []
  5010. },
  5011. "sentry.rulefirehistory": {
  5012. "dangling": false,
  5013. "foreign_keys": {
  5014. "group": {
  5015. "kind": "FlexibleForeignKey",
  5016. "model": "sentry.group",
  5017. "nullable": false
  5018. },
  5019. "project": {
  5020. "kind": "FlexibleForeignKey",
  5021. "model": "sentry.project",
  5022. "nullable": false
  5023. },
  5024. "rule": {
  5025. "kind": "FlexibleForeignKey",
  5026. "model": "sentry.rule",
  5027. "nullable": false
  5028. }
  5029. },
  5030. "model": "sentry.rulefirehistory",
  5031. "relocation_dependencies": [],
  5032. "relocation_scope": "Excluded",
  5033. "silos": [
  5034. "Region"
  5035. ],
  5036. "table_name": "sentry_rulefirehistory",
  5037. "uniques": []
  5038. },
  5039. "sentry.rulesnooze": {
  5040. "dangling": false,
  5041. "foreign_keys": {
  5042. "alert_rule": {
  5043. "kind": "FlexibleForeignKey",
  5044. "model": "sentry.alertrule",
  5045. "nullable": true
  5046. },
  5047. "owner_id": {
  5048. "kind": "HybridCloudForeignKey",
  5049. "model": "sentry.user",
  5050. "nullable": true
  5051. },
  5052. "rule": {
  5053. "kind": "FlexibleForeignKey",
  5054. "model": "sentry.rule",
  5055. "nullable": true
  5056. },
  5057. "user_id": {
  5058. "kind": "HybridCloudForeignKey",
  5059. "model": "sentry.user",
  5060. "nullable": true
  5061. }
  5062. },
  5063. "model": "sentry.rulesnooze",
  5064. "relocation_dependencies": [],
  5065. "relocation_scope": "Organization",
  5066. "silos": [
  5067. "Region"
  5068. ],
  5069. "table_name": "sentry_rulesnooze",
  5070. "uniques": [
  5071. [
  5072. "alert_rule",
  5073. "user_id"
  5074. ],
  5075. [
  5076. "rule",
  5077. "user_id"
  5078. ]
  5079. ]
  5080. },
  5081. "sentry.savedsearch": {
  5082. "dangling": false,
  5083. "foreign_keys": {
  5084. "organization": {
  5085. "kind": "FlexibleForeignKey",
  5086. "model": "sentry.organization",
  5087. "nullable": true
  5088. },
  5089. "owner_id": {
  5090. "kind": "HybridCloudForeignKey",
  5091. "model": "sentry.user",
  5092. "nullable": true
  5093. }
  5094. },
  5095. "model": "sentry.savedsearch",
  5096. "relocation_dependencies": [],
  5097. "relocation_scope": "Organization",
  5098. "silos": [
  5099. "Region"
  5100. ],
  5101. "table_name": "sentry_savedsearch",
  5102. "uniques": []
  5103. },
  5104. "sentry.scheduleddeletion": {
  5105. "dangling": false,
  5106. "foreign_keys": {},
  5107. "model": "sentry.scheduleddeletion",
  5108. "relocation_dependencies": [],
  5109. "relocation_scope": "Excluded",
  5110. "silos": [
  5111. "Control"
  5112. ],
  5113. "table_name": "sentry_scheduleddeletion",
  5114. "uniques": [
  5115. [
  5116. "app_label",
  5117. "model_name",
  5118. "object_id"
  5119. ],
  5120. [
  5121. "guid"
  5122. ]
  5123. ]
  5124. },
  5125. "sentry.sentryapp": {
  5126. "dangling": false,
  5127. "foreign_keys": {
  5128. "application": {
  5129. "kind": "DefaultOneToOneField",
  5130. "model": "sentry.apiapplication",
  5131. "nullable": true
  5132. },
  5133. "creator_user": {
  5134. "kind": "FlexibleForeignKey",
  5135. "model": "sentry.user",
  5136. "nullable": true
  5137. },
  5138. "owner_id": {
  5139. "kind": "HybridCloudForeignKey",
  5140. "model": "sentry.organization",
  5141. "nullable": false
  5142. },
  5143. "proxy_user": {
  5144. "kind": "DefaultOneToOneField",
  5145. "model": "sentry.user",
  5146. "nullable": true
  5147. }
  5148. },
  5149. "model": "sentry.sentryapp",
  5150. "relocation_dependencies": [],
  5151. "relocation_scope": "Global",
  5152. "silos": [
  5153. "Control"
  5154. ],
  5155. "table_name": "sentry_sentryapp",
  5156. "uniques": [
  5157. [
  5158. "application"
  5159. ],
  5160. [
  5161. "proxy_user"
  5162. ],
  5163. [
  5164. "slug"
  5165. ]
  5166. ]
  5167. },
  5168. "sentry.sentryappavatar": {
  5169. "dangling": false,
  5170. "foreign_keys": {
  5171. "control_file_id": {
  5172. "kind": "ImplicitForeignKey",
  5173. "model": "sentry.controlfile",
  5174. "nullable": true
  5175. },
  5176. "file_id": {
  5177. "kind": "ImplicitForeignKey",
  5178. "model": "sentry.file",
  5179. "nullable": true
  5180. },
  5181. "sentry_app": {
  5182. "kind": "FlexibleForeignKey",
  5183. "model": "sentry.sentryapp",
  5184. "nullable": false
  5185. }
  5186. },
  5187. "model": "sentry.sentryappavatar",
  5188. "relocation_dependencies": [],
  5189. "relocation_scope": "Excluded",
  5190. "silos": [
  5191. "Control"
  5192. ],
  5193. "table_name": "sentry_sentryappavatar",
  5194. "uniques": [
  5195. [
  5196. "control_file_id"
  5197. ],
  5198. [
  5199. "file_id"
  5200. ],
  5201. [
  5202. "ident"
  5203. ]
  5204. ]
  5205. },
  5206. "sentry.sentryappcomponent": {
  5207. "dangling": false,
  5208. "foreign_keys": {
  5209. "sentry_app": {
  5210. "kind": "FlexibleForeignKey",
  5211. "model": "sentry.sentryapp",
  5212. "nullable": false
  5213. }
  5214. },
  5215. "model": "sentry.sentryappcomponent",
  5216. "relocation_dependencies": [],
  5217. "relocation_scope": "Global",
  5218. "silos": [
  5219. "Control"
  5220. ],
  5221. "table_name": "sentry_sentryappcomponent",
  5222. "uniques": [
  5223. [
  5224. "uuid"
  5225. ]
  5226. ]
  5227. },
  5228. "sentry.sentryappinstallation": {
  5229. "dangling": false,
  5230. "foreign_keys": {
  5231. "api_grant": {
  5232. "kind": "DefaultOneToOneField",
  5233. "model": "sentry.apigrant",
  5234. "nullable": true
  5235. },
  5236. "api_token": {
  5237. "kind": "DefaultOneToOneField",
  5238. "model": "sentry.apitoken",
  5239. "nullable": true
  5240. },
  5241. "organization_id": {
  5242. "kind": "HybridCloudForeignKey",
  5243. "model": "sentry.organization",
  5244. "nullable": false
  5245. },
  5246. "sentry_app": {
  5247. "kind": "FlexibleForeignKey",
  5248. "model": "sentry.sentryapp",
  5249. "nullable": false
  5250. }
  5251. },
  5252. "model": "sentry.sentryappinstallation",
  5253. "relocation_dependencies": [],
  5254. "relocation_scope": "Global",
  5255. "silos": [
  5256. "Control"
  5257. ],
  5258. "table_name": "sentry_sentryappinstallation",
  5259. "uniques": [
  5260. [
  5261. "api_grant"
  5262. ],
  5263. [
  5264. "api_token"
  5265. ]
  5266. ]
  5267. },
  5268. "sentry.sentryappinstallationforprovider": {
  5269. "dangling": false,
  5270. "foreign_keys": {
  5271. "organization_id": {
  5272. "kind": "HybridCloudForeignKey",
  5273. "model": "sentry.organization",
  5274. "nullable": false
  5275. },
  5276. "sentry_app_installation": {
  5277. "kind": "FlexibleForeignKey",
  5278. "model": "sentry.sentryappinstallation",
  5279. "nullable": false
  5280. }
  5281. },
  5282. "model": "sentry.sentryappinstallationforprovider",
  5283. "relocation_dependencies": [],
  5284. "relocation_scope": "Excluded",
  5285. "silos": [
  5286. "Control"
  5287. ],
  5288. "table_name": "sentry_sentryappinstallationforprovider",
  5289. "uniques": [
  5290. [
  5291. "organization_id",
  5292. "provider"
  5293. ]
  5294. ]
  5295. },
  5296. "sentry.sentryappinstallationtoken": {
  5297. "dangling": false,
  5298. "foreign_keys": {
  5299. "api_token": {
  5300. "kind": "FlexibleForeignKey",
  5301. "model": "sentry.apitoken",
  5302. "nullable": false
  5303. },
  5304. "sentry_app_installation": {
  5305. "kind": "FlexibleForeignKey",
  5306. "model": "sentry.sentryappinstallation",
  5307. "nullable": false
  5308. }
  5309. },
  5310. "model": "sentry.sentryappinstallationtoken",
  5311. "relocation_dependencies": [],
  5312. "relocation_scope": "Excluded",
  5313. "silos": [
  5314. "Control"
  5315. ],
  5316. "table_name": "sentry_sentryappinstallationtoken",
  5317. "uniques": [
  5318. [
  5319. "api_token",
  5320. "sentry_app_installation"
  5321. ]
  5322. ]
  5323. },
  5324. "sentry.sentryfunction": {
  5325. "dangling": false,
  5326. "foreign_keys": {
  5327. "organization": {
  5328. "kind": "FlexibleForeignKey",
  5329. "model": "sentry.organization",
  5330. "nullable": false
  5331. }
  5332. },
  5333. "model": "sentry.sentryfunction",
  5334. "relocation_dependencies": [],
  5335. "relocation_scope": "Excluded",
  5336. "silos": [
  5337. "Region"
  5338. ],
  5339. "table_name": "sentry_sentryfunction",
  5340. "uniques": [
  5341. [
  5342. "external_id"
  5343. ],
  5344. [
  5345. "organization",
  5346. "slug"
  5347. ],
  5348. [
  5349. "slug"
  5350. ]
  5351. ]
  5352. },
  5353. "sentry.servicehook": {
  5354. "dangling": false,
  5355. "foreign_keys": {
  5356. "application_id": {
  5357. "kind": "HybridCloudForeignKey",
  5358. "model": "sentry.apiapplication",
  5359. "nullable": true
  5360. },
  5361. "installation_id": {
  5362. "kind": "HybridCloudForeignKey",
  5363. "model": "sentry.sentryappinstallation",
  5364. "nullable": true
  5365. },
  5366. "organization_id": {
  5367. "kind": "ImplicitForeignKey",
  5368. "model": "sentry.organization",
  5369. "nullable": true
  5370. },
  5371. "project_id": {
  5372. "kind": "ImplicitForeignKey",
  5373. "model": "sentry.project",
  5374. "nullable": true
  5375. }
  5376. },
  5377. "model": "sentry.servicehook",
  5378. "relocation_dependencies": [],
  5379. "relocation_scope": "Global",
  5380. "silos": [
  5381. "Region"
  5382. ],
  5383. "table_name": "sentry_servicehook",
  5384. "uniques": [
  5385. [
  5386. "guid"
  5387. ]
  5388. ]
  5389. },
  5390. "sentry.servicehookproject": {
  5391. "dangling": false,
  5392. "foreign_keys": {
  5393. "project_id": {
  5394. "kind": "ImplicitForeignKey",
  5395. "model": "sentry.project",
  5396. "nullable": false
  5397. },
  5398. "service_hook": {
  5399. "kind": "FlexibleForeignKey",
  5400. "model": "sentry.servicehook",
  5401. "nullable": false
  5402. }
  5403. },
  5404. "model": "sentry.servicehookproject",
  5405. "relocation_dependencies": [],
  5406. "relocation_scope": "Excluded",
  5407. "silos": [
  5408. "Region"
  5409. ],
  5410. "table_name": "sentry_servicehookproject",
  5411. "uniques": [
  5412. [
  5413. "project_id",
  5414. "service_hook"
  5415. ]
  5416. ]
  5417. },
  5418. "sentry.snubaquery": {
  5419. "dangling": true,
  5420. "foreign_keys": {
  5421. "environment": {
  5422. "kind": "FlexibleForeignKey",
  5423. "model": "sentry.environment",
  5424. "nullable": true
  5425. }
  5426. },
  5427. "model": "sentry.snubaquery",
  5428. "relocation_dependencies": [
  5429. "sentry.actor",
  5430. "sentry.organization",
  5431. "sentry.project"
  5432. ],
  5433. "relocation_scope": "Organization",
  5434. "silos": [
  5435. "Region"
  5436. ],
  5437. "table_name": "sentry_snubaquery",
  5438. "uniques": []
  5439. },
  5440. "sentry.snubaqueryeventtype": {
  5441. "dangling": false,
  5442. "foreign_keys": {
  5443. "snuba_query": {
  5444. "kind": "FlexibleForeignKey",
  5445. "model": "sentry.snubaquery",
  5446. "nullable": false
  5447. }
  5448. },
  5449. "model": "sentry.snubaqueryeventtype",
  5450. "relocation_dependencies": [],
  5451. "relocation_scope": "Organization",
  5452. "silos": [
  5453. "Region"
  5454. ],
  5455. "table_name": "sentry_snubaqueryeventtype",
  5456. "uniques": [
  5457. [
  5458. "snuba_query",
  5459. "type"
  5460. ]
  5461. ]
  5462. },
  5463. "sentry.stringindexer": {
  5464. "dangling": false,
  5465. "foreign_keys": {
  5466. "organization_id": {
  5467. "kind": "ImplicitForeignKey",
  5468. "model": "sentry.organization",
  5469. "nullable": false
  5470. }
  5471. },
  5472. "model": "sentry.stringindexer",
  5473. "relocation_dependencies": [],
  5474. "relocation_scope": "Excluded",
  5475. "silos": [
  5476. "Region"
  5477. ],
  5478. "table_name": "sentry_stringindexer",
  5479. "uniques": []
  5480. },
  5481. "sentry.team": {
  5482. "dangling": false,
  5483. "foreign_keys": {
  5484. "organization": {
  5485. "kind": "FlexibleForeignKey",
  5486. "model": "sentry.organization",
  5487. "nullable": false
  5488. }
  5489. },
  5490. "model": "sentry.team",
  5491. "relocation_dependencies": [],
  5492. "relocation_scope": "Organization",
  5493. "silos": [
  5494. "Region"
  5495. ],
  5496. "table_name": "sentry_team",
  5497. "uniques": [
  5498. [
  5499. "actor"
  5500. ],
  5501. [
  5502. "organization",
  5503. "slug"
  5504. ]
  5505. ]
  5506. },
  5507. "sentry.teamavatar": {
  5508. "dangling": false,
  5509. "foreign_keys": {
  5510. "file_id": {
  5511. "kind": "ImplicitForeignKey",
  5512. "model": "sentry.file",
  5513. "nullable": true
  5514. },
  5515. "team": {
  5516. "kind": "FlexibleForeignKey",
  5517. "model": "sentry.team",
  5518. "nullable": false
  5519. }
  5520. },
  5521. "model": "sentry.teamavatar",
  5522. "relocation_dependencies": [],
  5523. "relocation_scope": "Excluded",
  5524. "silos": [
  5525. "Region"
  5526. ],
  5527. "table_name": "sentry_teamavatar",
  5528. "uniques": [
  5529. [
  5530. "file_id"
  5531. ],
  5532. [
  5533. "ident"
  5534. ],
  5535. [
  5536. "team"
  5537. ]
  5538. ]
  5539. },
  5540. "sentry.teamkeytransaction": {
  5541. "dangling": false,
  5542. "foreign_keys": {
  5543. "organization": {
  5544. "kind": "FlexibleForeignKey",
  5545. "model": "sentry.organization",
  5546. "nullable": false
  5547. },
  5548. "project_team": {
  5549. "kind": "FlexibleForeignKey",
  5550. "model": "sentry.projectteam",
  5551. "nullable": true
  5552. }
  5553. },
  5554. "model": "sentry.teamkeytransaction",
  5555. "relocation_dependencies": [],
  5556. "relocation_scope": "Excluded",
  5557. "silos": [
  5558. "Region"
  5559. ],
  5560. "table_name": "sentry_performanceteamkeytransaction",
  5561. "uniques": [
  5562. [
  5563. "project_team",
  5564. "transaction"
  5565. ]
  5566. ]
  5567. },
  5568. "sentry.teamreplica": {
  5569. "dangling": false,
  5570. "foreign_keys": {
  5571. "organization_id": {
  5572. "kind": "HybridCloudForeignKey",
  5573. "model": "sentry.organization",
  5574. "nullable": false
  5575. },
  5576. "team_id": {
  5577. "kind": "HybridCloudForeignKey",
  5578. "model": "sentry.team",
  5579. "nullable": false
  5580. }
  5581. },
  5582. "model": "sentry.teamreplica",
  5583. "relocation_dependencies": [],
  5584. "relocation_scope": "Excluded",
  5585. "silos": [
  5586. "Control"
  5587. ],
  5588. "table_name": "sentry_teamreplica",
  5589. "uniques": [
  5590. [
  5591. "organization_id",
  5592. "slug"
  5593. ]
  5594. ]
  5595. },
  5596. "sentry.timeseriessnapshot": {
  5597. "dangling": true,
  5598. "foreign_keys": {},
  5599. "model": "sentry.timeseriessnapshot",
  5600. "relocation_dependencies": [
  5601. "sentry.incident"
  5602. ],
  5603. "relocation_scope": "Organization",
  5604. "silos": [
  5605. "Region"
  5606. ],
  5607. "table_name": "sentry_timeseriessnapshot",
  5608. "uniques": []
  5609. },
  5610. "sentry.user": {
  5611. "dangling": false,
  5612. "foreign_keys": {},
  5613. "model": "sentry.user",
  5614. "relocation_dependencies": [],
  5615. "relocation_scope": "User",
  5616. "silos": [
  5617. "Control"
  5618. ],
  5619. "table_name": "auth_user",
  5620. "uniques": [
  5621. [
  5622. "username"
  5623. ]
  5624. ]
  5625. },
  5626. "sentry.useravatar": {
  5627. "dangling": false,
  5628. "foreign_keys": {
  5629. "control_file_id": {
  5630. "kind": "ImplicitForeignKey",
  5631. "model": "sentry.controlfile",
  5632. "nullable": true
  5633. },
  5634. "file_id": {
  5635. "kind": "ImplicitForeignKey",
  5636. "model": "sentry.file",
  5637. "nullable": true
  5638. },
  5639. "user": {
  5640. "kind": "FlexibleForeignKey",
  5641. "model": "sentry.user",
  5642. "nullable": false
  5643. }
  5644. },
  5645. "model": "sentry.useravatar",
  5646. "relocation_dependencies": [],
  5647. "relocation_scope": "Excluded",
  5648. "silos": [
  5649. "Control"
  5650. ],
  5651. "table_name": "sentry_useravatar",
  5652. "uniques": [
  5653. [
  5654. "control_file_id"
  5655. ],
  5656. [
  5657. "file_id"
  5658. ],
  5659. [
  5660. "ident"
  5661. ],
  5662. [
  5663. "user"
  5664. ]
  5665. ]
  5666. },
  5667. "sentry.useremail": {
  5668. "dangling": false,
  5669. "foreign_keys": {
  5670. "user": {
  5671. "kind": "FlexibleForeignKey",
  5672. "model": "sentry.user",
  5673. "nullable": false
  5674. }
  5675. },
  5676. "model": "sentry.useremail",
  5677. "relocation_dependencies": [
  5678. "sentry.email"
  5679. ],
  5680. "relocation_scope": "User",
  5681. "silos": [
  5682. "Control"
  5683. ],
  5684. "table_name": "sentry_useremail",
  5685. "uniques": [
  5686. [
  5687. "email",
  5688. "user"
  5689. ]
  5690. ]
  5691. },
  5692. "sentry.userip": {
  5693. "dangling": false,
  5694. "foreign_keys": {
  5695. "user": {
  5696. "kind": "FlexibleForeignKey",
  5697. "model": "sentry.user",
  5698. "nullable": false
  5699. }
  5700. },
  5701. "model": "sentry.userip",
  5702. "relocation_dependencies": [],
  5703. "relocation_scope": "User",
  5704. "silos": [
  5705. "Control"
  5706. ],
  5707. "table_name": "sentry_userip",
  5708. "uniques": [
  5709. [
  5710. "ip_address",
  5711. "user"
  5712. ]
  5713. ]
  5714. },
  5715. "sentry.useroption": {
  5716. "dangling": false,
  5717. "foreign_keys": {
  5718. "organization_id": {
  5719. "kind": "HybridCloudForeignKey",
  5720. "model": "sentry.organization",
  5721. "nullable": true
  5722. },
  5723. "project_id": {
  5724. "kind": "HybridCloudForeignKey",
  5725. "model": "sentry.project",
  5726. "nullable": true
  5727. },
  5728. "user": {
  5729. "kind": "FlexibleForeignKey",
  5730. "model": "sentry.user",
  5731. "nullable": false
  5732. }
  5733. },
  5734. "model": "sentry.useroption",
  5735. "relocation_dependencies": [],
  5736. "relocation_scope": "User",
  5737. "silos": [
  5738. "Control"
  5739. ],
  5740. "table_name": "sentry_useroption",
  5741. "uniques": [
  5742. [
  5743. "key",
  5744. "organization_id",
  5745. "user"
  5746. ],
  5747. [
  5748. "key",
  5749. "project_id",
  5750. "user"
  5751. ]
  5752. ]
  5753. },
  5754. "sentry.userpermission": {
  5755. "dangling": false,
  5756. "foreign_keys": {
  5757. "user": {
  5758. "kind": "FlexibleForeignKey",
  5759. "model": "sentry.user",
  5760. "nullable": false
  5761. }
  5762. },
  5763. "model": "sentry.userpermission",
  5764. "relocation_dependencies": [],
  5765. "relocation_scope": "Config",
  5766. "silos": [
  5767. "Control"
  5768. ],
  5769. "table_name": "sentry_userpermission",
  5770. "uniques": [
  5771. [
  5772. "permission",
  5773. "user"
  5774. ]
  5775. ]
  5776. },
  5777. "sentry.userreport": {
  5778. "dangling": false,
  5779. "foreign_keys": {
  5780. "environment_id": {
  5781. "kind": "ImplicitForeignKey",
  5782. "model": "sentry.environment",
  5783. "nullable": true
  5784. },
  5785. "event_user_id": {
  5786. "kind": "ImplicitForeignKey",
  5787. "model": "sentry.eventuser",
  5788. "nullable": true
  5789. },
  5790. "group_id": {
  5791. "kind": "ImplicitForeignKey",
  5792. "model": "sentry.group",
  5793. "nullable": true
  5794. },
  5795. "project_id": {
  5796. "kind": "ImplicitForeignKey",
  5797. "model": "sentry.project",
  5798. "nullable": false
  5799. }
  5800. },
  5801. "model": "sentry.userreport",
  5802. "relocation_dependencies": [],
  5803. "relocation_scope": "Excluded",
  5804. "silos": [
  5805. "Region"
  5806. ],
  5807. "table_name": "sentry_userreport",
  5808. "uniques": [
  5809. [
  5810. "event_id",
  5811. "project_id"
  5812. ]
  5813. ]
  5814. },
  5815. "sentry.userrole": {
  5816. "dangling": false,
  5817. "foreign_keys": {},
  5818. "model": "sentry.userrole",
  5819. "relocation_dependencies": [],
  5820. "relocation_scope": "Config",
  5821. "silos": [
  5822. "Control"
  5823. ],
  5824. "table_name": "sentry_userrole",
  5825. "uniques": [
  5826. [
  5827. "name"
  5828. ]
  5829. ]
  5830. },
  5831. "sentry.userroleuser": {
  5832. "dangling": false,
  5833. "foreign_keys": {
  5834. "role": {
  5835. "kind": "FlexibleForeignKey",
  5836. "model": "sentry.userrole",
  5837. "nullable": false
  5838. },
  5839. "user": {
  5840. "kind": "FlexibleForeignKey",
  5841. "model": "sentry.user",
  5842. "nullable": false
  5843. }
  5844. },
  5845. "model": "sentry.userroleuser",
  5846. "relocation_dependencies": [],
  5847. "relocation_scope": "Config",
  5848. "silos": [
  5849. "Control"
  5850. ],
  5851. "table_name": "sentry_userrole_users",
  5852. "uniques": []
  5853. },
  5854. "sessions.session": {
  5855. "dangling": false,
  5856. "foreign_keys": {},
  5857. "model": "sessions.session",
  5858. "relocation_dependencies": [],
  5859. "relocation_scope": "Excluded",
  5860. "silos": [
  5861. "Monolith"
  5862. ],
  5863. "table_name": "django_session",
  5864. "uniques": [
  5865. [
  5866. "session_key"
  5867. ]
  5868. ]
  5869. },
  5870. "sites.site": {
  5871. "dangling": false,
  5872. "foreign_keys": {},
  5873. "model": "sites.site",
  5874. "relocation_dependencies": [],
  5875. "relocation_scope": "Excluded",
  5876. "silos": [
  5877. "Monolith"
  5878. ],
  5879. "table_name": "django_site",
  5880. "uniques": [
  5881. [
  5882. "domain"
  5883. ]
  5884. ]
  5885. },
  5886. "social_auth.usersocialauth": {
  5887. "dangling": false,
  5888. "foreign_keys": {
  5889. "user": {
  5890. "kind": "DefaultForeignKey",
  5891. "model": "sentry.user",
  5892. "nullable": false
  5893. }
  5894. },
  5895. "model": "social_auth.usersocialauth",
  5896. "relocation_dependencies": [],
  5897. "relocation_scope": "Excluded",
  5898. "silos": [
  5899. "Control"
  5900. ],
  5901. "table_name": "social_auth_usersocialauth",
  5902. "uniques": [
  5903. [
  5904. "provider",
  5905. "uid",
  5906. "user"
  5907. ]
  5908. ]
  5909. }
  5910. }