detailed.json 137 KB

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