detailed.json 136 KB

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