detailed.json 144 KB

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