detailed.json 145 KB

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