detailed.json 128 KB

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