detailed.json 138 KB

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