detailed.json 136 KB

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