detailed.json 134 KB

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