detailed.json 136 KB

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