detailed.json 137 KB

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