detailed.json 129 KB

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