detailed.json 146 KB

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