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