detailed.json 134 KB

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