detailed.json 137 KB

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