detailed.json 147 KB

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