detailed.json 146 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608
  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.dashboardpermissionsteam": {
  1433. "dangling": false,
  1434. "foreign_keys": {
  1435. "permissions": {
  1436. "kind": "FlexibleForeignKey",
  1437. "model": "sentry.dashboardpermissions",
  1438. "nullable": false
  1439. },
  1440. "team": {
  1441. "kind": "FlexibleForeignKey",
  1442. "model": "sentry.team",
  1443. "nullable": false
  1444. }
  1445. },
  1446. "model": "sentry.dashboardpermissionsteam",
  1447. "relocation_dependencies": [],
  1448. "relocation_scope": "Organization",
  1449. "silos": [
  1450. "Region"
  1451. ],
  1452. "table_name": "sentry_dashboardpermissionsteam",
  1453. "uniques": [
  1454. [
  1455. "permissions",
  1456. "team"
  1457. ]
  1458. ]
  1459. },
  1460. "sentry.dashboardproject": {
  1461. "dangling": false,
  1462. "foreign_keys": {
  1463. "dashboard": {
  1464. "kind": "FlexibleForeignKey",
  1465. "model": "sentry.dashboard",
  1466. "nullable": false
  1467. },
  1468. "project": {
  1469. "kind": "FlexibleForeignKey",
  1470. "model": "sentry.project",
  1471. "nullable": false
  1472. }
  1473. },
  1474. "model": "sentry.dashboardproject",
  1475. "relocation_dependencies": [],
  1476. "relocation_scope": "Excluded",
  1477. "silos": [
  1478. "Region"
  1479. ],
  1480. "table_name": "sentry_dashboardproject",
  1481. "uniques": [
  1482. [
  1483. "dashboard",
  1484. "project"
  1485. ]
  1486. ]
  1487. },
  1488. "sentry.dashboardtombstone": {
  1489. "dangling": false,
  1490. "foreign_keys": {
  1491. "organization": {
  1492. "kind": "FlexibleForeignKey",
  1493. "model": "sentry.organization",
  1494. "nullable": false
  1495. }
  1496. },
  1497. "model": "sentry.dashboardtombstone",
  1498. "relocation_dependencies": [],
  1499. "relocation_scope": "Organization",
  1500. "silos": [
  1501. "Region"
  1502. ],
  1503. "table_name": "sentry_dashboardtombstone",
  1504. "uniques": [
  1505. [
  1506. "organization",
  1507. "slug"
  1508. ]
  1509. ]
  1510. },
  1511. "sentry.dashboardwidget": {
  1512. "dangling": false,
  1513. "foreign_keys": {
  1514. "dashboard": {
  1515. "kind": "FlexibleForeignKey",
  1516. "model": "sentry.dashboard",
  1517. "nullable": false
  1518. }
  1519. },
  1520. "model": "sentry.dashboardwidget",
  1521. "relocation_dependencies": [],
  1522. "relocation_scope": "Organization",
  1523. "silos": [
  1524. "Region"
  1525. ],
  1526. "table_name": "sentry_dashboardwidget",
  1527. "uniques": [
  1528. [
  1529. "dashboard",
  1530. "order"
  1531. ]
  1532. ]
  1533. },
  1534. "sentry.dashboardwidgetquery": {
  1535. "dangling": false,
  1536. "foreign_keys": {
  1537. "widget": {
  1538. "kind": "FlexibleForeignKey",
  1539. "model": "sentry.dashboardwidget",
  1540. "nullable": false
  1541. }
  1542. },
  1543. "model": "sentry.dashboardwidgetquery",
  1544. "relocation_dependencies": [],
  1545. "relocation_scope": "Organization",
  1546. "silos": [
  1547. "Region"
  1548. ],
  1549. "table_name": "sentry_dashboardwidgetquery",
  1550. "uniques": [
  1551. [
  1552. "order",
  1553. "widget"
  1554. ]
  1555. ]
  1556. },
  1557. "sentry.dashboardwidgetqueryondemand": {
  1558. "dangling": false,
  1559. "foreign_keys": {
  1560. "dashboard_widget_query": {
  1561. "kind": "FlexibleForeignKey",
  1562. "model": "sentry.dashboardwidgetquery",
  1563. "nullable": false
  1564. }
  1565. },
  1566. "model": "sentry.dashboardwidgetqueryondemand",
  1567. "relocation_dependencies": [],
  1568. "relocation_scope": "Organization",
  1569. "silos": [
  1570. "Region"
  1571. ],
  1572. "table_name": "sentry_dashboardwidgetqueryondemand",
  1573. "uniques": []
  1574. },
  1575. "sentry.datasecrecywaiver": {
  1576. "dangling": false,
  1577. "foreign_keys": {
  1578. "organization": {
  1579. "kind": "FlexibleForeignKey",
  1580. "model": "sentry.organization",
  1581. "nullable": false
  1582. }
  1583. },
  1584. "model": "sentry.datasecrecywaiver",
  1585. "relocation_dependencies": [],
  1586. "relocation_scope": "Organization",
  1587. "silos": [
  1588. "Region"
  1589. ],
  1590. "table_name": "sentry_datasecrecywaiver",
  1591. "uniques": [
  1592. [
  1593. "organization"
  1594. ]
  1595. ]
  1596. },
  1597. "sentry.debugidartifactbundle": {
  1598. "dangling": false,
  1599. "foreign_keys": {
  1600. "artifact_bundle": {
  1601. "kind": "FlexibleForeignKey",
  1602. "model": "sentry.artifactbundle",
  1603. "nullable": false
  1604. },
  1605. "organization_id": {
  1606. "kind": "ImplicitForeignKey",
  1607. "model": "sentry.organization",
  1608. "nullable": false
  1609. }
  1610. },
  1611. "model": "sentry.debugidartifactbundle",
  1612. "relocation_dependencies": [],
  1613. "relocation_scope": "Excluded",
  1614. "silos": [
  1615. "Region"
  1616. ],
  1617. "table_name": "sentry_debugidartifactbundle",
  1618. "uniques": []
  1619. },
  1620. "sentry.deletedorganization": {
  1621. "dangling": false,
  1622. "foreign_keys": {},
  1623. "model": "sentry.deletedorganization",
  1624. "relocation_dependencies": [],
  1625. "relocation_scope": "Excluded",
  1626. "silos": [
  1627. "Region"
  1628. ],
  1629. "table_name": "sentry_deletedorganization",
  1630. "uniques": []
  1631. },
  1632. "sentry.deletedproject": {
  1633. "dangling": false,
  1634. "foreign_keys": {
  1635. "organization_id": {
  1636. "kind": "ImplicitForeignKey",
  1637. "model": "sentry.organization",
  1638. "nullable": true
  1639. }
  1640. },
  1641. "model": "sentry.deletedproject",
  1642. "relocation_dependencies": [],
  1643. "relocation_scope": "Excluded",
  1644. "silos": [
  1645. "Region"
  1646. ],
  1647. "table_name": "sentry_deletedproject",
  1648. "uniques": []
  1649. },
  1650. "sentry.deletedteam": {
  1651. "dangling": false,
  1652. "foreign_keys": {
  1653. "organization_id": {
  1654. "kind": "ImplicitForeignKey",
  1655. "model": "sentry.organization",
  1656. "nullable": true
  1657. }
  1658. },
  1659. "model": "sentry.deletedteam",
  1660. "relocation_dependencies": [],
  1661. "relocation_scope": "Excluded",
  1662. "silos": [
  1663. "Region"
  1664. ],
  1665. "table_name": "sentry_deletedteam",
  1666. "uniques": []
  1667. },
  1668. "sentry.deploy": {
  1669. "dangling": false,
  1670. "foreign_keys": {
  1671. "environment_id": {
  1672. "kind": "ImplicitForeignKey",
  1673. "model": "sentry.environment",
  1674. "nullable": false
  1675. },
  1676. "organization_id": {
  1677. "kind": "ImplicitForeignKey",
  1678. "model": "sentry.organization",
  1679. "nullable": false
  1680. },
  1681. "release": {
  1682. "kind": "FlexibleForeignKey",
  1683. "model": "sentry.release",
  1684. "nullable": false
  1685. }
  1686. },
  1687. "model": "sentry.deploy",
  1688. "relocation_dependencies": [],
  1689. "relocation_scope": "Excluded",
  1690. "silos": [
  1691. "Region"
  1692. ],
  1693. "table_name": "sentry_deploy",
  1694. "uniques": []
  1695. },
  1696. "sentry.discoversavedquery": {
  1697. "dangling": false,
  1698. "foreign_keys": {
  1699. "created_by_id": {
  1700. "kind": "HybridCloudForeignKey",
  1701. "model": "sentry.user",
  1702. "nullable": true
  1703. },
  1704. "organization": {
  1705. "kind": "FlexibleForeignKey",
  1706. "model": "sentry.organization",
  1707. "nullable": false
  1708. }
  1709. },
  1710. "model": "sentry.discoversavedquery",
  1711. "relocation_dependencies": [],
  1712. "relocation_scope": "Excluded",
  1713. "silos": [
  1714. "Region"
  1715. ],
  1716. "table_name": "sentry_discoversavedquery",
  1717. "uniques": [
  1718. [
  1719. "created_by_id",
  1720. "is_homepage",
  1721. "organization"
  1722. ]
  1723. ]
  1724. },
  1725. "sentry.discoversavedqueryproject": {
  1726. "dangling": false,
  1727. "foreign_keys": {
  1728. "discover_saved_query": {
  1729. "kind": "FlexibleForeignKey",
  1730. "model": "sentry.discoversavedquery",
  1731. "nullable": false
  1732. },
  1733. "project": {
  1734. "kind": "FlexibleForeignKey",
  1735. "model": "sentry.project",
  1736. "nullable": false
  1737. }
  1738. },
  1739. "model": "sentry.discoversavedqueryproject",
  1740. "relocation_dependencies": [],
  1741. "relocation_scope": "Excluded",
  1742. "silos": [
  1743. "Region"
  1744. ],
  1745. "table_name": "sentry_discoversavedqueryproject",
  1746. "uniques": [
  1747. [
  1748. "discover_saved_query",
  1749. "project"
  1750. ]
  1751. ]
  1752. },
  1753. "sentry.distribution": {
  1754. "dangling": false,
  1755. "foreign_keys": {
  1756. "organization_id": {
  1757. "kind": "ImplicitForeignKey",
  1758. "model": "sentry.organization",
  1759. "nullable": false
  1760. },
  1761. "release": {
  1762. "kind": "FlexibleForeignKey",
  1763. "model": "sentry.release",
  1764. "nullable": false
  1765. }
  1766. },
  1767. "model": "sentry.distribution",
  1768. "relocation_dependencies": [],
  1769. "relocation_scope": "Excluded",
  1770. "silos": [
  1771. "Region"
  1772. ],
  1773. "table_name": "sentry_distribution",
  1774. "uniques": [
  1775. [
  1776. "name",
  1777. "release"
  1778. ]
  1779. ]
  1780. },
  1781. "sentry.docintegration": {
  1782. "dangling": false,
  1783. "foreign_keys": {},
  1784. "model": "sentry.docintegration",
  1785. "relocation_dependencies": [],
  1786. "relocation_scope": "Excluded",
  1787. "silos": [
  1788. "Control"
  1789. ],
  1790. "table_name": "sentry_docintegration",
  1791. "uniques": [
  1792. [
  1793. "slug"
  1794. ]
  1795. ]
  1796. },
  1797. "sentry.docintegrationavatar": {
  1798. "dangling": false,
  1799. "foreign_keys": {
  1800. "control_file_id": {
  1801. "kind": "ImplicitForeignKey",
  1802. "model": "sentry.controlfile",
  1803. "nullable": true
  1804. },
  1805. "doc_integration": {
  1806. "kind": "FlexibleForeignKey",
  1807. "model": "sentry.docintegration",
  1808. "nullable": false
  1809. }
  1810. },
  1811. "model": "sentry.docintegrationavatar",
  1812. "relocation_dependencies": [],
  1813. "relocation_scope": "Excluded",
  1814. "silos": [
  1815. "Control"
  1816. ],
  1817. "table_name": "sentry_docintegrationavatar",
  1818. "uniques": [
  1819. [
  1820. "control_file_id"
  1821. ],
  1822. [
  1823. "ident"
  1824. ]
  1825. ]
  1826. },
  1827. "sentry.email": {
  1828. "dangling": true,
  1829. "foreign_keys": {},
  1830. "model": "sentry.email",
  1831. "relocation_dependencies": [
  1832. "sentry.user"
  1833. ],
  1834. "relocation_scope": "User",
  1835. "silos": [
  1836. "Control"
  1837. ],
  1838. "table_name": "sentry_email",
  1839. "uniques": [
  1840. [
  1841. "email"
  1842. ]
  1843. ]
  1844. },
  1845. "sentry.environment": {
  1846. "dangling": false,
  1847. "foreign_keys": {
  1848. "organization_id": {
  1849. "kind": "ImplicitForeignKey",
  1850. "model": "sentry.organization",
  1851. "nullable": false
  1852. }
  1853. },
  1854. "model": "sentry.environment",
  1855. "relocation_dependencies": [],
  1856. "relocation_scope": "Organization",
  1857. "silos": [
  1858. "Region"
  1859. ],
  1860. "table_name": "sentry_environment",
  1861. "uniques": [
  1862. [
  1863. "name",
  1864. "organization_id"
  1865. ]
  1866. ]
  1867. },
  1868. "sentry.environmentproject": {
  1869. "dangling": false,
  1870. "foreign_keys": {
  1871. "environment": {
  1872. "kind": "FlexibleForeignKey",
  1873. "model": "sentry.environment",
  1874. "nullable": false
  1875. },
  1876. "project": {
  1877. "kind": "FlexibleForeignKey",
  1878. "model": "sentry.project",
  1879. "nullable": false
  1880. }
  1881. },
  1882. "model": "sentry.environmentproject",
  1883. "relocation_dependencies": [],
  1884. "relocation_scope": "Organization",
  1885. "silos": [
  1886. "Region"
  1887. ],
  1888. "table_name": "sentry_environmentproject",
  1889. "uniques": [
  1890. [
  1891. "environment",
  1892. "project"
  1893. ]
  1894. ]
  1895. },
  1896. "sentry.eventattachment": {
  1897. "dangling": false,
  1898. "foreign_keys": {
  1899. "file_id": {
  1900. "kind": "ImplicitForeignKey",
  1901. "model": "sentry.file",
  1902. "nullable": true
  1903. },
  1904. "group_id": {
  1905. "kind": "ImplicitForeignKey",
  1906. "model": "sentry.group",
  1907. "nullable": true
  1908. },
  1909. "project_id": {
  1910. "kind": "ImplicitForeignKey",
  1911. "model": "sentry.project",
  1912. "nullable": false
  1913. }
  1914. },
  1915. "model": "sentry.eventattachment",
  1916. "relocation_dependencies": [],
  1917. "relocation_scope": "Excluded",
  1918. "silos": [
  1919. "Region"
  1920. ],
  1921. "table_name": "sentry_eventattachment",
  1922. "uniques": []
  1923. },
  1924. "sentry.exporteddata": {
  1925. "dangling": false,
  1926. "foreign_keys": {
  1927. "file_id": {
  1928. "kind": "ImplicitForeignKey",
  1929. "model": "sentry.file",
  1930. "nullable": true
  1931. },
  1932. "organization": {
  1933. "kind": "FlexibleForeignKey",
  1934. "model": "sentry.organization",
  1935. "nullable": false
  1936. },
  1937. "user_id": {
  1938. "kind": "HybridCloudForeignKey",
  1939. "model": "sentry.user",
  1940. "nullable": true
  1941. }
  1942. },
  1943. "model": "sentry.exporteddata",
  1944. "relocation_dependencies": [],
  1945. "relocation_scope": "Excluded",
  1946. "silos": [
  1947. "Region"
  1948. ],
  1949. "table_name": "sentry_exporteddata",
  1950. "uniques": []
  1951. },
  1952. "sentry.exporteddatablob": {
  1953. "dangling": false,
  1954. "foreign_keys": {
  1955. "data_export": {
  1956. "kind": "FlexibleForeignKey",
  1957. "model": "sentry.exporteddata",
  1958. "nullable": false
  1959. }
  1960. },
  1961. "model": "sentry.exporteddatablob",
  1962. "relocation_dependencies": [],
  1963. "relocation_scope": "Excluded",
  1964. "silos": [
  1965. "Region"
  1966. ],
  1967. "table_name": "sentry_exporteddatablob",
  1968. "uniques": [
  1969. [
  1970. "blob_id",
  1971. "data_export",
  1972. "offset"
  1973. ]
  1974. ]
  1975. },
  1976. "sentry.externalactor": {
  1977. "dangling": false,
  1978. "foreign_keys": {
  1979. "integration_id": {
  1980. "kind": "HybridCloudForeignKey",
  1981. "model": "sentry.integration",
  1982. "nullable": false
  1983. },
  1984. "organization": {
  1985. "kind": "FlexibleForeignKey",
  1986. "model": "sentry.organization",
  1987. "nullable": false
  1988. },
  1989. "team": {
  1990. "kind": "FlexibleForeignKey",
  1991. "model": "sentry.team",
  1992. "nullable": true
  1993. },
  1994. "user_id": {
  1995. "kind": "HybridCloudForeignKey",
  1996. "model": "sentry.user",
  1997. "nullable": true
  1998. }
  1999. },
  2000. "model": "sentry.externalactor",
  2001. "relocation_dependencies": [],
  2002. "relocation_scope": "Excluded",
  2003. "silos": [
  2004. "Region"
  2005. ],
  2006. "table_name": "sentry_externalactor",
  2007. "uniques": [
  2008. [
  2009. "external_name",
  2010. "organization",
  2011. "provider",
  2012. "team_id"
  2013. ],
  2014. [
  2015. "external_name",
  2016. "organization",
  2017. "provider",
  2018. "user_id"
  2019. ]
  2020. ]
  2021. },
  2022. "sentry.externalissue": {
  2023. "dangling": false,
  2024. "foreign_keys": {
  2025. "integration_id": {
  2026. "kind": "HybridCloudForeignKey",
  2027. "model": "sentry.integration",
  2028. "nullable": false
  2029. },
  2030. "organization": {
  2031. "kind": "FlexibleForeignKey",
  2032. "model": "sentry.organization",
  2033. "nullable": false
  2034. }
  2035. },
  2036. "model": "sentry.externalissue",
  2037. "relocation_dependencies": [],
  2038. "relocation_scope": "Excluded",
  2039. "silos": [
  2040. "Region"
  2041. ],
  2042. "table_name": "sentry_externalissue",
  2043. "uniques": [
  2044. [
  2045. "integration_id",
  2046. "key",
  2047. "organization"
  2048. ]
  2049. ]
  2050. },
  2051. "sentry.featureadoption": {
  2052. "dangling": false,
  2053. "foreign_keys": {
  2054. "organization": {
  2055. "kind": "FlexibleForeignKey",
  2056. "model": "sentry.organization",
  2057. "nullable": false
  2058. }
  2059. },
  2060. "model": "sentry.featureadoption",
  2061. "relocation_dependencies": [],
  2062. "relocation_scope": "Excluded",
  2063. "silos": [
  2064. "Region"
  2065. ],
  2066. "table_name": "sentry_featureadoption",
  2067. "uniques": [
  2068. [
  2069. "feature_id",
  2070. "organization"
  2071. ]
  2072. ]
  2073. },
  2074. "sentry.file": {
  2075. "dangling": false,
  2076. "foreign_keys": {
  2077. "blob": {
  2078. "kind": "FlexibleForeignKey",
  2079. "model": "sentry.fileblob",
  2080. "nullable": true
  2081. }
  2082. },
  2083. "model": "sentry.file",
  2084. "relocation_dependencies": [],
  2085. "relocation_scope": "Excluded",
  2086. "silos": [
  2087. "Region"
  2088. ],
  2089. "table_name": "sentry_file",
  2090. "uniques": []
  2091. },
  2092. "sentry.fileblob": {
  2093. "dangling": false,
  2094. "foreign_keys": {},
  2095. "model": "sentry.fileblob",
  2096. "relocation_dependencies": [],
  2097. "relocation_scope": "Excluded",
  2098. "silos": [
  2099. "Region"
  2100. ],
  2101. "table_name": "sentry_fileblob",
  2102. "uniques": [
  2103. [
  2104. "checksum"
  2105. ]
  2106. ]
  2107. },
  2108. "sentry.fileblobindex": {
  2109. "dangling": false,
  2110. "foreign_keys": {
  2111. "blob": {
  2112. "kind": "FlexibleForeignKey",
  2113. "model": "sentry.fileblob",
  2114. "nullable": false
  2115. },
  2116. "file": {
  2117. "kind": "FlexibleForeignKey",
  2118. "model": "sentry.file",
  2119. "nullable": false
  2120. }
  2121. },
  2122. "model": "sentry.fileblobindex",
  2123. "relocation_dependencies": [],
  2124. "relocation_scope": "Excluded",
  2125. "silos": [
  2126. "Region"
  2127. ],
  2128. "table_name": "sentry_fileblobindex",
  2129. "uniques": [
  2130. [
  2131. "blob",
  2132. "file",
  2133. "offset"
  2134. ]
  2135. ]
  2136. },
  2137. "sentry.fileblobowner": {
  2138. "dangling": false,
  2139. "foreign_keys": {
  2140. "blob": {
  2141. "kind": "FlexibleForeignKey",
  2142. "model": "sentry.fileblob",
  2143. "nullable": false
  2144. },
  2145. "organization_id": {
  2146. "kind": "ImplicitForeignKey",
  2147. "model": "sentry.organization",
  2148. "nullable": false
  2149. }
  2150. },
  2151. "model": "sentry.fileblobowner",
  2152. "relocation_dependencies": [],
  2153. "relocation_scope": "Excluded",
  2154. "silos": [
  2155. "Region"
  2156. ],
  2157. "table_name": "sentry_fileblobowner",
  2158. "uniques": [
  2159. [
  2160. "blob",
  2161. "organization_id"
  2162. ]
  2163. ]
  2164. },
  2165. "sentry.group": {
  2166. "dangling": false,
  2167. "foreign_keys": {
  2168. "first_release": {
  2169. "kind": "FlexibleForeignKey",
  2170. "model": "sentry.release",
  2171. "nullable": true
  2172. },
  2173. "project": {
  2174. "kind": "FlexibleForeignKey",
  2175. "model": "sentry.project",
  2176. "nullable": false
  2177. }
  2178. },
  2179. "model": "sentry.group",
  2180. "relocation_dependencies": [],
  2181. "relocation_scope": "Excluded",
  2182. "silos": [
  2183. "Region"
  2184. ],
  2185. "table_name": "sentry_groupedmessage",
  2186. "uniques": [
  2187. [
  2188. "id",
  2189. "project"
  2190. ],
  2191. [
  2192. "project",
  2193. "short_id"
  2194. ]
  2195. ]
  2196. },
  2197. "sentry.groupassignee": {
  2198. "dangling": false,
  2199. "foreign_keys": {
  2200. "group": {
  2201. "kind": "FlexibleForeignKey",
  2202. "model": "sentry.group",
  2203. "nullable": false
  2204. },
  2205. "project": {
  2206. "kind": "FlexibleForeignKey",
  2207. "model": "sentry.project",
  2208. "nullable": false
  2209. },
  2210. "team": {
  2211. "kind": "FlexibleForeignKey",
  2212. "model": "sentry.team",
  2213. "nullable": true
  2214. },
  2215. "user_id": {
  2216. "kind": "HybridCloudForeignKey",
  2217. "model": "sentry.user",
  2218. "nullable": true
  2219. }
  2220. },
  2221. "model": "sentry.groupassignee",
  2222. "relocation_dependencies": [],
  2223. "relocation_scope": "Excluded",
  2224. "silos": [
  2225. "Region"
  2226. ],
  2227. "table_name": "sentry_groupasignee",
  2228. "uniques": [
  2229. [
  2230. "group"
  2231. ],
  2232. [
  2233. "group",
  2234. "project"
  2235. ]
  2236. ]
  2237. },
  2238. "sentry.groupbookmark": {
  2239. "dangling": false,
  2240. "foreign_keys": {
  2241. "group": {
  2242. "kind": "FlexibleForeignKey",
  2243. "model": "sentry.group",
  2244. "nullable": false
  2245. },
  2246. "project": {
  2247. "kind": "FlexibleForeignKey",
  2248. "model": "sentry.project",
  2249. "nullable": false
  2250. },
  2251. "user_id": {
  2252. "kind": "HybridCloudForeignKey",
  2253. "model": "sentry.user",
  2254. "nullable": false
  2255. }
  2256. },
  2257. "model": "sentry.groupbookmark",
  2258. "relocation_dependencies": [],
  2259. "relocation_scope": "Excluded",
  2260. "silos": [
  2261. "Region"
  2262. ],
  2263. "table_name": "sentry_groupbookmark",
  2264. "uniques": [
  2265. [
  2266. "group",
  2267. "project",
  2268. "user_id"
  2269. ]
  2270. ]
  2271. },
  2272. "sentry.groupcommitresolution": {
  2273. "dangling": false,
  2274. "foreign_keys": {
  2275. "commit_id": {
  2276. "kind": "ImplicitForeignKey",
  2277. "model": "sentry.commit",
  2278. "nullable": false
  2279. },
  2280. "group_id": {
  2281. "kind": "ImplicitForeignKey",
  2282. "model": "sentry.group",
  2283. "nullable": false
  2284. }
  2285. },
  2286. "model": "sentry.groupcommitresolution",
  2287. "relocation_dependencies": [],
  2288. "relocation_scope": "Excluded",
  2289. "silos": [
  2290. "Region"
  2291. ],
  2292. "table_name": "sentry_groupcommitresolution",
  2293. "uniques": [
  2294. [
  2295. "commit_id",
  2296. "group_id"
  2297. ]
  2298. ]
  2299. },
  2300. "sentry.groupemailthread": {
  2301. "dangling": false,
  2302. "foreign_keys": {
  2303. "group": {
  2304. "kind": "FlexibleForeignKey",
  2305. "model": "sentry.group",
  2306. "nullable": false
  2307. },
  2308. "project": {
  2309. "kind": "FlexibleForeignKey",
  2310. "model": "sentry.project",
  2311. "nullable": false
  2312. }
  2313. },
  2314. "model": "sentry.groupemailthread",
  2315. "relocation_dependencies": [],
  2316. "relocation_scope": "Excluded",
  2317. "silos": [
  2318. "Region"
  2319. ],
  2320. "table_name": "sentry_groupemailthread",
  2321. "uniques": [
  2322. [
  2323. "email",
  2324. "group"
  2325. ],
  2326. [
  2327. "email",
  2328. "msgid"
  2329. ]
  2330. ]
  2331. },
  2332. "sentry.groupenvironment": {
  2333. "dangling": false,
  2334. "foreign_keys": {
  2335. "environment": {
  2336. "kind": "FlexibleForeignKey",
  2337. "model": "sentry.environment",
  2338. "nullable": false
  2339. },
  2340. "first_release": {
  2341. "kind": "FlexibleForeignKey",
  2342. "model": "sentry.release",
  2343. "nullable": true
  2344. },
  2345. "group": {
  2346. "kind": "FlexibleForeignKey",
  2347. "model": "sentry.group",
  2348. "nullable": false
  2349. }
  2350. },
  2351. "model": "sentry.groupenvironment",
  2352. "relocation_dependencies": [],
  2353. "relocation_scope": "Excluded",
  2354. "silos": [
  2355. "Region"
  2356. ],
  2357. "table_name": "sentry_groupenvironment",
  2358. "uniques": [
  2359. [
  2360. "environment",
  2361. "group"
  2362. ]
  2363. ]
  2364. },
  2365. "sentry.grouphash": {
  2366. "dangling": false,
  2367. "foreign_keys": {
  2368. "group": {
  2369. "kind": "FlexibleForeignKey",
  2370. "model": "sentry.group",
  2371. "nullable": true
  2372. },
  2373. "group_tombstone_id": {
  2374. "kind": "ImplicitForeignKey",
  2375. "model": "sentry.grouptombstone",
  2376. "nullable": true
  2377. },
  2378. "project": {
  2379. "kind": "FlexibleForeignKey",
  2380. "model": "sentry.project",
  2381. "nullable": true
  2382. }
  2383. },
  2384. "model": "sentry.grouphash",
  2385. "relocation_dependencies": [],
  2386. "relocation_scope": "Excluded",
  2387. "silos": [
  2388. "Region"
  2389. ],
  2390. "table_name": "sentry_grouphash",
  2391. "uniques": [
  2392. [
  2393. "hash",
  2394. "project"
  2395. ]
  2396. ]
  2397. },
  2398. "sentry.grouphashmetadata": {
  2399. "dangling": false,
  2400. "foreign_keys": {
  2401. "grouphash": {
  2402. "kind": "DefaultOneToOneField",
  2403. "model": "sentry.grouphash",
  2404. "nullable": false
  2405. },
  2406. "seer_matched_grouphash": {
  2407. "kind": "FlexibleForeignKey",
  2408. "model": "sentry.grouphash",
  2409. "nullable": true
  2410. }
  2411. },
  2412. "model": "sentry.grouphashmetadata",
  2413. "relocation_dependencies": [],
  2414. "relocation_scope": "Excluded",
  2415. "silos": [
  2416. "Region"
  2417. ],
  2418. "table_name": "sentry_grouphashmetadata",
  2419. "uniques": [
  2420. [
  2421. "grouphash"
  2422. ]
  2423. ]
  2424. },
  2425. "sentry.grouphistory": {
  2426. "dangling": false,
  2427. "foreign_keys": {
  2428. "group": {
  2429. "kind": "FlexibleForeignKey",
  2430. "model": "sentry.group",
  2431. "nullable": false
  2432. },
  2433. "organization": {
  2434. "kind": "FlexibleForeignKey",
  2435. "model": "sentry.organization",
  2436. "nullable": false
  2437. },
  2438. "project": {
  2439. "kind": "FlexibleForeignKey",
  2440. "model": "sentry.project",
  2441. "nullable": false
  2442. },
  2443. "release": {
  2444. "kind": "FlexibleForeignKey",
  2445. "model": "sentry.release",
  2446. "nullable": true
  2447. },
  2448. "team": {
  2449. "kind": "FlexibleForeignKey",
  2450. "model": "sentry.team",
  2451. "nullable": true
  2452. },
  2453. "user_id": {
  2454. "kind": "HybridCloudForeignKey",
  2455. "model": "sentry.user",
  2456. "nullable": true
  2457. }
  2458. },
  2459. "model": "sentry.grouphistory",
  2460. "relocation_dependencies": [],
  2461. "relocation_scope": "Excluded",
  2462. "silos": [
  2463. "Region"
  2464. ],
  2465. "table_name": "sentry_grouphistory",
  2466. "uniques": []
  2467. },
  2468. "sentry.groupinbox": {
  2469. "dangling": false,
  2470. "foreign_keys": {
  2471. "group": {
  2472. "kind": "FlexibleForeignKey",
  2473. "model": "sentry.group",
  2474. "nullable": false
  2475. },
  2476. "organization": {
  2477. "kind": "FlexibleForeignKey",
  2478. "model": "sentry.organization",
  2479. "nullable": true
  2480. },
  2481. "project": {
  2482. "kind": "FlexibleForeignKey",
  2483. "model": "sentry.project",
  2484. "nullable": true
  2485. }
  2486. },
  2487. "model": "sentry.groupinbox",
  2488. "relocation_dependencies": [],
  2489. "relocation_scope": "Excluded",
  2490. "silos": [
  2491. "Region"
  2492. ],
  2493. "table_name": "sentry_groupinbox",
  2494. "uniques": [
  2495. [
  2496. "group"
  2497. ]
  2498. ]
  2499. },
  2500. "sentry.grouplink": {
  2501. "dangling": false,
  2502. "foreign_keys": {
  2503. "group": {
  2504. "kind": "FlexibleForeignKey",
  2505. "model": "sentry.group",
  2506. "nullable": false
  2507. },
  2508. "project": {
  2509. "kind": "FlexibleForeignKey",
  2510. "model": "sentry.project",
  2511. "nullable": false
  2512. }
  2513. },
  2514. "model": "sentry.grouplink",
  2515. "relocation_dependencies": [],
  2516. "relocation_scope": "Excluded",
  2517. "silos": [
  2518. "Region"
  2519. ],
  2520. "table_name": "sentry_grouplink",
  2521. "uniques": [
  2522. [
  2523. "group",
  2524. "linked_id",
  2525. "linked_type"
  2526. ]
  2527. ]
  2528. },
  2529. "sentry.groupmeta": {
  2530. "dangling": false,
  2531. "foreign_keys": {
  2532. "group": {
  2533. "kind": "FlexibleForeignKey",
  2534. "model": "sentry.group",
  2535. "nullable": false
  2536. }
  2537. },
  2538. "model": "sentry.groupmeta",
  2539. "relocation_dependencies": [],
  2540. "relocation_scope": "Excluded",
  2541. "silos": [
  2542. "Region"
  2543. ],
  2544. "table_name": "sentry_groupmeta",
  2545. "uniques": [
  2546. [
  2547. "group",
  2548. "key"
  2549. ]
  2550. ]
  2551. },
  2552. "sentry.groupowner": {
  2553. "dangling": false,
  2554. "foreign_keys": {
  2555. "group": {
  2556. "kind": "FlexibleForeignKey",
  2557. "model": "sentry.group",
  2558. "nullable": false
  2559. },
  2560. "organization": {
  2561. "kind": "FlexibleForeignKey",
  2562. "model": "sentry.organization",
  2563. "nullable": false
  2564. },
  2565. "project": {
  2566. "kind": "FlexibleForeignKey",
  2567. "model": "sentry.project",
  2568. "nullable": false
  2569. },
  2570. "team": {
  2571. "kind": "FlexibleForeignKey",
  2572. "model": "sentry.team",
  2573. "nullable": true
  2574. },
  2575. "user_id": {
  2576. "kind": "HybridCloudForeignKey",
  2577. "model": "sentry.user",
  2578. "nullable": true
  2579. }
  2580. },
  2581. "model": "sentry.groupowner",
  2582. "relocation_dependencies": [],
  2583. "relocation_scope": "Excluded",
  2584. "silos": [
  2585. "Region"
  2586. ],
  2587. "table_name": "sentry_groupowner",
  2588. "uniques": []
  2589. },
  2590. "sentry.groupredirect": {
  2591. "dangling": false,
  2592. "foreign_keys": {
  2593. "group_id": {
  2594. "kind": "ImplicitForeignKey",
  2595. "model": "sentry.group",
  2596. "nullable": false
  2597. },
  2598. "organization_id": {
  2599. "kind": "ImplicitForeignKey",
  2600. "model": "sentry.organization",
  2601. "nullable": true
  2602. }
  2603. },
  2604. "model": "sentry.groupredirect",
  2605. "relocation_dependencies": [],
  2606. "relocation_scope": "Excluded",
  2607. "silos": [
  2608. "Region"
  2609. ],
  2610. "table_name": "sentry_groupredirect",
  2611. "uniques": [
  2612. [
  2613. "organization_id",
  2614. "previous_project_slug",
  2615. "previous_short_id"
  2616. ],
  2617. [
  2618. "previous_group_id"
  2619. ]
  2620. ]
  2621. },
  2622. "sentry.grouprelease": {
  2623. "dangling": false,
  2624. "foreign_keys": {
  2625. "group_id": {
  2626. "kind": "ImplicitForeignKey",
  2627. "model": "sentry.group",
  2628. "nullable": false
  2629. },
  2630. "project_id": {
  2631. "kind": "ImplicitForeignKey",
  2632. "model": "sentry.project",
  2633. "nullable": false
  2634. },
  2635. "release_id": {
  2636. "kind": "ImplicitForeignKey",
  2637. "model": "sentry.release",
  2638. "nullable": false
  2639. }
  2640. },
  2641. "model": "sentry.grouprelease",
  2642. "relocation_dependencies": [],
  2643. "relocation_scope": "Excluded",
  2644. "silos": [
  2645. "Region"
  2646. ],
  2647. "table_name": "sentry_grouprelease",
  2648. "uniques": [
  2649. [
  2650. "environment",
  2651. "group_id",
  2652. "release_id"
  2653. ]
  2654. ]
  2655. },
  2656. "sentry.groupresolution": {
  2657. "dangling": false,
  2658. "foreign_keys": {
  2659. "group": {
  2660. "kind": "FlexibleForeignKey",
  2661. "model": "sentry.group",
  2662. "nullable": false
  2663. },
  2664. "release": {
  2665. "kind": "FlexibleForeignKey",
  2666. "model": "sentry.release",
  2667. "nullable": false
  2668. }
  2669. },
  2670. "model": "sentry.groupresolution",
  2671. "relocation_dependencies": [],
  2672. "relocation_scope": "Excluded",
  2673. "silos": [
  2674. "Region"
  2675. ],
  2676. "table_name": "sentry_groupresolution",
  2677. "uniques": [
  2678. [
  2679. "group"
  2680. ]
  2681. ]
  2682. },
  2683. "sentry.grouprulestatus": {
  2684. "dangling": false,
  2685. "foreign_keys": {
  2686. "group": {
  2687. "kind": "FlexibleForeignKey",
  2688. "model": "sentry.group",
  2689. "nullable": false
  2690. },
  2691. "project": {
  2692. "kind": "FlexibleForeignKey",
  2693. "model": "sentry.project",
  2694. "nullable": false
  2695. },
  2696. "rule": {
  2697. "kind": "FlexibleForeignKey",
  2698. "model": "sentry.rule",
  2699. "nullable": false
  2700. }
  2701. },
  2702. "model": "sentry.grouprulestatus",
  2703. "relocation_dependencies": [],
  2704. "relocation_scope": "Excluded",
  2705. "silos": [
  2706. "Region"
  2707. ],
  2708. "table_name": "sentry_grouprulestatus",
  2709. "uniques": [
  2710. [
  2711. "group",
  2712. "rule"
  2713. ]
  2714. ]
  2715. },
  2716. "sentry.groupsearchview": {
  2717. "dangling": false,
  2718. "foreign_keys": {
  2719. "organization": {
  2720. "kind": "FlexibleForeignKey",
  2721. "model": "sentry.organization",
  2722. "nullable": false
  2723. },
  2724. "user_id": {
  2725. "kind": "HybridCloudForeignKey",
  2726. "model": "sentry.user",
  2727. "nullable": false
  2728. }
  2729. },
  2730. "model": "sentry.groupsearchview",
  2731. "relocation_dependencies": [],
  2732. "relocation_scope": "Organization",
  2733. "silos": [
  2734. "Region"
  2735. ],
  2736. "table_name": "sentry_groupsearchview",
  2737. "uniques": [
  2738. [
  2739. "organization_id",
  2740. "position",
  2741. "user_id"
  2742. ]
  2743. ]
  2744. },
  2745. "sentry.groupseen": {
  2746. "dangling": false,
  2747. "foreign_keys": {
  2748. "group": {
  2749. "kind": "FlexibleForeignKey",
  2750. "model": "sentry.group",
  2751. "nullable": false
  2752. },
  2753. "project": {
  2754. "kind": "FlexibleForeignKey",
  2755. "model": "sentry.project",
  2756. "nullable": false
  2757. },
  2758. "user_id": {
  2759. "kind": "HybridCloudForeignKey",
  2760. "model": "sentry.user",
  2761. "nullable": false
  2762. }
  2763. },
  2764. "model": "sentry.groupseen",
  2765. "relocation_dependencies": [],
  2766. "relocation_scope": "Excluded",
  2767. "silos": [
  2768. "Region"
  2769. ],
  2770. "table_name": "sentry_groupseen",
  2771. "uniques": [
  2772. [
  2773. "group",
  2774. "user_id"
  2775. ]
  2776. ]
  2777. },
  2778. "sentry.groupshare": {
  2779. "dangling": false,
  2780. "foreign_keys": {
  2781. "group": {
  2782. "kind": "FlexibleForeignKey",
  2783. "model": "sentry.group",
  2784. "nullable": false
  2785. },
  2786. "project": {
  2787. "kind": "FlexibleForeignKey",
  2788. "model": "sentry.project",
  2789. "nullable": false
  2790. },
  2791. "user_id": {
  2792. "kind": "HybridCloudForeignKey",
  2793. "model": "sentry.user",
  2794. "nullable": true
  2795. }
  2796. },
  2797. "model": "sentry.groupshare",
  2798. "relocation_dependencies": [],
  2799. "relocation_scope": "Excluded",
  2800. "silos": [
  2801. "Region"
  2802. ],
  2803. "table_name": "sentry_groupshare",
  2804. "uniques": [
  2805. [
  2806. "group"
  2807. ],
  2808. [
  2809. "uuid"
  2810. ]
  2811. ]
  2812. },
  2813. "sentry.groupsnooze": {
  2814. "dangling": false,
  2815. "foreign_keys": {
  2816. "group": {
  2817. "kind": "FlexibleForeignKey",
  2818. "model": "sentry.group",
  2819. "nullable": false
  2820. }
  2821. },
  2822. "model": "sentry.groupsnooze",
  2823. "relocation_dependencies": [],
  2824. "relocation_scope": "Excluded",
  2825. "silos": [
  2826. "Region"
  2827. ],
  2828. "table_name": "sentry_groupsnooze",
  2829. "uniques": [
  2830. [
  2831. "group"
  2832. ]
  2833. ]
  2834. },
  2835. "sentry.groupsubscription": {
  2836. "dangling": false,
  2837. "foreign_keys": {
  2838. "group": {
  2839. "kind": "FlexibleForeignKey",
  2840. "model": "sentry.group",
  2841. "nullable": false
  2842. },
  2843. "project": {
  2844. "kind": "FlexibleForeignKey",
  2845. "model": "sentry.project",
  2846. "nullable": false
  2847. },
  2848. "team": {
  2849. "kind": "FlexibleForeignKey",
  2850. "model": "sentry.team",
  2851. "nullable": true
  2852. },
  2853. "user_id": {
  2854. "kind": "HybridCloudForeignKey",
  2855. "model": "sentry.user",
  2856. "nullable": true
  2857. }
  2858. },
  2859. "model": "sentry.groupsubscription",
  2860. "relocation_dependencies": [],
  2861. "relocation_scope": "Excluded",
  2862. "silos": [
  2863. "Region"
  2864. ],
  2865. "table_name": "sentry_groupsubscription",
  2866. "uniques": [
  2867. [
  2868. "group",
  2869. "team"
  2870. ],
  2871. [
  2872. "group",
  2873. "user_id"
  2874. ]
  2875. ]
  2876. },
  2877. "sentry.grouptombstone": {
  2878. "dangling": false,
  2879. "foreign_keys": {
  2880. "project": {
  2881. "kind": "FlexibleForeignKey",
  2882. "model": "sentry.project",
  2883. "nullable": false
  2884. }
  2885. },
  2886. "model": "sentry.grouptombstone",
  2887. "relocation_dependencies": [],
  2888. "relocation_scope": "Excluded",
  2889. "silos": [
  2890. "Region"
  2891. ],
  2892. "table_name": "sentry_grouptombstone",
  2893. "uniques": [
  2894. [
  2895. "previous_group_id"
  2896. ]
  2897. ]
  2898. },
  2899. "sentry.identity": {
  2900. "dangling": false,
  2901. "foreign_keys": {
  2902. "idp": {
  2903. "kind": "FlexibleForeignKey",
  2904. "model": "sentry.identityprovider",
  2905. "nullable": false
  2906. },
  2907. "user": {
  2908. "kind": "FlexibleForeignKey",
  2909. "model": "sentry.user",
  2910. "nullable": false
  2911. }
  2912. },
  2913. "model": "sentry.identity",
  2914. "relocation_dependencies": [],
  2915. "relocation_scope": "Excluded",
  2916. "silos": [
  2917. "Control"
  2918. ],
  2919. "table_name": "sentry_identity",
  2920. "uniques": [
  2921. [
  2922. "external_id",
  2923. "idp"
  2924. ],
  2925. [
  2926. "idp",
  2927. "user"
  2928. ]
  2929. ]
  2930. },
  2931. "sentry.identityprovider": {
  2932. "dangling": false,
  2933. "foreign_keys": {},
  2934. "model": "sentry.identityprovider",
  2935. "relocation_dependencies": [],
  2936. "relocation_scope": "Excluded",
  2937. "silos": [
  2938. "Control"
  2939. ],
  2940. "table_name": "sentry_identityprovider",
  2941. "uniques": [
  2942. [
  2943. "external_id",
  2944. "type"
  2945. ]
  2946. ]
  2947. },
  2948. "sentry.incident": {
  2949. "dangling": false,
  2950. "foreign_keys": {
  2951. "activation": {
  2952. "kind": "FlexibleForeignKey",
  2953. "model": "sentry.alertruleactivations",
  2954. "nullable": true
  2955. },
  2956. "alert_rule": {
  2957. "kind": "FlexibleForeignKey",
  2958. "model": "sentry.alertrule",
  2959. "nullable": false
  2960. },
  2961. "organization": {
  2962. "kind": "FlexibleForeignKey",
  2963. "model": "sentry.organization",
  2964. "nullable": false
  2965. },
  2966. "subscription": {
  2967. "kind": "FlexibleForeignKey",
  2968. "model": "sentry.querysubscription",
  2969. "nullable": true
  2970. }
  2971. },
  2972. "model": "sentry.incident",
  2973. "relocation_dependencies": [],
  2974. "relocation_scope": "Organization",
  2975. "silos": [
  2976. "Region"
  2977. ],
  2978. "table_name": "sentry_incident",
  2979. "uniques": [
  2980. [
  2981. "identifier",
  2982. "organization"
  2983. ]
  2984. ]
  2985. },
  2986. "sentry.incidentactivity": {
  2987. "dangling": false,
  2988. "foreign_keys": {
  2989. "incident": {
  2990. "kind": "FlexibleForeignKey",
  2991. "model": "sentry.incident",
  2992. "nullable": false
  2993. },
  2994. "user_id": {
  2995. "kind": "HybridCloudForeignKey",
  2996. "model": "sentry.user",
  2997. "nullable": true
  2998. }
  2999. },
  3000. "model": "sentry.incidentactivity",
  3001. "relocation_dependencies": [],
  3002. "relocation_scope": "Organization",
  3003. "silos": [
  3004. "Region"
  3005. ],
  3006. "table_name": "sentry_incidentactivity",
  3007. "uniques": []
  3008. },
  3009. "sentry.incidentproject": {
  3010. "dangling": false,
  3011. "foreign_keys": {
  3012. "incident": {
  3013. "kind": "FlexibleForeignKey",
  3014. "model": "sentry.incident",
  3015. "nullable": false
  3016. },
  3017. "project": {
  3018. "kind": "FlexibleForeignKey",
  3019. "model": "sentry.project",
  3020. "nullable": false
  3021. }
  3022. },
  3023. "model": "sentry.incidentproject",
  3024. "relocation_dependencies": [],
  3025. "relocation_scope": "Excluded",
  3026. "silos": [
  3027. "Region"
  3028. ],
  3029. "table_name": "sentry_incidentproject",
  3030. "uniques": [
  3031. [
  3032. "incident",
  3033. "project"
  3034. ]
  3035. ]
  3036. },
  3037. "sentry.incidentseen": {
  3038. "dangling": false,
  3039. "foreign_keys": {
  3040. "incident": {
  3041. "kind": "FlexibleForeignKey",
  3042. "model": "sentry.incident",
  3043. "nullable": false
  3044. },
  3045. "user_id": {
  3046. "kind": "HybridCloudForeignKey",
  3047. "model": "sentry.user",
  3048. "nullable": false
  3049. }
  3050. },
  3051. "model": "sentry.incidentseen",
  3052. "relocation_dependencies": [],
  3053. "relocation_scope": "Excluded",
  3054. "silos": [
  3055. "Region"
  3056. ],
  3057. "table_name": "sentry_incidentseen",
  3058. "uniques": [
  3059. [
  3060. "incident",
  3061. "user_id"
  3062. ]
  3063. ]
  3064. },
  3065. "sentry.incidentsnapshot": {
  3066. "dangling": false,
  3067. "foreign_keys": {
  3068. "event_stats_snapshot": {
  3069. "kind": "FlexibleForeignKey",
  3070. "model": "sentry.timeseriessnapshot",
  3071. "nullable": false
  3072. },
  3073. "incident": {
  3074. "kind": "OneToOneCascadeDeletes",
  3075. "model": "sentry.incident",
  3076. "nullable": false
  3077. }
  3078. },
  3079. "model": "sentry.incidentsnapshot",
  3080. "relocation_dependencies": [],
  3081. "relocation_scope": "Organization",
  3082. "silos": [
  3083. "Region"
  3084. ],
  3085. "table_name": "sentry_incidentsnapshot",
  3086. "uniques": [
  3087. [
  3088. "incident"
  3089. ]
  3090. ]
  3091. },
  3092. "sentry.incidentsubscription": {
  3093. "dangling": false,
  3094. "foreign_keys": {
  3095. "incident": {
  3096. "kind": "FlexibleForeignKey",
  3097. "model": "sentry.incident",
  3098. "nullable": false
  3099. },
  3100. "user_id": {
  3101. "kind": "HybridCloudForeignKey",
  3102. "model": "sentry.user",
  3103. "nullable": false
  3104. }
  3105. },
  3106. "model": "sentry.incidentsubscription",
  3107. "relocation_dependencies": [],
  3108. "relocation_scope": "Organization",
  3109. "silos": [
  3110. "Region"
  3111. ],
  3112. "table_name": "sentry_incidentsubscription",
  3113. "uniques": [
  3114. [
  3115. "incident",
  3116. "user_id"
  3117. ]
  3118. ]
  3119. },
  3120. "sentry.incidenttrigger": {
  3121. "dangling": false,
  3122. "foreign_keys": {
  3123. "alert_rule_trigger": {
  3124. "kind": "FlexibleForeignKey",
  3125. "model": "sentry.alertruletrigger",
  3126. "nullable": false
  3127. },
  3128. "incident": {
  3129. "kind": "FlexibleForeignKey",
  3130. "model": "sentry.incident",
  3131. "nullable": false
  3132. }
  3133. },
  3134. "model": "sentry.incidenttrigger",
  3135. "relocation_dependencies": [],
  3136. "relocation_scope": "Organization",
  3137. "silos": [
  3138. "Region"
  3139. ],
  3140. "table_name": "sentry_incidenttrigger",
  3141. "uniques": [
  3142. [
  3143. "alert_rule_trigger",
  3144. "incident"
  3145. ]
  3146. ]
  3147. },
  3148. "sentry.integration": {
  3149. "dangling": false,
  3150. "foreign_keys": {},
  3151. "model": "sentry.integration",
  3152. "relocation_dependencies": [],
  3153. "relocation_scope": "Global",
  3154. "silos": [
  3155. "Control"
  3156. ],
  3157. "table_name": "sentry_integration",
  3158. "uniques": [
  3159. [
  3160. "external_id",
  3161. "provider"
  3162. ]
  3163. ]
  3164. },
  3165. "sentry.integrationexternalproject": {
  3166. "dangling": false,
  3167. "foreign_keys": {
  3168. "organization_integration_id": {
  3169. "kind": "ImplicitForeignKey",
  3170. "model": "sentry.organizationintegration",
  3171. "nullable": false
  3172. }
  3173. },
  3174. "model": "sentry.integrationexternalproject",
  3175. "relocation_dependencies": [],
  3176. "relocation_scope": "Excluded",
  3177. "silos": [
  3178. "Control"
  3179. ],
  3180. "table_name": "sentry_integrationexternalproject",
  3181. "uniques": [
  3182. [
  3183. "external_id",
  3184. "organization_integration_id"
  3185. ]
  3186. ]
  3187. },
  3188. "sentry.integrationfeature": {
  3189. "dangling": false,
  3190. "foreign_keys": {},
  3191. "model": "sentry.integrationfeature",
  3192. "relocation_dependencies": [],
  3193. "relocation_scope": "Excluded",
  3194. "silos": [
  3195. "Control"
  3196. ],
  3197. "table_name": "sentry_integrationfeature",
  3198. "uniques": [
  3199. [
  3200. "feature",
  3201. "target_id",
  3202. "target_type"
  3203. ]
  3204. ]
  3205. },
  3206. "sentry.latestreporeleaseenvironment": {
  3207. "dangling": false,
  3208. "foreign_keys": {
  3209. "commit_id": {
  3210. "kind": "ImplicitForeignKey",
  3211. "model": "sentry.commit",
  3212. "nullable": true
  3213. },
  3214. "deploy_id": {
  3215. "kind": "ImplicitForeignKey",
  3216. "model": "sentry.deploy",
  3217. "nullable": true
  3218. },
  3219. "environment_id": {
  3220. "kind": "ImplicitForeignKey",
  3221. "model": "sentry.environment",
  3222. "nullable": false
  3223. },
  3224. "release_id": {
  3225. "kind": "ImplicitForeignKey",
  3226. "model": "sentry.release",
  3227. "nullable": false
  3228. },
  3229. "repository_id": {
  3230. "kind": "ImplicitForeignKey",
  3231. "model": "sentry.repository",
  3232. "nullable": false
  3233. }
  3234. },
  3235. "model": "sentry.latestreporeleaseenvironment",
  3236. "relocation_dependencies": [],
  3237. "relocation_scope": "Excluded",
  3238. "silos": [
  3239. "Region"
  3240. ],
  3241. "table_name": "sentry_latestrelease",
  3242. "uniques": [
  3243. [
  3244. "environment_id",
  3245. "repository_id"
  3246. ]
  3247. ]
  3248. },
  3249. "sentry.lostpasswordhash": {
  3250. "dangling": false,
  3251. "foreign_keys": {
  3252. "user": {
  3253. "kind": "FlexibleForeignKey",
  3254. "model": "sentry.user",
  3255. "nullable": false
  3256. }
  3257. },
  3258. "model": "sentry.lostpasswordhash",
  3259. "relocation_dependencies": [],
  3260. "relocation_scope": "Excluded",
  3261. "silos": [
  3262. "Control"
  3263. ],
  3264. "table_name": "sentry_lostpasswordhash",
  3265. "uniques": [
  3266. [
  3267. "user"
  3268. ]
  3269. ]
  3270. },
  3271. "sentry.metricskeyindexer": {
  3272. "dangling": false,
  3273. "foreign_keys": {},
  3274. "model": "sentry.metricskeyindexer",
  3275. "relocation_dependencies": [],
  3276. "relocation_scope": "Excluded",
  3277. "silos": [
  3278. "Region"
  3279. ],
  3280. "table_name": "sentry_metricskeyindexer",
  3281. "uniques": [
  3282. [
  3283. "string"
  3284. ]
  3285. ]
  3286. },
  3287. "sentry.monitor": {
  3288. "dangling": false,
  3289. "foreign_keys": {
  3290. "organization_id": {
  3291. "kind": "ImplicitForeignKey",
  3292. "model": "sentry.organization",
  3293. "nullable": false
  3294. },
  3295. "owner_user_id": {
  3296. "kind": "HybridCloudForeignKey",
  3297. "model": "sentry.user",
  3298. "nullable": true
  3299. },
  3300. "project_id": {
  3301. "kind": "ImplicitForeignKey",
  3302. "model": "sentry.project",
  3303. "nullable": false
  3304. }
  3305. },
  3306. "model": "sentry.monitor",
  3307. "relocation_dependencies": [],
  3308. "relocation_scope": "Organization",
  3309. "silos": [
  3310. "Region"
  3311. ],
  3312. "table_name": "sentry_monitor",
  3313. "uniques": [
  3314. [
  3315. "guid"
  3316. ],
  3317. [
  3318. "project_id",
  3319. "slug"
  3320. ]
  3321. ]
  3322. },
  3323. "sentry.monitorcheckin": {
  3324. "dangling": false,
  3325. "foreign_keys": {
  3326. "location": {
  3327. "kind": "FlexibleForeignKey",
  3328. "model": "sentry.monitorlocation",
  3329. "nullable": true
  3330. },
  3331. "monitor": {
  3332. "kind": "FlexibleForeignKey",
  3333. "model": "sentry.monitor",
  3334. "nullable": false
  3335. },
  3336. "monitor_environment": {
  3337. "kind": "FlexibleForeignKey",
  3338. "model": "sentry.monitorenvironment",
  3339. "nullable": true
  3340. },
  3341. "project_id": {
  3342. "kind": "ImplicitForeignKey",
  3343. "model": "sentry.project",
  3344. "nullable": false
  3345. }
  3346. },
  3347. "model": "sentry.monitorcheckin",
  3348. "relocation_dependencies": [],
  3349. "relocation_scope": "Excluded",
  3350. "silos": [
  3351. "Region"
  3352. ],
  3353. "table_name": "sentry_monitorcheckin",
  3354. "uniques": [
  3355. [
  3356. "guid"
  3357. ]
  3358. ]
  3359. },
  3360. "sentry.monitorenvbrokendetection": {
  3361. "dangling": false,
  3362. "foreign_keys": {
  3363. "monitor_incident": {
  3364. "kind": "FlexibleForeignKey",
  3365. "model": "sentry.monitorincident",
  3366. "nullable": false
  3367. }
  3368. },
  3369. "model": "sentry.monitorenvbrokendetection",
  3370. "relocation_dependencies": [],
  3371. "relocation_scope": "Excluded",
  3372. "silos": [
  3373. "Region"
  3374. ],
  3375. "table_name": "sentry_monitorenvbrokendetection",
  3376. "uniques": []
  3377. },
  3378. "sentry.monitorenvironment": {
  3379. "dangling": false,
  3380. "foreign_keys": {
  3381. "environment_id": {
  3382. "kind": "ImplicitForeignKey",
  3383. "model": "sentry.environment",
  3384. "nullable": false
  3385. },
  3386. "monitor": {
  3387. "kind": "FlexibleForeignKey",
  3388. "model": "sentry.monitor",
  3389. "nullable": false
  3390. }
  3391. },
  3392. "model": "sentry.monitorenvironment",
  3393. "relocation_dependencies": [],
  3394. "relocation_scope": "Excluded",
  3395. "silos": [
  3396. "Region"
  3397. ],
  3398. "table_name": "sentry_monitorenvironment",
  3399. "uniques": [
  3400. [
  3401. "environment_id",
  3402. "monitor"
  3403. ]
  3404. ]
  3405. },
  3406. "sentry.monitorincident": {
  3407. "dangling": false,
  3408. "foreign_keys": {
  3409. "monitor": {
  3410. "kind": "FlexibleForeignKey",
  3411. "model": "sentry.monitor",
  3412. "nullable": false
  3413. },
  3414. "monitor_environment": {
  3415. "kind": "FlexibleForeignKey",
  3416. "model": "sentry.monitorenvironment",
  3417. "nullable": false
  3418. },
  3419. "resolving_checkin": {
  3420. "kind": "FlexibleForeignKey",
  3421. "model": "sentry.monitorcheckin",
  3422. "nullable": true
  3423. },
  3424. "starting_checkin": {
  3425. "kind": "FlexibleForeignKey",
  3426. "model": "sentry.monitorcheckin",
  3427. "nullable": true
  3428. }
  3429. },
  3430. "model": "sentry.monitorincident",
  3431. "relocation_dependencies": [],
  3432. "relocation_scope": "Excluded",
  3433. "silos": [
  3434. "Region"
  3435. ],
  3436. "table_name": "sentry_monitorincident",
  3437. "uniques": [
  3438. [
  3439. "monitor_environment_id"
  3440. ]
  3441. ]
  3442. },
  3443. "sentry.monitorlocation": {
  3444. "dangling": false,
  3445. "foreign_keys": {},
  3446. "model": "sentry.monitorlocation",
  3447. "relocation_dependencies": [],
  3448. "relocation_scope": "Excluded",
  3449. "silos": [
  3450. "Region"
  3451. ],
  3452. "table_name": "sentry_monitorlocation",
  3453. "uniques": [
  3454. [
  3455. "guid"
  3456. ]
  3457. ]
  3458. },
  3459. "sentry.neglectedrule": {
  3460. "dangling": false,
  3461. "foreign_keys": {
  3462. "organization": {
  3463. "kind": "FlexibleForeignKey",
  3464. "model": "sentry.organization",
  3465. "nullable": false
  3466. },
  3467. "rule": {
  3468. "kind": "FlexibleForeignKey",
  3469. "model": "sentry.rule",
  3470. "nullable": false
  3471. }
  3472. },
  3473. "model": "sentry.neglectedrule",
  3474. "relocation_dependencies": [],
  3475. "relocation_scope": "Organization",
  3476. "silos": [
  3477. "Region"
  3478. ],
  3479. "table_name": "sentry_neglectedrule",
  3480. "uniques": []
  3481. },
  3482. "sentry.notificationaction": {
  3483. "dangling": false,
  3484. "foreign_keys": {
  3485. "integration_id": {
  3486. "kind": "HybridCloudForeignKey",
  3487. "model": "sentry.integration",
  3488. "nullable": true
  3489. },
  3490. "organization": {
  3491. "kind": "FlexibleForeignKey",
  3492. "model": "sentry.organization",
  3493. "nullable": false
  3494. },
  3495. "sentry_app_id": {
  3496. "kind": "HybridCloudForeignKey",
  3497. "model": "sentry.sentryapp",
  3498. "nullable": true
  3499. }
  3500. },
  3501. "model": "sentry.notificationaction",
  3502. "relocation_dependencies": [],
  3503. "relocation_scope": [
  3504. "Organization",
  3505. "Global"
  3506. ],
  3507. "silos": [
  3508. "Region"
  3509. ],
  3510. "table_name": "sentry_notificationaction",
  3511. "uniques": []
  3512. },
  3513. "sentry.notificationactionproject": {
  3514. "dangling": false,
  3515. "foreign_keys": {
  3516. "action": {
  3517. "kind": "FlexibleForeignKey",
  3518. "model": "sentry.notificationaction",
  3519. "nullable": false
  3520. },
  3521. "project": {
  3522. "kind": "FlexibleForeignKey",
  3523. "model": "sentry.project",
  3524. "nullable": false
  3525. }
  3526. },
  3527. "model": "sentry.notificationactionproject",
  3528. "relocation_dependencies": [],
  3529. "relocation_scope": [
  3530. "Organization",
  3531. "Global"
  3532. ],
  3533. "silos": [
  3534. "Region"
  3535. ],
  3536. "table_name": "sentry_notificationactionproject",
  3537. "uniques": []
  3538. },
  3539. "sentry.notificationmessage": {
  3540. "dangling": false,
  3541. "foreign_keys": {
  3542. "incident": {
  3543. "kind": "FlexibleForeignKey",
  3544. "model": "sentry.incident",
  3545. "nullable": true
  3546. },
  3547. "rule_fire_history": {
  3548. "kind": "FlexibleForeignKey",
  3549. "model": "sentry.rulefirehistory",
  3550. "nullable": true
  3551. },
  3552. "trigger_action": {
  3553. "kind": "FlexibleForeignKey",
  3554. "model": "sentry.alertruletriggeraction",
  3555. "nullable": true
  3556. }
  3557. },
  3558. "model": "sentry.notificationmessage",
  3559. "relocation_dependencies": [],
  3560. "relocation_scope": "Excluded",
  3561. "silos": [
  3562. "Region"
  3563. ],
  3564. "table_name": "sentry_notificationmessage",
  3565. "uniques": [
  3566. [
  3567. "incident",
  3568. "trigger_action"
  3569. ],
  3570. [
  3571. "rule_action_uuid",
  3572. "rule_fire_history"
  3573. ]
  3574. ]
  3575. },
  3576. "sentry.notificationsettingoption": {
  3577. "dangling": false,
  3578. "foreign_keys": {
  3579. "team_id": {
  3580. "kind": "HybridCloudForeignKey",
  3581. "model": "sentry.team",
  3582. "nullable": true
  3583. },
  3584. "user": {
  3585. "kind": "FlexibleForeignKey",
  3586. "model": "sentry.user",
  3587. "nullable": true
  3588. }
  3589. },
  3590. "model": "sentry.notificationsettingoption",
  3591. "relocation_dependencies": [],
  3592. "relocation_scope": "Excluded",
  3593. "silos": [
  3594. "Control"
  3595. ],
  3596. "table_name": "sentry_notificationsettingoption",
  3597. "uniques": [
  3598. [
  3599. "scope_identifier",
  3600. "scope_type",
  3601. "team_id",
  3602. "type",
  3603. "user_id"
  3604. ]
  3605. ]
  3606. },
  3607. "sentry.notificationsettingprovider": {
  3608. "dangling": false,
  3609. "foreign_keys": {
  3610. "team_id": {
  3611. "kind": "HybridCloudForeignKey",
  3612. "model": "sentry.team",
  3613. "nullable": true
  3614. },
  3615. "user": {
  3616. "kind": "FlexibleForeignKey",
  3617. "model": "sentry.user",
  3618. "nullable": true
  3619. }
  3620. },
  3621. "model": "sentry.notificationsettingprovider",
  3622. "relocation_dependencies": [],
  3623. "relocation_scope": "Excluded",
  3624. "silos": [
  3625. "Control"
  3626. ],
  3627. "table_name": "sentry_notificationsettingprovider",
  3628. "uniques": [
  3629. [
  3630. "provider",
  3631. "scope_identifier",
  3632. "scope_type",
  3633. "team_id",
  3634. "type",
  3635. "user_id"
  3636. ]
  3637. ]
  3638. },
  3639. "sentry.option": {
  3640. "dangling": false,
  3641. "foreign_keys": {},
  3642. "model": "sentry.option",
  3643. "relocation_dependencies": [],
  3644. "relocation_scope": "Config",
  3645. "silos": [
  3646. "Region"
  3647. ],
  3648. "table_name": "sentry_option",
  3649. "uniques": [
  3650. [
  3651. "key"
  3652. ]
  3653. ]
  3654. },
  3655. "sentry.organization": {
  3656. "dangling": false,
  3657. "foreign_keys": {},
  3658. "model": "sentry.organization",
  3659. "relocation_dependencies": [],
  3660. "relocation_scope": "Organization",
  3661. "silos": [
  3662. "Region"
  3663. ],
  3664. "table_name": "sentry_organization",
  3665. "uniques": [
  3666. [
  3667. "slug"
  3668. ]
  3669. ]
  3670. },
  3671. "sentry.organizationaccessrequest": {
  3672. "dangling": false,
  3673. "foreign_keys": {
  3674. "member": {
  3675. "kind": "FlexibleForeignKey",
  3676. "model": "sentry.organizationmember",
  3677. "nullable": false
  3678. },
  3679. "requester_id": {
  3680. "kind": "HybridCloudForeignKey",
  3681. "model": "sentry.user",
  3682. "nullable": true
  3683. },
  3684. "team": {
  3685. "kind": "FlexibleForeignKey",
  3686. "model": "sentry.team",
  3687. "nullable": false
  3688. }
  3689. },
  3690. "model": "sentry.organizationaccessrequest",
  3691. "relocation_dependencies": [],
  3692. "relocation_scope": "Organization",
  3693. "silos": [
  3694. "Region"
  3695. ],
  3696. "table_name": "sentry_organizationaccessrequest",
  3697. "uniques": [
  3698. [
  3699. "member",
  3700. "team"
  3701. ]
  3702. ]
  3703. },
  3704. "sentry.organizationavatar": {
  3705. "dangling": false,
  3706. "foreign_keys": {
  3707. "file_id": {
  3708. "kind": "ImplicitForeignKey",
  3709. "model": "sentry.file",
  3710. "nullable": true
  3711. },
  3712. "organization": {
  3713. "kind": "FlexibleForeignKey",
  3714. "model": "sentry.organization",
  3715. "nullable": false
  3716. }
  3717. },
  3718. "model": "sentry.organizationavatar",
  3719. "relocation_dependencies": [],
  3720. "relocation_scope": "Excluded",
  3721. "silos": [
  3722. "Region"
  3723. ],
  3724. "table_name": "sentry_organizationavatar",
  3725. "uniques": [
  3726. [
  3727. "file_id"
  3728. ],
  3729. [
  3730. "ident"
  3731. ],
  3732. [
  3733. "organization"
  3734. ]
  3735. ]
  3736. },
  3737. "sentry.organizationintegration": {
  3738. "dangling": false,
  3739. "foreign_keys": {
  3740. "integration": {
  3741. "kind": "FlexibleForeignKey",
  3742. "model": "sentry.integration",
  3743. "nullable": false
  3744. },
  3745. "organization_id": {
  3746. "kind": "HybridCloudForeignKey",
  3747. "model": "sentry.organization",
  3748. "nullable": false
  3749. }
  3750. },
  3751. "model": "sentry.organizationintegration",
  3752. "relocation_dependencies": [],
  3753. "relocation_scope": "Global",
  3754. "silos": [
  3755. "Control"
  3756. ],
  3757. "table_name": "sentry_organizationintegration",
  3758. "uniques": [
  3759. [
  3760. "integration",
  3761. "organization_id"
  3762. ]
  3763. ]
  3764. },
  3765. "sentry.organizationmapping": {
  3766. "dangling": false,
  3767. "foreign_keys": {
  3768. "organization_id": {
  3769. "kind": "ImplicitForeignKey",
  3770. "model": "sentry.organization",
  3771. "nullable": false
  3772. }
  3773. },
  3774. "model": "sentry.organizationmapping",
  3775. "relocation_dependencies": [],
  3776. "relocation_scope": "Excluded",
  3777. "silos": [
  3778. "Control"
  3779. ],
  3780. "table_name": "sentry_organizationmapping",
  3781. "uniques": [
  3782. [
  3783. "organization_id"
  3784. ],
  3785. [
  3786. "slug"
  3787. ]
  3788. ]
  3789. },
  3790. "sentry.organizationmember": {
  3791. "dangling": false,
  3792. "foreign_keys": {
  3793. "inviter_id": {
  3794. "kind": "HybridCloudForeignKey",
  3795. "model": "sentry.user",
  3796. "nullable": true
  3797. },
  3798. "organization": {
  3799. "kind": "FlexibleForeignKey",
  3800. "model": "sentry.organization",
  3801. "nullable": false
  3802. },
  3803. "user_id": {
  3804. "kind": "HybridCloudForeignKey",
  3805. "model": "sentry.user",
  3806. "nullable": true
  3807. }
  3808. },
  3809. "model": "sentry.organizationmember",
  3810. "relocation_dependencies": [],
  3811. "relocation_scope": "Organization",
  3812. "silos": [
  3813. "Region"
  3814. ],
  3815. "table_name": "sentry_organizationmember",
  3816. "uniques": [
  3817. [
  3818. "email",
  3819. "organization"
  3820. ],
  3821. [
  3822. "organization",
  3823. "user_id"
  3824. ],
  3825. [
  3826. "token"
  3827. ]
  3828. ]
  3829. },
  3830. "sentry.organizationmembermapping": {
  3831. "dangling": false,
  3832. "foreign_keys": {
  3833. "inviter": {
  3834. "kind": "FlexibleForeignKey",
  3835. "model": "sentry.user",
  3836. "nullable": true
  3837. },
  3838. "organization_id": {
  3839. "kind": "HybridCloudForeignKey",
  3840. "model": "sentry.organization",
  3841. "nullable": false
  3842. },
  3843. "organizationmember_id": {
  3844. "kind": "ImplicitForeignKey",
  3845. "model": "sentry.organizationmember",
  3846. "nullable": true
  3847. },
  3848. "user": {
  3849. "kind": "FlexibleForeignKey",
  3850. "model": "sentry.user",
  3851. "nullable": true
  3852. }
  3853. },
  3854. "model": "sentry.organizationmembermapping",
  3855. "relocation_dependencies": [],
  3856. "relocation_scope": "Excluded",
  3857. "silos": [
  3858. "Control"
  3859. ],
  3860. "table_name": "sentry_organizationmembermapping",
  3861. "uniques": [
  3862. [
  3863. "organization_id",
  3864. "organizationmember_id"
  3865. ]
  3866. ]
  3867. },
  3868. "sentry.organizationmemberteam": {
  3869. "dangling": false,
  3870. "foreign_keys": {
  3871. "organizationmember": {
  3872. "kind": "FlexibleForeignKey",
  3873. "model": "sentry.organizationmember",
  3874. "nullable": false
  3875. },
  3876. "team": {
  3877. "kind": "FlexibleForeignKey",
  3878. "model": "sentry.team",
  3879. "nullable": false
  3880. }
  3881. },
  3882. "model": "sentry.organizationmemberteam",
  3883. "relocation_dependencies": [],
  3884. "relocation_scope": "Organization",
  3885. "silos": [
  3886. "Region"
  3887. ],
  3888. "table_name": "sentry_organizationmember_teams",
  3889. "uniques": [
  3890. [
  3891. "organizationmember",
  3892. "team"
  3893. ]
  3894. ]
  3895. },
  3896. "sentry.organizationmemberteamreplica": {
  3897. "dangling": false,
  3898. "foreign_keys": {
  3899. "organization_id": {
  3900. "kind": "HybridCloudForeignKey",
  3901. "model": "sentry.organization",
  3902. "nullable": false
  3903. },
  3904. "organizationmember_id": {
  3905. "kind": "ImplicitForeignKey",
  3906. "model": "sentry.organizationmember",
  3907. "nullable": false
  3908. },
  3909. "organizationmemberteam_id": {
  3910. "kind": "ImplicitForeignKey",
  3911. "model": "sentry.organizationmemberteam",
  3912. "nullable": false
  3913. },
  3914. "team_id": {
  3915. "kind": "HybridCloudForeignKey",
  3916. "model": "sentry.team",
  3917. "nullable": false
  3918. }
  3919. },
  3920. "model": "sentry.organizationmemberteamreplica",
  3921. "relocation_dependencies": [],
  3922. "relocation_scope": "Excluded",
  3923. "silos": [
  3924. "Control"
  3925. ],
  3926. "table_name": "sentry_organizationmember_teamsreplica",
  3927. "uniques": [
  3928. [
  3929. "organization_id",
  3930. "organizationmember_id",
  3931. "team_id"
  3932. ]
  3933. ]
  3934. },
  3935. "sentry.organizationonboardingtask": {
  3936. "dangling": false,
  3937. "foreign_keys": {
  3938. "organization": {
  3939. "kind": "FlexibleForeignKey",
  3940. "model": "sentry.organization",
  3941. "nullable": false
  3942. },
  3943. "project": {
  3944. "kind": "FlexibleForeignKey",
  3945. "model": "sentry.project",
  3946. "nullable": true
  3947. },
  3948. "user_id": {
  3949. "kind": "HybridCloudForeignKey",
  3950. "model": "sentry.user",
  3951. "nullable": true
  3952. }
  3953. },
  3954. "model": "sentry.organizationonboardingtask",
  3955. "relocation_dependencies": [],
  3956. "relocation_scope": "Excluded",
  3957. "silos": [
  3958. "Region"
  3959. ],
  3960. "table_name": "sentry_organizationonboardingtask",
  3961. "uniques": [
  3962. [
  3963. "organization",
  3964. "task"
  3965. ]
  3966. ]
  3967. },
  3968. "sentry.organizationoption": {
  3969. "dangling": false,
  3970. "foreign_keys": {
  3971. "organization": {
  3972. "kind": "FlexibleForeignKey",
  3973. "model": "sentry.organization",
  3974. "nullable": false
  3975. }
  3976. },
  3977. "model": "sentry.organizationoption",
  3978. "relocation_dependencies": [],
  3979. "relocation_scope": "Organization",
  3980. "silos": [
  3981. "Region"
  3982. ],
  3983. "table_name": "sentry_organizationoptions",
  3984. "uniques": [
  3985. [
  3986. "key",
  3987. "organization"
  3988. ]
  3989. ]
  3990. },
  3991. "sentry.organizationslugreservation": {
  3992. "dangling": false,
  3993. "foreign_keys": {
  3994. "organization_id": {
  3995. "kind": "HybridCloudForeignKey",
  3996. "model": "sentry.organization",
  3997. "nullable": false
  3998. },
  3999. "user_id": {
  4000. "kind": "ImplicitForeignKey",
  4001. "model": "sentry.user",
  4002. "nullable": true
  4003. }
  4004. },
  4005. "model": "sentry.organizationslugreservation",
  4006. "relocation_dependencies": [],
  4007. "relocation_scope": "Excluded",
  4008. "silos": [
  4009. "Control"
  4010. ],
  4011. "table_name": "sentry_organizationslugreservation",
  4012. "uniques": [
  4013. [
  4014. "organization_id",
  4015. "reservation_type"
  4016. ],
  4017. [
  4018. "slug"
  4019. ]
  4020. ]
  4021. },
  4022. "sentry.orgauthtoken": {
  4023. "dangling": false,
  4024. "foreign_keys": {
  4025. "created_by": {
  4026. "kind": "FlexibleForeignKey",
  4027. "model": "sentry.user",
  4028. "nullable": true
  4029. },
  4030. "organization_id": {
  4031. "kind": "HybridCloudForeignKey",
  4032. "model": "sentry.organization",
  4033. "nullable": false
  4034. },
  4035. "project_last_used_id": {
  4036. "kind": "HybridCloudForeignKey",
  4037. "model": "sentry.project",
  4038. "nullable": true
  4039. }
  4040. },
  4041. "model": "sentry.orgauthtoken",
  4042. "relocation_dependencies": [],
  4043. "relocation_scope": "Organization",
  4044. "silos": [
  4045. "Control"
  4046. ],
  4047. "table_name": "sentry_orgauthtoken",
  4048. "uniques": [
  4049. [
  4050. "token_hashed"
  4051. ]
  4052. ]
  4053. },
  4054. "sentry.pendingincidentsnapshot": {
  4055. "dangling": false,
  4056. "foreign_keys": {
  4057. "incident": {
  4058. "kind": "OneToOneCascadeDeletes",
  4059. "model": "sentry.incident",
  4060. "nullable": false
  4061. }
  4062. },
  4063. "model": "sentry.pendingincidentsnapshot",
  4064. "relocation_dependencies": [],
  4065. "relocation_scope": "Organization",
  4066. "silos": [
  4067. "Region"
  4068. ],
  4069. "table_name": "sentry_pendingincidentsnapshot",
  4070. "uniques": [
  4071. [
  4072. "incident"
  4073. ]
  4074. ]
  4075. },
  4076. "sentry.perfstringindexer": {
  4077. "dangling": false,
  4078. "foreign_keys": {
  4079. "organization_id": {
  4080. "kind": "ImplicitForeignKey",
  4081. "model": "sentry.organization",
  4082. "nullable": false
  4083. }
  4084. },
  4085. "model": "sentry.perfstringindexer",
  4086. "relocation_dependencies": [],
  4087. "relocation_scope": "Excluded",
  4088. "silos": [
  4089. "Region"
  4090. ],
  4091. "table_name": "sentry_perfstringindexer",
  4092. "uniques": [
  4093. [
  4094. "organization_id",
  4095. "string",
  4096. "use_case_id"
  4097. ]
  4098. ]
  4099. },
  4100. "sentry.platformexternalissue": {
  4101. "dangling": false,
  4102. "foreign_keys": {
  4103. "group": {
  4104. "kind": "FlexibleForeignKey",
  4105. "model": "sentry.group",
  4106. "nullable": false
  4107. },
  4108. "project": {
  4109. "kind": "FlexibleForeignKey",
  4110. "model": "sentry.project",
  4111. "nullable": true
  4112. }
  4113. },
  4114. "model": "sentry.platformexternalissue",
  4115. "relocation_dependencies": [],
  4116. "relocation_scope": "Excluded",
  4117. "silos": [
  4118. "Region"
  4119. ],
  4120. "table_name": "sentry_platformexternalissue",
  4121. "uniques": [
  4122. [
  4123. "group",
  4124. "service_type"
  4125. ]
  4126. ]
  4127. },
  4128. "sentry.proguardartifactrelease": {
  4129. "dangling": false,
  4130. "foreign_keys": {
  4131. "organization_id": {
  4132. "kind": "ImplicitForeignKey",
  4133. "model": "sentry.organization",
  4134. "nullable": false
  4135. },
  4136. "project_debug_file": {
  4137. "kind": "FlexibleForeignKey",
  4138. "model": "sentry.projectdebugfile",
  4139. "nullable": false
  4140. },
  4141. "project_id": {
  4142. "kind": "ImplicitForeignKey",
  4143. "model": "sentry.project",
  4144. "nullable": false
  4145. }
  4146. },
  4147. "model": "sentry.proguardartifactrelease",
  4148. "relocation_dependencies": [],
  4149. "relocation_scope": "Excluded",
  4150. "silos": [
  4151. "Region"
  4152. ],
  4153. "table_name": "sentry_proguardartifactrelease",
  4154. "uniques": [
  4155. [
  4156. "proguard_uuid",
  4157. "project_id",
  4158. "release_name"
  4159. ]
  4160. ]
  4161. },
  4162. "sentry.project": {
  4163. "dangling": false,
  4164. "foreign_keys": {
  4165. "organization": {
  4166. "kind": "FlexibleForeignKey",
  4167. "model": "sentry.organization",
  4168. "nullable": false
  4169. },
  4170. "template": {
  4171. "kind": "FlexibleForeignKey",
  4172. "model": "sentry.projecttemplate",
  4173. "nullable": true
  4174. }
  4175. },
  4176. "model": "sentry.project",
  4177. "relocation_dependencies": [],
  4178. "relocation_scope": "Organization",
  4179. "silos": [
  4180. "Region"
  4181. ],
  4182. "table_name": "sentry_project",
  4183. "uniques": [
  4184. [
  4185. "organization",
  4186. "slug"
  4187. ]
  4188. ]
  4189. },
  4190. "sentry.projectartifactbundle": {
  4191. "dangling": false,
  4192. "foreign_keys": {
  4193. "artifact_bundle": {
  4194. "kind": "FlexibleForeignKey",
  4195. "model": "sentry.artifactbundle",
  4196. "nullable": false
  4197. },
  4198. "organization_id": {
  4199. "kind": "ImplicitForeignKey",
  4200. "model": "sentry.organization",
  4201. "nullable": false
  4202. },
  4203. "project_id": {
  4204. "kind": "ImplicitForeignKey",
  4205. "model": "sentry.project",
  4206. "nullable": false
  4207. }
  4208. },
  4209. "model": "sentry.projectartifactbundle",
  4210. "relocation_dependencies": [],
  4211. "relocation_scope": "Excluded",
  4212. "silos": [
  4213. "Region"
  4214. ],
  4215. "table_name": "sentry_projectartifactbundle",
  4216. "uniques": []
  4217. },
  4218. "sentry.projectbookmark": {
  4219. "dangling": false,
  4220. "foreign_keys": {
  4221. "project": {
  4222. "kind": "FlexibleForeignKey",
  4223. "model": "sentry.project",
  4224. "nullable": true
  4225. },
  4226. "user_id": {
  4227. "kind": "HybridCloudForeignKey",
  4228. "model": "sentry.user",
  4229. "nullable": false
  4230. }
  4231. },
  4232. "model": "sentry.projectbookmark",
  4233. "relocation_dependencies": [],
  4234. "relocation_scope": "Organization",
  4235. "silos": [
  4236. "Region"
  4237. ],
  4238. "table_name": "sentry_projectbookmark",
  4239. "uniques": [
  4240. [
  4241. "project",
  4242. "user_id"
  4243. ]
  4244. ]
  4245. },
  4246. "sentry.projectcodeowners": {
  4247. "dangling": false,
  4248. "foreign_keys": {
  4249. "project": {
  4250. "kind": "FlexibleForeignKey",
  4251. "model": "sentry.project",
  4252. "nullable": false
  4253. },
  4254. "repository_project_path_config": {
  4255. "kind": "FlexibleForeignKey",
  4256. "model": "sentry.repositoryprojectpathconfig",
  4257. "nullable": false
  4258. }
  4259. },
  4260. "model": "sentry.projectcodeowners",
  4261. "relocation_dependencies": [],
  4262. "relocation_scope": "Excluded",
  4263. "silos": [
  4264. "Region"
  4265. ],
  4266. "table_name": "sentry_projectcodeowners",
  4267. "uniques": [
  4268. [
  4269. "repository_project_path_config"
  4270. ]
  4271. ]
  4272. },
  4273. "sentry.projectdebugfile": {
  4274. "dangling": false,
  4275. "foreign_keys": {
  4276. "file": {
  4277. "kind": "FlexibleForeignKey",
  4278. "model": "sentry.file",
  4279. "nullable": false
  4280. },
  4281. "project_id": {
  4282. "kind": "ImplicitForeignKey",
  4283. "model": "sentry.project",
  4284. "nullable": true
  4285. }
  4286. },
  4287. "model": "sentry.projectdebugfile",
  4288. "relocation_dependencies": [],
  4289. "relocation_scope": "Excluded",
  4290. "silos": [
  4291. "Region"
  4292. ],
  4293. "table_name": "sentry_projectdsymfile",
  4294. "uniques": []
  4295. },
  4296. "sentry.projectintegration": {
  4297. "dangling": false,
  4298. "foreign_keys": {
  4299. "integration_id": {
  4300. "kind": "HybridCloudForeignKey",
  4301. "model": "sentry.integration",
  4302. "nullable": false
  4303. },
  4304. "project": {
  4305. "kind": "FlexibleForeignKey",
  4306. "model": "sentry.project",
  4307. "nullable": false
  4308. }
  4309. },
  4310. "model": "sentry.projectintegration",
  4311. "relocation_dependencies": [],
  4312. "relocation_scope": "Global",
  4313. "silos": [
  4314. "Region"
  4315. ],
  4316. "table_name": "sentry_projectintegration",
  4317. "uniques": [
  4318. [
  4319. "integration_id",
  4320. "project"
  4321. ]
  4322. ]
  4323. },
  4324. "sentry.projectkey": {
  4325. "dangling": false,
  4326. "foreign_keys": {
  4327. "project": {
  4328. "kind": "FlexibleForeignKey",
  4329. "model": "sentry.project",
  4330. "nullable": false
  4331. }
  4332. },
  4333. "model": "sentry.projectkey",
  4334. "relocation_dependencies": [],
  4335. "relocation_scope": "Organization",
  4336. "silos": [
  4337. "Region"
  4338. ],
  4339. "table_name": "sentry_projectkey",
  4340. "uniques": [
  4341. [
  4342. "public_key"
  4343. ],
  4344. [
  4345. "secret_key"
  4346. ]
  4347. ]
  4348. },
  4349. "sentry.projectoption": {
  4350. "dangling": false,
  4351. "foreign_keys": {
  4352. "project": {
  4353. "kind": "FlexibleForeignKey",
  4354. "model": "sentry.project",
  4355. "nullable": false
  4356. }
  4357. },
  4358. "model": "sentry.projectoption",
  4359. "relocation_dependencies": [],
  4360. "relocation_scope": "Organization",
  4361. "silos": [
  4362. "Region"
  4363. ],
  4364. "table_name": "sentry_projectoptions",
  4365. "uniques": [
  4366. [
  4367. "key",
  4368. "project"
  4369. ]
  4370. ]
  4371. },
  4372. "sentry.projectownership": {
  4373. "dangling": false,
  4374. "foreign_keys": {
  4375. "project": {
  4376. "kind": "FlexibleForeignKey",
  4377. "model": "sentry.project",
  4378. "nullable": false
  4379. }
  4380. },
  4381. "model": "sentry.projectownership",
  4382. "relocation_dependencies": [],
  4383. "relocation_scope": "Organization",
  4384. "silos": [
  4385. "Region"
  4386. ],
  4387. "table_name": "sentry_projectownership",
  4388. "uniques": [
  4389. [
  4390. "project"
  4391. ]
  4392. ]
  4393. },
  4394. "sentry.projectplatform": {
  4395. "dangling": false,
  4396. "foreign_keys": {
  4397. "project_id": {
  4398. "kind": "ImplicitForeignKey",
  4399. "model": "sentry.project",
  4400. "nullable": false
  4401. }
  4402. },
  4403. "model": "sentry.projectplatform",
  4404. "relocation_dependencies": [],
  4405. "relocation_scope": "Excluded",
  4406. "silos": [
  4407. "Region"
  4408. ],
  4409. "table_name": "sentry_projectplatform",
  4410. "uniques": [
  4411. [
  4412. "platform",
  4413. "project_id"
  4414. ]
  4415. ]
  4416. },
  4417. "sentry.projectredirect": {
  4418. "dangling": false,
  4419. "foreign_keys": {
  4420. "organization": {
  4421. "kind": "FlexibleForeignKey",
  4422. "model": "sentry.organization",
  4423. "nullable": false
  4424. },
  4425. "project": {
  4426. "kind": "FlexibleForeignKey",
  4427. "model": "sentry.project",
  4428. "nullable": false
  4429. }
  4430. },
  4431. "model": "sentry.projectredirect",
  4432. "relocation_dependencies": [],
  4433. "relocation_scope": "Organization",
  4434. "silos": [
  4435. "Region"
  4436. ],
  4437. "table_name": "sentry_projectredirect",
  4438. "uniques": [
  4439. [
  4440. "organization",
  4441. "redirect_slug"
  4442. ]
  4443. ]
  4444. },
  4445. "sentry.projectteam": {
  4446. "dangling": false,
  4447. "foreign_keys": {
  4448. "project": {
  4449. "kind": "FlexibleForeignKey",
  4450. "model": "sentry.project",
  4451. "nullable": false
  4452. },
  4453. "team": {
  4454. "kind": "FlexibleForeignKey",
  4455. "model": "sentry.team",
  4456. "nullable": false
  4457. }
  4458. },
  4459. "model": "sentry.projectteam",
  4460. "relocation_dependencies": [],
  4461. "relocation_scope": "Organization",
  4462. "silos": [
  4463. "Region"
  4464. ],
  4465. "table_name": "sentry_projectteam",
  4466. "uniques": [
  4467. [
  4468. "project",
  4469. "team"
  4470. ]
  4471. ]
  4472. },
  4473. "sentry.projecttemplate": {
  4474. "dangling": false,
  4475. "foreign_keys": {
  4476. "organization": {
  4477. "kind": "FlexibleForeignKey",
  4478. "model": "sentry.organization",
  4479. "nullable": false
  4480. }
  4481. },
  4482. "model": "sentry.projecttemplate",
  4483. "relocation_dependencies": [],
  4484. "relocation_scope": "Organization",
  4485. "silos": [
  4486. "Region"
  4487. ],
  4488. "table_name": "sentry_projecttemplate",
  4489. "uniques": [
  4490. [
  4491. "name",
  4492. "organization"
  4493. ]
  4494. ]
  4495. },
  4496. "sentry.projecttemplateoption": {
  4497. "dangling": false,
  4498. "foreign_keys": {
  4499. "project_template": {
  4500. "kind": "FlexibleForeignKey",
  4501. "model": "sentry.projecttemplate",
  4502. "nullable": false
  4503. }
  4504. },
  4505. "model": "sentry.projecttemplateoption",
  4506. "relocation_dependencies": [],
  4507. "relocation_scope": "Organization",
  4508. "silos": [
  4509. "Region"
  4510. ],
  4511. "table_name": "sentry_projecttemplateoption",
  4512. "uniques": [
  4513. [
  4514. "key",
  4515. "project_template"
  4516. ]
  4517. ]
  4518. },
  4519. "sentry.projecttransactionthreshold": {
  4520. "dangling": false,
  4521. "foreign_keys": {
  4522. "edited_by_id": {
  4523. "kind": "HybridCloudForeignKey",
  4524. "model": "sentry.user",
  4525. "nullable": true
  4526. },
  4527. "organization": {
  4528. "kind": "FlexibleForeignKey",
  4529. "model": "sentry.organization",
  4530. "nullable": false
  4531. },
  4532. "project": {
  4533. "kind": "FlexibleForeignKey",
  4534. "model": "sentry.project",
  4535. "nullable": false
  4536. }
  4537. },
  4538. "model": "sentry.projecttransactionthreshold",
  4539. "relocation_dependencies": [],
  4540. "relocation_scope": "Excluded",
  4541. "silos": [
  4542. "Region"
  4543. ],
  4544. "table_name": "sentry_projecttransactionthreshold",
  4545. "uniques": [
  4546. [
  4547. "project"
  4548. ]
  4549. ]
  4550. },
  4551. "sentry.projecttransactionthresholdoverride": {
  4552. "dangling": false,
  4553. "foreign_keys": {
  4554. "edited_by_id": {
  4555. "kind": "HybridCloudForeignKey",
  4556. "model": "sentry.user",
  4557. "nullable": true
  4558. },
  4559. "organization": {
  4560. "kind": "FlexibleForeignKey",
  4561. "model": "sentry.organization",
  4562. "nullable": false
  4563. },
  4564. "project": {
  4565. "kind": "FlexibleForeignKey",
  4566. "model": "sentry.project",
  4567. "nullable": false
  4568. }
  4569. },
  4570. "model": "sentry.projecttransactionthresholdoverride",
  4571. "relocation_dependencies": [],
  4572. "relocation_scope": "Excluded",
  4573. "silos": [
  4574. "Region"
  4575. ],
  4576. "table_name": "sentry_projecttransactionthresholdoverride",
  4577. "uniques": [
  4578. [
  4579. "project",
  4580. "transaction"
  4581. ]
  4582. ]
  4583. },
  4584. "sentry.promptsactivity": {
  4585. "dangling": false,
  4586. "foreign_keys": {
  4587. "organization_id": {
  4588. "kind": "ImplicitForeignKey",
  4589. "model": "sentry.organization",
  4590. "nullable": false
  4591. },
  4592. "project_id": {
  4593. "kind": "ImplicitForeignKey",
  4594. "model": "sentry.project",
  4595. "nullable": false
  4596. },
  4597. "user_id": {
  4598. "kind": "HybridCloudForeignKey",
  4599. "model": "sentry.user",
  4600. "nullable": false
  4601. }
  4602. },
  4603. "model": "sentry.promptsactivity",
  4604. "relocation_dependencies": [],
  4605. "relocation_scope": "Excluded",
  4606. "silos": [
  4607. "Region"
  4608. ],
  4609. "table_name": "sentry_promptsactivity",
  4610. "uniques": [
  4611. [
  4612. "feature",
  4613. "organization_id",
  4614. "project_id",
  4615. "user_id"
  4616. ]
  4617. ]
  4618. },
  4619. "sentry.pullrequest": {
  4620. "dangling": false,
  4621. "foreign_keys": {
  4622. "author": {
  4623. "kind": "FlexibleForeignKey",
  4624. "model": "sentry.commitauthor",
  4625. "nullable": true
  4626. },
  4627. "organization_id": {
  4628. "kind": "ImplicitForeignKey",
  4629. "model": "sentry.organization",
  4630. "nullable": false
  4631. },
  4632. "repository_id": {
  4633. "kind": "ImplicitForeignKey",
  4634. "model": "sentry.repository",
  4635. "nullable": false
  4636. }
  4637. },
  4638. "model": "sentry.pullrequest",
  4639. "relocation_dependencies": [],
  4640. "relocation_scope": "Excluded",
  4641. "silos": [
  4642. "Region"
  4643. ],
  4644. "table_name": "sentry_pull_request",
  4645. "uniques": [
  4646. [
  4647. "key",
  4648. "repository_id"
  4649. ]
  4650. ]
  4651. },
  4652. "sentry.pullrequestcomment": {
  4653. "dangling": false,
  4654. "foreign_keys": {
  4655. "pull_request": {
  4656. "kind": "FlexibleForeignKey",
  4657. "model": "sentry.pullrequest",
  4658. "nullable": false
  4659. }
  4660. },
  4661. "model": "sentry.pullrequestcomment",
  4662. "relocation_dependencies": [],
  4663. "relocation_scope": "Excluded",
  4664. "silos": [
  4665. "Region"
  4666. ],
  4667. "table_name": "sentry_pullrequest_comment",
  4668. "uniques": [
  4669. [
  4670. "comment_type",
  4671. "pull_request"
  4672. ]
  4673. ]
  4674. },
  4675. "sentry.pullrequestcommit": {
  4676. "dangling": false,
  4677. "foreign_keys": {
  4678. "commit": {
  4679. "kind": "FlexibleForeignKey",
  4680. "model": "sentry.commit",
  4681. "nullable": false
  4682. },
  4683. "pull_request": {
  4684. "kind": "FlexibleForeignKey",
  4685. "model": "sentry.pullrequest",
  4686. "nullable": false
  4687. }
  4688. },
  4689. "model": "sentry.pullrequestcommit",
  4690. "relocation_dependencies": [],
  4691. "relocation_scope": "Excluded",
  4692. "silos": [
  4693. "Region"
  4694. ],
  4695. "table_name": "sentry_pullrequest_commit",
  4696. "uniques": [
  4697. [
  4698. "commit",
  4699. "pull_request"
  4700. ]
  4701. ]
  4702. },
  4703. "sentry.querysubscription": {
  4704. "dangling": false,
  4705. "foreign_keys": {
  4706. "project": {
  4707. "kind": "FlexibleForeignKey",
  4708. "model": "sentry.project",
  4709. "nullable": false
  4710. },
  4711. "snuba_query": {
  4712. "kind": "FlexibleForeignKey",
  4713. "model": "sentry.snubaquery",
  4714. "nullable": true
  4715. }
  4716. },
  4717. "model": "sentry.querysubscription",
  4718. "relocation_dependencies": [],
  4719. "relocation_scope": "Organization",
  4720. "silos": [
  4721. "Region"
  4722. ],
  4723. "table_name": "sentry_querysubscription",
  4724. "uniques": [
  4725. [
  4726. "subscription_id"
  4727. ]
  4728. ]
  4729. },
  4730. "sentry.recentsearch": {
  4731. "dangling": false,
  4732. "foreign_keys": {
  4733. "organization": {
  4734. "kind": "FlexibleForeignKey",
  4735. "model": "sentry.organization",
  4736. "nullable": false
  4737. },
  4738. "user_id": {
  4739. "kind": "HybridCloudForeignKey",
  4740. "model": "sentry.user",
  4741. "nullable": false
  4742. }
  4743. },
  4744. "model": "sentry.recentsearch",
  4745. "relocation_dependencies": [],
  4746. "relocation_scope": "Organization",
  4747. "silos": [
  4748. "Region"
  4749. ],
  4750. "table_name": "sentry_recentsearch",
  4751. "uniques": [
  4752. [
  4753. "organization",
  4754. "query_hash",
  4755. "type",
  4756. "user_id"
  4757. ]
  4758. ]
  4759. },
  4760. "sentry.regionimportchunk": {
  4761. "dangling": false,
  4762. "foreign_keys": {},
  4763. "model": "sentry.regionimportchunk",
  4764. "relocation_dependencies": [],
  4765. "relocation_scope": "Excluded",
  4766. "silos": [
  4767. "Region"
  4768. ],
  4769. "table_name": "sentry_regionimportchunk",
  4770. "uniques": [
  4771. [
  4772. "import_uuid",
  4773. "min_ordinal",
  4774. "model"
  4775. ]
  4776. ]
  4777. },
  4778. "sentry.regionoutbox": {
  4779. "dangling": false,
  4780. "foreign_keys": {},
  4781. "model": "sentry.regionoutbox",
  4782. "relocation_dependencies": [],
  4783. "relocation_scope": "Excluded",
  4784. "silos": [
  4785. "Region"
  4786. ],
  4787. "table_name": "sentry_regionoutbox",
  4788. "uniques": []
  4789. },
  4790. "sentry.regionscheduleddeletion": {
  4791. "dangling": false,
  4792. "foreign_keys": {},
  4793. "model": "sentry.regionscheduleddeletion",
  4794. "relocation_dependencies": [],
  4795. "relocation_scope": "Excluded",
  4796. "silos": [
  4797. "Region"
  4798. ],
  4799. "table_name": "sentry_regionscheduleddeletion",
  4800. "uniques": [
  4801. [
  4802. "app_label",
  4803. "model_name",
  4804. "object_id"
  4805. ],
  4806. [
  4807. "guid"
  4808. ]
  4809. ]
  4810. },
  4811. "sentry.regiontombstone": {
  4812. "dangling": false,
  4813. "foreign_keys": {},
  4814. "model": "sentry.regiontombstone",
  4815. "relocation_dependencies": [],
  4816. "relocation_scope": "Excluded",
  4817. "silos": [
  4818. "Region"
  4819. ],
  4820. "table_name": "sentry_regiontombstone",
  4821. "uniques": []
  4822. },
  4823. "sentry.regressiongroup": {
  4824. "dangling": false,
  4825. "foreign_keys": {
  4826. "project_id": {
  4827. "kind": "ImplicitForeignKey",
  4828. "model": "sentry.project",
  4829. "nullable": false
  4830. }
  4831. },
  4832. "model": "sentry.regressiongroup",
  4833. "relocation_dependencies": [],
  4834. "relocation_scope": "Excluded",
  4835. "silos": [
  4836. "Region"
  4837. ],
  4838. "table_name": "sentry_regressiongroup",
  4839. "uniques": [
  4840. [
  4841. "fingerprint",
  4842. "project_id",
  4843. "type",
  4844. "version"
  4845. ]
  4846. ]
  4847. },
  4848. "sentry.relay": {
  4849. "dangling": false,
  4850. "foreign_keys": {},
  4851. "model": "sentry.relay",
  4852. "relocation_dependencies": [],
  4853. "relocation_scope": "Config",
  4854. "silos": [
  4855. "Region"
  4856. ],
  4857. "table_name": "sentry_relay",
  4858. "uniques": [
  4859. [
  4860. "relay_id"
  4861. ]
  4862. ]
  4863. },
  4864. "sentry.relayusage": {
  4865. "dangling": false,
  4866. "foreign_keys": {},
  4867. "model": "sentry.relayusage",
  4868. "relocation_dependencies": [],
  4869. "relocation_scope": "Config",
  4870. "silos": [
  4871. "Region"
  4872. ],
  4873. "table_name": "sentry_relayusage",
  4874. "uniques": [
  4875. [
  4876. "relay_id",
  4877. "version"
  4878. ]
  4879. ]
  4880. },
  4881. "sentry.release": {
  4882. "dangling": false,
  4883. "foreign_keys": {
  4884. "organization": {
  4885. "kind": "FlexibleForeignKey",
  4886. "model": "sentry.organization",
  4887. "nullable": false
  4888. },
  4889. "owner_id": {
  4890. "kind": "HybridCloudForeignKey",
  4891. "model": "sentry.user",
  4892. "nullable": true
  4893. }
  4894. },
  4895. "model": "sentry.release",
  4896. "relocation_dependencies": [],
  4897. "relocation_scope": "Excluded",
  4898. "silos": [
  4899. "Region"
  4900. ],
  4901. "table_name": "sentry_release",
  4902. "uniques": [
  4903. [
  4904. "organization",
  4905. "version"
  4906. ]
  4907. ]
  4908. },
  4909. "sentry.releaseactivity": {
  4910. "dangling": false,
  4911. "foreign_keys": {
  4912. "release": {
  4913. "kind": "FlexibleForeignKey",
  4914. "model": "sentry.release",
  4915. "nullable": false
  4916. }
  4917. },
  4918. "model": "sentry.releaseactivity",
  4919. "relocation_dependencies": [],
  4920. "relocation_scope": "Excluded",
  4921. "silos": [
  4922. "Region"
  4923. ],
  4924. "table_name": "sentry_releaseactivity",
  4925. "uniques": []
  4926. },
  4927. "sentry.releaseartifactbundle": {
  4928. "dangling": false,
  4929. "foreign_keys": {
  4930. "artifact_bundle": {
  4931. "kind": "FlexibleForeignKey",
  4932. "model": "sentry.artifactbundle",
  4933. "nullable": false
  4934. },
  4935. "organization_id": {
  4936. "kind": "ImplicitForeignKey",
  4937. "model": "sentry.organization",
  4938. "nullable": false
  4939. }
  4940. },
  4941. "model": "sentry.releaseartifactbundle",
  4942. "relocation_dependencies": [],
  4943. "relocation_scope": "Excluded",
  4944. "silos": [
  4945. "Region"
  4946. ],
  4947. "table_name": "sentry_releaseartifactbundle",
  4948. "uniques": []
  4949. },
  4950. "sentry.releasecommit": {
  4951. "dangling": false,
  4952. "foreign_keys": {
  4953. "commit": {
  4954. "kind": "FlexibleForeignKey",
  4955. "model": "sentry.commit",
  4956. "nullable": false
  4957. },
  4958. "organization_id": {
  4959. "kind": "ImplicitForeignKey",
  4960. "model": "sentry.organization",
  4961. "nullable": false
  4962. },
  4963. "project_id": {
  4964. "kind": "ImplicitForeignKey",
  4965. "model": "sentry.project",
  4966. "nullable": true
  4967. },
  4968. "release": {
  4969. "kind": "FlexibleForeignKey",
  4970. "model": "sentry.release",
  4971. "nullable": false
  4972. }
  4973. },
  4974. "model": "sentry.releasecommit",
  4975. "relocation_dependencies": [],
  4976. "relocation_scope": "Excluded",
  4977. "silos": [
  4978. "Region"
  4979. ],
  4980. "table_name": "sentry_releasecommit",
  4981. "uniques": [
  4982. [
  4983. "commit",
  4984. "release"
  4985. ],
  4986. [
  4987. "order",
  4988. "release"
  4989. ]
  4990. ]
  4991. },
  4992. "sentry.releaseenvironment": {
  4993. "dangling": false,
  4994. "foreign_keys": {
  4995. "environment": {
  4996. "kind": "FlexibleForeignKey",
  4997. "model": "sentry.environment",
  4998. "nullable": false
  4999. },
  5000. "organization": {
  5001. "kind": "FlexibleForeignKey",
  5002. "model": "sentry.organization",
  5003. "nullable": false
  5004. },
  5005. "project_id": {
  5006. "kind": "ImplicitForeignKey",
  5007. "model": "sentry.project",
  5008. "nullable": true
  5009. },
  5010. "release": {
  5011. "kind": "FlexibleForeignKey",
  5012. "model": "sentry.release",
  5013. "nullable": false
  5014. }
  5015. },
  5016. "model": "sentry.releaseenvironment",
  5017. "relocation_dependencies": [],
  5018. "relocation_scope": "Excluded",
  5019. "silos": [
  5020. "Region"
  5021. ],
  5022. "table_name": "sentry_environmentrelease",
  5023. "uniques": [
  5024. [
  5025. "environment",
  5026. "organization",
  5027. "release"
  5028. ]
  5029. ]
  5030. },
  5031. "sentry.releasefile": {
  5032. "dangling": false,
  5033. "foreign_keys": {
  5034. "file": {
  5035. "kind": "FlexibleForeignKey",
  5036. "model": "sentry.file",
  5037. "nullable": false
  5038. },
  5039. "organization_id": {
  5040. "kind": "ImplicitForeignKey",
  5041. "model": "sentry.organization",
  5042. "nullable": false
  5043. },
  5044. "project_id": {
  5045. "kind": "ImplicitForeignKey",
  5046. "model": "sentry.project",
  5047. "nullable": true
  5048. },
  5049. "release_id": {
  5050. "kind": "ImplicitForeignKey",
  5051. "model": "sentry.release",
  5052. "nullable": false
  5053. }
  5054. },
  5055. "model": "sentry.releasefile",
  5056. "relocation_dependencies": [],
  5057. "relocation_scope": "Excluded",
  5058. "silos": [
  5059. "Region"
  5060. ],
  5061. "table_name": "sentry_releasefile",
  5062. "uniques": [
  5063. [
  5064. "ident",
  5065. "release_id"
  5066. ]
  5067. ]
  5068. },
  5069. "sentry.releaseheadcommit": {
  5070. "dangling": false,
  5071. "foreign_keys": {
  5072. "commit": {
  5073. "kind": "FlexibleForeignKey",
  5074. "model": "sentry.commit",
  5075. "nullable": false
  5076. },
  5077. "organization_id": {
  5078. "kind": "ImplicitForeignKey",
  5079. "model": "sentry.organization",
  5080. "nullable": false
  5081. },
  5082. "release": {
  5083. "kind": "FlexibleForeignKey",
  5084. "model": "sentry.release",
  5085. "nullable": false
  5086. },
  5087. "repository_id": {
  5088. "kind": "ImplicitForeignKey",
  5089. "model": "sentry.repository",
  5090. "nullable": false
  5091. }
  5092. },
  5093. "model": "sentry.releaseheadcommit",
  5094. "relocation_dependencies": [],
  5095. "relocation_scope": "Excluded",
  5096. "silos": [
  5097. "Region"
  5098. ],
  5099. "table_name": "sentry_releaseheadcommit",
  5100. "uniques": [
  5101. [
  5102. "release",
  5103. "repository_id"
  5104. ]
  5105. ]
  5106. },
  5107. "sentry.releaseproject": {
  5108. "dangling": false,
  5109. "foreign_keys": {
  5110. "project": {
  5111. "kind": "FlexibleForeignKey",
  5112. "model": "sentry.project",
  5113. "nullable": false
  5114. },
  5115. "release": {
  5116. "kind": "FlexibleForeignKey",
  5117. "model": "sentry.release",
  5118. "nullable": false
  5119. }
  5120. },
  5121. "model": "sentry.releaseproject",
  5122. "relocation_dependencies": [],
  5123. "relocation_scope": "Excluded",
  5124. "silos": [
  5125. "Region"
  5126. ],
  5127. "table_name": "sentry_release_project",
  5128. "uniques": [
  5129. [
  5130. "project",
  5131. "release"
  5132. ]
  5133. ]
  5134. },
  5135. "sentry.releaseprojectenvironment": {
  5136. "dangling": false,
  5137. "foreign_keys": {
  5138. "environment": {
  5139. "kind": "FlexibleForeignKey",
  5140. "model": "sentry.environment",
  5141. "nullable": false
  5142. },
  5143. "project": {
  5144. "kind": "FlexibleForeignKey",
  5145. "model": "sentry.project",
  5146. "nullable": false
  5147. },
  5148. "release": {
  5149. "kind": "FlexibleForeignKey",
  5150. "model": "sentry.release",
  5151. "nullable": false
  5152. }
  5153. },
  5154. "model": "sentry.releaseprojectenvironment",
  5155. "relocation_dependencies": [],
  5156. "relocation_scope": "Excluded",
  5157. "silos": [
  5158. "Region"
  5159. ],
  5160. "table_name": "sentry_releaseprojectenvironment",
  5161. "uniques": [
  5162. [
  5163. "environment",
  5164. "project",
  5165. "release"
  5166. ]
  5167. ]
  5168. },
  5169. "sentry.releasethreshold": {
  5170. "dangling": false,
  5171. "foreign_keys": {
  5172. "environment": {
  5173. "kind": "FlexibleForeignKey",
  5174. "model": "sentry.environment",
  5175. "nullable": true
  5176. },
  5177. "project": {
  5178. "kind": "FlexibleForeignKey",
  5179. "model": "sentry.project",
  5180. "nullable": false
  5181. }
  5182. },
  5183. "model": "sentry.releasethreshold",
  5184. "relocation_dependencies": [],
  5185. "relocation_scope": "Excluded",
  5186. "silos": [
  5187. "Region"
  5188. ],
  5189. "table_name": "sentry_releasethreshold",
  5190. "uniques": []
  5191. },
  5192. "sentry.relocation": {
  5193. "dangling": false,
  5194. "foreign_keys": {},
  5195. "model": "sentry.relocation",
  5196. "relocation_dependencies": [
  5197. "sentry.user"
  5198. ],
  5199. "relocation_scope": "Excluded",
  5200. "silos": [
  5201. "Region"
  5202. ],
  5203. "table_name": "sentry_relocation",
  5204. "uniques": [
  5205. [
  5206. "uuid"
  5207. ]
  5208. ]
  5209. },
  5210. "sentry.relocationfile": {
  5211. "dangling": false,
  5212. "foreign_keys": {
  5213. "file": {
  5214. "kind": "FlexibleForeignKey",
  5215. "model": "sentry.file",
  5216. "nullable": false
  5217. },
  5218. "relocation": {
  5219. "kind": "FlexibleForeignKey",
  5220. "model": "sentry.relocation",
  5221. "nullable": false
  5222. }
  5223. },
  5224. "model": "sentry.relocationfile",
  5225. "relocation_dependencies": [],
  5226. "relocation_scope": "Excluded",
  5227. "silos": [
  5228. "Region"
  5229. ],
  5230. "table_name": "sentry_relocationfile",
  5231. "uniques": [
  5232. [
  5233. "file",
  5234. "relocation"
  5235. ],
  5236. [
  5237. "kind",
  5238. "relocation"
  5239. ]
  5240. ]
  5241. },
  5242. "sentry.relocationvalidation": {
  5243. "dangling": false,
  5244. "foreign_keys": {
  5245. "relocation": {
  5246. "kind": "FlexibleForeignKey",
  5247. "model": "sentry.relocation",
  5248. "nullable": false
  5249. }
  5250. },
  5251. "model": "sentry.relocationvalidation",
  5252. "relocation_dependencies": [],
  5253. "relocation_scope": "Excluded",
  5254. "silos": [
  5255. "Region"
  5256. ],
  5257. "table_name": "sentry_relocationvalidation",
  5258. "uniques": []
  5259. },
  5260. "sentry.relocationvalidationattempt": {
  5261. "dangling": false,
  5262. "foreign_keys": {
  5263. "relocation": {
  5264. "kind": "FlexibleForeignKey",
  5265. "model": "sentry.relocation",
  5266. "nullable": false
  5267. },
  5268. "relocation_validation": {
  5269. "kind": "FlexibleForeignKey",
  5270. "model": "sentry.relocationvalidation",
  5271. "nullable": false
  5272. }
  5273. },
  5274. "model": "sentry.relocationvalidationattempt",
  5275. "relocation_dependencies": [],
  5276. "relocation_scope": "Excluded",
  5277. "silos": [
  5278. "Region"
  5279. ],
  5280. "table_name": "sentry_relocationvalidationattempt",
  5281. "uniques": [
  5282. [
  5283. "build_id"
  5284. ]
  5285. ]
  5286. },
  5287. "sentry.repository": {
  5288. "dangling": false,
  5289. "foreign_keys": {
  5290. "integration_id": {
  5291. "kind": "ImplicitForeignKey",
  5292. "model": "sentry.integration",
  5293. "nullable": true
  5294. },
  5295. "organization_id": {
  5296. "kind": "ImplicitForeignKey",
  5297. "model": "sentry.organization",
  5298. "nullable": false
  5299. }
  5300. },
  5301. "model": "sentry.repository",
  5302. "relocation_dependencies": [],
  5303. "relocation_scope": "Global",
  5304. "silos": [
  5305. "Region"
  5306. ],
  5307. "table_name": "sentry_repository",
  5308. "uniques": [
  5309. [
  5310. "external_id",
  5311. "organization_id",
  5312. "provider"
  5313. ]
  5314. ]
  5315. },
  5316. "sentry.repositoryprojectpathconfig": {
  5317. "dangling": false,
  5318. "foreign_keys": {
  5319. "integration_id": {
  5320. "kind": "ImplicitForeignKey",
  5321. "model": "sentry.integration",
  5322. "nullable": false
  5323. },
  5324. "organization_id": {
  5325. "kind": "ImplicitForeignKey",
  5326. "model": "sentry.organization",
  5327. "nullable": false
  5328. },
  5329. "organization_integration_id": {
  5330. "kind": "HybridCloudForeignKey",
  5331. "model": "sentry.organizationintegration",
  5332. "nullable": false
  5333. },
  5334. "project": {
  5335. "kind": "FlexibleForeignKey",
  5336. "model": "sentry.project",
  5337. "nullable": false
  5338. },
  5339. "repository": {
  5340. "kind": "FlexibleForeignKey",
  5341. "model": "sentry.repository",
  5342. "nullable": false
  5343. }
  5344. },
  5345. "model": "sentry.repositoryprojectpathconfig",
  5346. "relocation_dependencies": [],
  5347. "relocation_scope": "Excluded",
  5348. "silos": [
  5349. "Region"
  5350. ],
  5351. "table_name": "sentry_repositoryprojectpathconfig",
  5352. "uniques": [
  5353. [
  5354. "project",
  5355. "stack_root"
  5356. ]
  5357. ]
  5358. },
  5359. "sentry.rollbackorganization": {
  5360. "dangling": false,
  5361. "foreign_keys": {
  5362. "organization": {
  5363. "kind": "FlexibleForeignKey",
  5364. "model": "sentry.organization",
  5365. "nullable": false
  5366. }
  5367. },
  5368. "model": "sentry.rollbackorganization",
  5369. "relocation_dependencies": [],
  5370. "relocation_scope": "Excluded",
  5371. "silos": [
  5372. "Region"
  5373. ],
  5374. "table_name": "sentry_rollbackorganization",
  5375. "uniques": []
  5376. },
  5377. "sentry.rollbackuser": {
  5378. "dangling": false,
  5379. "foreign_keys": {
  5380. "organization": {
  5381. "kind": "FlexibleForeignKey",
  5382. "model": "sentry.organization",
  5383. "nullable": false
  5384. },
  5385. "user_id": {
  5386. "kind": "HybridCloudForeignKey",
  5387. "model": "sentry.user",
  5388. "nullable": false
  5389. }
  5390. },
  5391. "model": "sentry.rollbackuser",
  5392. "relocation_dependencies": [],
  5393. "relocation_scope": "Excluded",
  5394. "silos": [
  5395. "Region"
  5396. ],
  5397. "table_name": "sentry_rollbackuser",
  5398. "uniques": [
  5399. [
  5400. "organization_id",
  5401. "user_id"
  5402. ],
  5403. [
  5404. "share_uuid"
  5405. ],
  5406. [
  5407. "uuid"
  5408. ]
  5409. ]
  5410. },
  5411. "sentry.rule": {
  5412. "dangling": false,
  5413. "foreign_keys": {
  5414. "environment_id": {
  5415. "kind": "ImplicitForeignKey",
  5416. "model": "sentry.environment",
  5417. "nullable": true
  5418. },
  5419. "owner_team": {
  5420. "kind": "FlexibleForeignKey",
  5421. "model": "sentry.team",
  5422. "nullable": true
  5423. },
  5424. "owner_user_id": {
  5425. "kind": "HybridCloudForeignKey",
  5426. "model": "sentry.user",
  5427. "nullable": true
  5428. },
  5429. "project": {
  5430. "kind": "FlexibleForeignKey",
  5431. "model": "sentry.project",
  5432. "nullable": false
  5433. }
  5434. },
  5435. "model": "sentry.rule",
  5436. "relocation_dependencies": [],
  5437. "relocation_scope": "Organization",
  5438. "silos": [
  5439. "Region"
  5440. ],
  5441. "table_name": "sentry_rule",
  5442. "uniques": []
  5443. },
  5444. "sentry.ruleactivity": {
  5445. "dangling": false,
  5446. "foreign_keys": {
  5447. "rule": {
  5448. "kind": "FlexibleForeignKey",
  5449. "model": "sentry.rule",
  5450. "nullable": false
  5451. },
  5452. "user_id": {
  5453. "kind": "HybridCloudForeignKey",
  5454. "model": "sentry.user",
  5455. "nullable": true
  5456. }
  5457. },
  5458. "model": "sentry.ruleactivity",
  5459. "relocation_dependencies": [],
  5460. "relocation_scope": "Organization",
  5461. "silos": [
  5462. "Region"
  5463. ],
  5464. "table_name": "sentry_ruleactivity",
  5465. "uniques": []
  5466. },
  5467. "sentry.rulefirehistory": {
  5468. "dangling": false,
  5469. "foreign_keys": {
  5470. "group": {
  5471. "kind": "FlexibleForeignKey",
  5472. "model": "sentry.group",
  5473. "nullable": false
  5474. },
  5475. "project": {
  5476. "kind": "FlexibleForeignKey",
  5477. "model": "sentry.project",
  5478. "nullable": false
  5479. },
  5480. "rule": {
  5481. "kind": "FlexibleForeignKey",
  5482. "model": "sentry.rule",
  5483. "nullable": false
  5484. }
  5485. },
  5486. "model": "sentry.rulefirehistory",
  5487. "relocation_dependencies": [],
  5488. "relocation_scope": "Excluded",
  5489. "silos": [
  5490. "Region"
  5491. ],
  5492. "table_name": "sentry_rulefirehistory",
  5493. "uniques": []
  5494. },
  5495. "sentry.rulesnooze": {
  5496. "dangling": false,
  5497. "foreign_keys": {
  5498. "alert_rule": {
  5499. "kind": "FlexibleForeignKey",
  5500. "model": "sentry.alertrule",
  5501. "nullable": true
  5502. },
  5503. "owner_id": {
  5504. "kind": "HybridCloudForeignKey",
  5505. "model": "sentry.user",
  5506. "nullable": true
  5507. },
  5508. "rule": {
  5509. "kind": "FlexibleForeignKey",
  5510. "model": "sentry.rule",
  5511. "nullable": true
  5512. },
  5513. "user_id": {
  5514. "kind": "HybridCloudForeignKey",
  5515. "model": "sentry.user",
  5516. "nullable": true
  5517. }
  5518. },
  5519. "model": "sentry.rulesnooze",
  5520. "relocation_dependencies": [],
  5521. "relocation_scope": "Organization",
  5522. "silos": [
  5523. "Region"
  5524. ],
  5525. "table_name": "sentry_rulesnooze",
  5526. "uniques": [
  5527. [
  5528. "alert_rule"
  5529. ],
  5530. [
  5531. "alert_rule",
  5532. "user_id"
  5533. ],
  5534. [
  5535. "rule"
  5536. ],
  5537. [
  5538. "rule",
  5539. "user_id"
  5540. ]
  5541. ]
  5542. },
  5543. "sentry.savedsearch": {
  5544. "dangling": false,
  5545. "foreign_keys": {
  5546. "organization": {
  5547. "kind": "FlexibleForeignKey",
  5548. "model": "sentry.organization",
  5549. "nullable": true
  5550. },
  5551. "owner_id": {
  5552. "kind": "HybridCloudForeignKey",
  5553. "model": "sentry.user",
  5554. "nullable": true
  5555. }
  5556. },
  5557. "model": "sentry.savedsearch",
  5558. "relocation_dependencies": [],
  5559. "relocation_scope": "Organization",
  5560. "silos": [
  5561. "Region"
  5562. ],
  5563. "table_name": "sentry_savedsearch",
  5564. "uniques": [
  5565. [
  5566. "is_global",
  5567. "name"
  5568. ],
  5569. [
  5570. "organization",
  5571. "owner_id",
  5572. "type"
  5573. ]
  5574. ]
  5575. },
  5576. "sentry.scheduleddeletion": {
  5577. "dangling": false,
  5578. "foreign_keys": {},
  5579. "model": "sentry.scheduleddeletion",
  5580. "relocation_dependencies": [],
  5581. "relocation_scope": "Excluded",
  5582. "silos": [
  5583. "Control"
  5584. ],
  5585. "table_name": "sentry_scheduleddeletion",
  5586. "uniques": [
  5587. [
  5588. "app_label",
  5589. "model_name",
  5590. "object_id"
  5591. ],
  5592. [
  5593. "guid"
  5594. ]
  5595. ]
  5596. },
  5597. "sentry.sentryapp": {
  5598. "dangling": false,
  5599. "foreign_keys": {
  5600. "application": {
  5601. "kind": "DefaultOneToOneField",
  5602. "model": "sentry.apiapplication",
  5603. "nullable": true
  5604. },
  5605. "creator_user": {
  5606. "kind": "FlexibleForeignKey",
  5607. "model": "sentry.user",
  5608. "nullable": true
  5609. },
  5610. "owner_id": {
  5611. "kind": "HybridCloudForeignKey",
  5612. "model": "sentry.organization",
  5613. "nullable": false
  5614. },
  5615. "proxy_user": {
  5616. "kind": "DefaultOneToOneField",
  5617. "model": "sentry.user",
  5618. "nullable": true
  5619. }
  5620. },
  5621. "model": "sentry.sentryapp",
  5622. "relocation_dependencies": [],
  5623. "relocation_scope": "Global",
  5624. "silos": [
  5625. "Control"
  5626. ],
  5627. "table_name": "sentry_sentryapp",
  5628. "uniques": [
  5629. [
  5630. "application"
  5631. ],
  5632. [
  5633. "proxy_user"
  5634. ],
  5635. [
  5636. "slug"
  5637. ]
  5638. ]
  5639. },
  5640. "sentry.sentryappavatar": {
  5641. "dangling": false,
  5642. "foreign_keys": {
  5643. "control_file_id": {
  5644. "kind": "ImplicitForeignKey",
  5645. "model": "sentry.controlfile",
  5646. "nullable": true
  5647. },
  5648. "sentry_app": {
  5649. "kind": "FlexibleForeignKey",
  5650. "model": "sentry.sentryapp",
  5651. "nullable": false
  5652. }
  5653. },
  5654. "model": "sentry.sentryappavatar",
  5655. "relocation_dependencies": [],
  5656. "relocation_scope": "Excluded",
  5657. "silos": [
  5658. "Control"
  5659. ],
  5660. "table_name": "sentry_sentryappavatar",
  5661. "uniques": [
  5662. [
  5663. "control_file_id"
  5664. ],
  5665. [
  5666. "ident"
  5667. ]
  5668. ]
  5669. },
  5670. "sentry.sentryappcomponent": {
  5671. "dangling": false,
  5672. "foreign_keys": {
  5673. "sentry_app": {
  5674. "kind": "FlexibleForeignKey",
  5675. "model": "sentry.sentryapp",
  5676. "nullable": false
  5677. }
  5678. },
  5679. "model": "sentry.sentryappcomponent",
  5680. "relocation_dependencies": [],
  5681. "relocation_scope": "Global",
  5682. "silos": [
  5683. "Control"
  5684. ],
  5685. "table_name": "sentry_sentryappcomponent",
  5686. "uniques": [
  5687. [
  5688. "uuid"
  5689. ]
  5690. ]
  5691. },
  5692. "sentry.sentryappinstallation": {
  5693. "dangling": false,
  5694. "foreign_keys": {
  5695. "api_grant": {
  5696. "kind": "DefaultOneToOneField",
  5697. "model": "sentry.apigrant",
  5698. "nullable": true
  5699. },
  5700. "api_token": {
  5701. "kind": "DefaultOneToOneField",
  5702. "model": "sentry.apitoken",
  5703. "nullable": true
  5704. },
  5705. "organization_id": {
  5706. "kind": "HybridCloudForeignKey",
  5707. "model": "sentry.organization",
  5708. "nullable": false
  5709. },
  5710. "sentry_app": {
  5711. "kind": "FlexibleForeignKey",
  5712. "model": "sentry.sentryapp",
  5713. "nullable": false
  5714. }
  5715. },
  5716. "model": "sentry.sentryappinstallation",
  5717. "relocation_dependencies": [],
  5718. "relocation_scope": "Global",
  5719. "silos": [
  5720. "Control"
  5721. ],
  5722. "table_name": "sentry_sentryappinstallation",
  5723. "uniques": [
  5724. [
  5725. "api_grant"
  5726. ],
  5727. [
  5728. "api_token"
  5729. ]
  5730. ]
  5731. },
  5732. "sentry.sentryappinstallationforprovider": {
  5733. "dangling": false,
  5734. "foreign_keys": {
  5735. "organization_id": {
  5736. "kind": "HybridCloudForeignKey",
  5737. "model": "sentry.organization",
  5738. "nullable": false
  5739. },
  5740. "sentry_app_installation": {
  5741. "kind": "FlexibleForeignKey",
  5742. "model": "sentry.sentryappinstallation",
  5743. "nullable": false
  5744. }
  5745. },
  5746. "model": "sentry.sentryappinstallationforprovider",
  5747. "relocation_dependencies": [],
  5748. "relocation_scope": "Excluded",
  5749. "silos": [
  5750. "Control"
  5751. ],
  5752. "table_name": "sentry_sentryappinstallationforprovider",
  5753. "uniques": [
  5754. [
  5755. "organization_id",
  5756. "provider"
  5757. ]
  5758. ]
  5759. },
  5760. "sentry.sentryappinstallationtoken": {
  5761. "dangling": false,
  5762. "foreign_keys": {
  5763. "api_token": {
  5764. "kind": "FlexibleForeignKey",
  5765. "model": "sentry.apitoken",
  5766. "nullable": false
  5767. },
  5768. "sentry_app_installation": {
  5769. "kind": "FlexibleForeignKey",
  5770. "model": "sentry.sentryappinstallation",
  5771. "nullable": false
  5772. }
  5773. },
  5774. "model": "sentry.sentryappinstallationtoken",
  5775. "relocation_dependencies": [],
  5776. "relocation_scope": "Excluded",
  5777. "silos": [
  5778. "Control"
  5779. ],
  5780. "table_name": "sentry_sentryappinstallationtoken",
  5781. "uniques": [
  5782. [
  5783. "api_token",
  5784. "sentry_app_installation"
  5785. ]
  5786. ]
  5787. },
  5788. "sentry.sentryshot": {
  5789. "dangling": false,
  5790. "foreign_keys": {
  5791. "organization_id": {
  5792. "kind": "HybridCloudForeignKey",
  5793. "model": "sentry.organization",
  5794. "nullable": false
  5795. }
  5796. },
  5797. "model": "sentry.sentryshot",
  5798. "relocation_dependencies": [],
  5799. "relocation_scope": "Excluded",
  5800. "silos": [
  5801. "Region"
  5802. ],
  5803. "table_name": "sentry_sentryshot",
  5804. "uniques": []
  5805. },
  5806. "sentry.servicehook": {
  5807. "dangling": false,
  5808. "foreign_keys": {
  5809. "application_id": {
  5810. "kind": "HybridCloudForeignKey",
  5811. "model": "sentry.apiapplication",
  5812. "nullable": true
  5813. },
  5814. "installation_id": {
  5815. "kind": "HybridCloudForeignKey",
  5816. "model": "sentry.sentryappinstallation",
  5817. "nullable": true
  5818. },
  5819. "organization_id": {
  5820. "kind": "ImplicitForeignKey",
  5821. "model": "sentry.organization",
  5822. "nullable": true
  5823. },
  5824. "project_id": {
  5825. "kind": "ImplicitForeignKey",
  5826. "model": "sentry.project",
  5827. "nullable": true
  5828. }
  5829. },
  5830. "model": "sentry.servicehook",
  5831. "relocation_dependencies": [],
  5832. "relocation_scope": "Global",
  5833. "silos": [
  5834. "Region"
  5835. ],
  5836. "table_name": "sentry_servicehook",
  5837. "uniques": [
  5838. [
  5839. "guid"
  5840. ]
  5841. ]
  5842. },
  5843. "sentry.servicehookproject": {
  5844. "dangling": false,
  5845. "foreign_keys": {
  5846. "project_id": {
  5847. "kind": "ImplicitForeignKey",
  5848. "model": "sentry.project",
  5849. "nullable": false
  5850. },
  5851. "service_hook": {
  5852. "kind": "FlexibleForeignKey",
  5853. "model": "sentry.servicehook",
  5854. "nullable": false
  5855. }
  5856. },
  5857. "model": "sentry.servicehookproject",
  5858. "relocation_dependencies": [],
  5859. "relocation_scope": "Excluded",
  5860. "silos": [
  5861. "Region"
  5862. ],
  5863. "table_name": "sentry_servicehookproject",
  5864. "uniques": [
  5865. [
  5866. "project_id",
  5867. "service_hook"
  5868. ]
  5869. ]
  5870. },
  5871. "sentry.snubaquery": {
  5872. "dangling": true,
  5873. "foreign_keys": {
  5874. "environment": {
  5875. "kind": "FlexibleForeignKey",
  5876. "model": "sentry.environment",
  5877. "nullable": true
  5878. }
  5879. },
  5880. "model": "sentry.snubaquery",
  5881. "relocation_dependencies": [
  5882. "sentry.organization",
  5883. "sentry.project"
  5884. ],
  5885. "relocation_scope": "Organization",
  5886. "silos": [
  5887. "Region"
  5888. ],
  5889. "table_name": "sentry_snubaquery",
  5890. "uniques": []
  5891. },
  5892. "sentry.snubaqueryeventtype": {
  5893. "dangling": false,
  5894. "foreign_keys": {
  5895. "snuba_query": {
  5896. "kind": "FlexibleForeignKey",
  5897. "model": "sentry.snubaquery",
  5898. "nullable": false
  5899. }
  5900. },
  5901. "model": "sentry.snubaqueryeventtype",
  5902. "relocation_dependencies": [],
  5903. "relocation_scope": "Organization",
  5904. "silos": [
  5905. "Region"
  5906. ],
  5907. "table_name": "sentry_snubaqueryeventtype",
  5908. "uniques": [
  5909. [
  5910. "snuba_query",
  5911. "type"
  5912. ]
  5913. ]
  5914. },
  5915. "sentry.stringindexer": {
  5916. "dangling": false,
  5917. "foreign_keys": {
  5918. "organization_id": {
  5919. "kind": "ImplicitForeignKey",
  5920. "model": "sentry.organization",
  5921. "nullable": false
  5922. }
  5923. },
  5924. "model": "sentry.stringindexer",
  5925. "relocation_dependencies": [],
  5926. "relocation_scope": "Excluded",
  5927. "silos": [
  5928. "Region"
  5929. ],
  5930. "table_name": "sentry_stringindexer",
  5931. "uniques": [
  5932. [
  5933. "organization_id",
  5934. "string"
  5935. ]
  5936. ]
  5937. },
  5938. "sentry.team": {
  5939. "dangling": false,
  5940. "foreign_keys": {
  5941. "organization": {
  5942. "kind": "FlexibleForeignKey",
  5943. "model": "sentry.organization",
  5944. "nullable": false
  5945. }
  5946. },
  5947. "model": "sentry.team",
  5948. "relocation_dependencies": [],
  5949. "relocation_scope": "Organization",
  5950. "silos": [
  5951. "Region"
  5952. ],
  5953. "table_name": "sentry_team",
  5954. "uniques": [
  5955. [
  5956. "organization",
  5957. "slug"
  5958. ]
  5959. ]
  5960. },
  5961. "sentry.teamkeytransaction": {
  5962. "dangling": false,
  5963. "foreign_keys": {
  5964. "organization": {
  5965. "kind": "FlexibleForeignKey",
  5966. "model": "sentry.organization",
  5967. "nullable": false
  5968. },
  5969. "project_team": {
  5970. "kind": "FlexibleForeignKey",
  5971. "model": "sentry.projectteam",
  5972. "nullable": true
  5973. }
  5974. },
  5975. "model": "sentry.teamkeytransaction",
  5976. "relocation_dependencies": [],
  5977. "relocation_scope": "Excluded",
  5978. "silos": [
  5979. "Region"
  5980. ],
  5981. "table_name": "sentry_performanceteamkeytransaction",
  5982. "uniques": [
  5983. [
  5984. "project_team",
  5985. "transaction"
  5986. ]
  5987. ]
  5988. },
  5989. "sentry.teamreplica": {
  5990. "dangling": false,
  5991. "foreign_keys": {
  5992. "organization_id": {
  5993. "kind": "HybridCloudForeignKey",
  5994. "model": "sentry.organization",
  5995. "nullable": false
  5996. },
  5997. "team_id": {
  5998. "kind": "HybridCloudForeignKey",
  5999. "model": "sentry.team",
  6000. "nullable": false
  6001. }
  6002. },
  6003. "model": "sentry.teamreplica",
  6004. "relocation_dependencies": [],
  6005. "relocation_scope": "Excluded",
  6006. "silos": [
  6007. "Control"
  6008. ],
  6009. "table_name": "sentry_teamreplica",
  6010. "uniques": [
  6011. [
  6012. "organization_id",
  6013. "slug"
  6014. ]
  6015. ]
  6016. },
  6017. "sentry.timeseriessnapshot": {
  6018. "dangling": true,
  6019. "foreign_keys": {},
  6020. "model": "sentry.timeseriessnapshot",
  6021. "relocation_dependencies": [
  6022. "sentry.incident"
  6023. ],
  6024. "relocation_scope": "Organization",
  6025. "silos": [
  6026. "Region"
  6027. ],
  6028. "table_name": "sentry_timeseriessnapshot",
  6029. "uniques": []
  6030. },
  6031. "sentry.user": {
  6032. "dangling": false,
  6033. "foreign_keys": {},
  6034. "model": "sentry.user",
  6035. "relocation_dependencies": [],
  6036. "relocation_scope": "User",
  6037. "silos": [
  6038. "Control"
  6039. ],
  6040. "table_name": "auth_user",
  6041. "uniques": [
  6042. [
  6043. "username"
  6044. ]
  6045. ]
  6046. },
  6047. "sentry.useravatar": {
  6048. "dangling": false,
  6049. "foreign_keys": {
  6050. "control_file_id": {
  6051. "kind": "ImplicitForeignKey",
  6052. "model": "sentry.controlfile",
  6053. "nullable": true
  6054. },
  6055. "user": {
  6056. "kind": "FlexibleForeignKey",
  6057. "model": "sentry.user",
  6058. "nullable": false
  6059. }
  6060. },
  6061. "model": "sentry.useravatar",
  6062. "relocation_dependencies": [],
  6063. "relocation_scope": "Excluded",
  6064. "silos": [
  6065. "Control"
  6066. ],
  6067. "table_name": "sentry_useravatar",
  6068. "uniques": [
  6069. [
  6070. "control_file_id"
  6071. ],
  6072. [
  6073. "ident"
  6074. ],
  6075. [
  6076. "user"
  6077. ]
  6078. ]
  6079. },
  6080. "sentry.useremail": {
  6081. "dangling": false,
  6082. "foreign_keys": {
  6083. "user": {
  6084. "kind": "FlexibleForeignKey",
  6085. "model": "sentry.user",
  6086. "nullable": false
  6087. }
  6088. },
  6089. "model": "sentry.useremail",
  6090. "relocation_dependencies": [
  6091. "sentry.email"
  6092. ],
  6093. "relocation_scope": "User",
  6094. "silos": [
  6095. "Control"
  6096. ],
  6097. "table_name": "sentry_useremail",
  6098. "uniques": [
  6099. [
  6100. "email",
  6101. "user"
  6102. ]
  6103. ]
  6104. },
  6105. "sentry.userip": {
  6106. "dangling": false,
  6107. "foreign_keys": {
  6108. "user": {
  6109. "kind": "FlexibleForeignKey",
  6110. "model": "sentry.user",
  6111. "nullable": false
  6112. }
  6113. },
  6114. "model": "sentry.userip",
  6115. "relocation_dependencies": [],
  6116. "relocation_scope": "Global",
  6117. "silos": [
  6118. "Control"
  6119. ],
  6120. "table_name": "sentry_userip",
  6121. "uniques": [
  6122. [
  6123. "ip_address",
  6124. "user"
  6125. ]
  6126. ]
  6127. },
  6128. "sentry.useroption": {
  6129. "dangling": false,
  6130. "foreign_keys": {
  6131. "organization_id": {
  6132. "kind": "HybridCloudForeignKey",
  6133. "model": "sentry.organization",
  6134. "nullable": true
  6135. },
  6136. "project_id": {
  6137. "kind": "HybridCloudForeignKey",
  6138. "model": "sentry.project",
  6139. "nullable": true
  6140. },
  6141. "user": {
  6142. "kind": "FlexibleForeignKey",
  6143. "model": "sentry.user",
  6144. "nullable": false
  6145. }
  6146. },
  6147. "model": "sentry.useroption",
  6148. "relocation_dependencies": [],
  6149. "relocation_scope": "User",
  6150. "silos": [
  6151. "Control"
  6152. ],
  6153. "table_name": "sentry_useroption",
  6154. "uniques": [
  6155. [
  6156. "key",
  6157. "organization_id",
  6158. "user"
  6159. ],
  6160. [
  6161. "key",
  6162. "project_id",
  6163. "user"
  6164. ]
  6165. ]
  6166. },
  6167. "sentry.userpermission": {
  6168. "dangling": false,
  6169. "foreign_keys": {
  6170. "user": {
  6171. "kind": "FlexibleForeignKey",
  6172. "model": "sentry.user",
  6173. "nullable": false
  6174. }
  6175. },
  6176. "model": "sentry.userpermission",
  6177. "relocation_dependencies": [],
  6178. "relocation_scope": "Config",
  6179. "silos": [
  6180. "Control"
  6181. ],
  6182. "table_name": "sentry_userpermission",
  6183. "uniques": [
  6184. [
  6185. "permission",
  6186. "user"
  6187. ]
  6188. ]
  6189. },
  6190. "sentry.userreport": {
  6191. "dangling": false,
  6192. "foreign_keys": {
  6193. "environment_id": {
  6194. "kind": "ImplicitForeignKey",
  6195. "model": "sentry.environment",
  6196. "nullable": true
  6197. },
  6198. "group_id": {
  6199. "kind": "ImplicitForeignKey",
  6200. "model": "sentry.group",
  6201. "nullable": true
  6202. },
  6203. "project_id": {
  6204. "kind": "ImplicitForeignKey",
  6205. "model": "sentry.project",
  6206. "nullable": false
  6207. }
  6208. },
  6209. "model": "sentry.userreport",
  6210. "relocation_dependencies": [],
  6211. "relocation_scope": "Excluded",
  6212. "silos": [
  6213. "Region"
  6214. ],
  6215. "table_name": "sentry_userreport",
  6216. "uniques": [
  6217. [
  6218. "event_id",
  6219. "project_id"
  6220. ]
  6221. ]
  6222. },
  6223. "sentry.userrole": {
  6224. "dangling": false,
  6225. "foreign_keys": {},
  6226. "model": "sentry.userrole",
  6227. "relocation_dependencies": [],
  6228. "relocation_scope": "Config",
  6229. "silos": [
  6230. "Control"
  6231. ],
  6232. "table_name": "sentry_userrole",
  6233. "uniques": [
  6234. [
  6235. "name"
  6236. ]
  6237. ]
  6238. },
  6239. "sentry.userroleuser": {
  6240. "dangling": false,
  6241. "foreign_keys": {
  6242. "role": {
  6243. "kind": "FlexibleForeignKey",
  6244. "model": "sentry.userrole",
  6245. "nullable": false
  6246. },
  6247. "user": {
  6248. "kind": "FlexibleForeignKey",
  6249. "model": "sentry.user",
  6250. "nullable": false
  6251. }
  6252. },
  6253. "model": "sentry.userroleuser",
  6254. "relocation_dependencies": [],
  6255. "relocation_scope": "Config",
  6256. "silos": [
  6257. "Control"
  6258. ],
  6259. "table_name": "sentry_userrole_users",
  6260. "uniques": []
  6261. },
  6262. "social_auth.usersocialauth": {
  6263. "dangling": false,
  6264. "foreign_keys": {
  6265. "user": {
  6266. "kind": "DefaultForeignKey",
  6267. "model": "sentry.user",
  6268. "nullable": false
  6269. }
  6270. },
  6271. "model": "social_auth.usersocialauth",
  6272. "relocation_dependencies": [],
  6273. "relocation_scope": "Excluded",
  6274. "silos": [
  6275. "Control"
  6276. ],
  6277. "table_name": "social_auth_usersocialauth",
  6278. "uniques": [
  6279. [
  6280. "provider",
  6281. "uid",
  6282. "user"
  6283. ]
  6284. ]
  6285. },
  6286. "uptime.projectuptimesubscription": {
  6287. "dangling": false,
  6288. "foreign_keys": {
  6289. "environment": {
  6290. "kind": "FlexibleForeignKey",
  6291. "model": "sentry.environment",
  6292. "nullable": true
  6293. },
  6294. "owner_team": {
  6295. "kind": "FlexibleForeignKey",
  6296. "model": "sentry.team",
  6297. "nullable": true
  6298. },
  6299. "owner_user_id": {
  6300. "kind": "HybridCloudForeignKey",
  6301. "model": "sentry.user",
  6302. "nullable": true
  6303. },
  6304. "project": {
  6305. "kind": "FlexibleForeignKey",
  6306. "model": "sentry.project",
  6307. "nullable": false
  6308. },
  6309. "uptime_subscription": {
  6310. "kind": "FlexibleForeignKey",
  6311. "model": "uptime.uptimesubscription",
  6312. "nullable": false
  6313. }
  6314. },
  6315. "model": "uptime.projectuptimesubscription",
  6316. "relocation_dependencies": [],
  6317. "relocation_scope": "Excluded",
  6318. "silos": [
  6319. "Region"
  6320. ],
  6321. "table_name": "uptime_projectuptimesubscription",
  6322. "uniques": [
  6323. [
  6324. "project_id",
  6325. "uptime_subscription"
  6326. ]
  6327. ]
  6328. },
  6329. "uptime.uptimesubscription": {
  6330. "dangling": false,
  6331. "foreign_keys": {},
  6332. "model": "uptime.uptimesubscription",
  6333. "relocation_dependencies": [],
  6334. "relocation_scope": "Excluded",
  6335. "silos": [
  6336. "Region"
  6337. ],
  6338. "table_name": "uptime_uptimesubscription",
  6339. "uniques": [
  6340. [],
  6341. [
  6342. "subscription_id"
  6343. ]
  6344. ]
  6345. },
  6346. "workflow_engine.action": {
  6347. "dangling": false,
  6348. "foreign_keys": {
  6349. "integration_id": {
  6350. "kind": "HybridCloudForeignKey",
  6351. "model": "sentry.integration",
  6352. "nullable": true
  6353. }
  6354. },
  6355. "model": "workflow_engine.action",
  6356. "relocation_dependencies": [],
  6357. "relocation_scope": "Excluded",
  6358. "silos": [
  6359. "Region"
  6360. ],
  6361. "table_name": "workflow_engine_action",
  6362. "uniques": []
  6363. },
  6364. "workflow_engine.datacondition": {
  6365. "dangling": false,
  6366. "foreign_keys": {
  6367. "condition_group": {
  6368. "kind": "DefaultForeignKey",
  6369. "model": "workflow_engine.dataconditiongroup",
  6370. "nullable": false
  6371. }
  6372. },
  6373. "model": "workflow_engine.datacondition",
  6374. "relocation_dependencies": [],
  6375. "relocation_scope": "Organization",
  6376. "silos": [
  6377. "Region"
  6378. ],
  6379. "table_name": "workflow_engine_datacondition",
  6380. "uniques": []
  6381. },
  6382. "workflow_engine.dataconditiongroup": {
  6383. "dangling": false,
  6384. "foreign_keys": {
  6385. "organization": {
  6386. "kind": "DefaultForeignKey",
  6387. "model": "sentry.organization",
  6388. "nullable": false
  6389. }
  6390. },
  6391. "model": "workflow_engine.dataconditiongroup",
  6392. "relocation_dependencies": [],
  6393. "relocation_scope": "Organization",
  6394. "silos": [
  6395. "Region"
  6396. ],
  6397. "table_name": "workflow_engine_dataconditiongroup",
  6398. "uniques": []
  6399. },
  6400. "workflow_engine.dataconditiongroupaction": {
  6401. "dangling": false,
  6402. "foreign_keys": {
  6403. "action": {
  6404. "kind": "FlexibleForeignKey",
  6405. "model": "workflow_engine.action",
  6406. "nullable": false
  6407. },
  6408. "condition_group": {
  6409. "kind": "FlexibleForeignKey",
  6410. "model": "workflow_engine.dataconditiongroup",
  6411. "nullable": false
  6412. }
  6413. },
  6414. "model": "workflow_engine.dataconditiongroupaction",
  6415. "relocation_dependencies": [],
  6416. "relocation_scope": "Excluded",
  6417. "silos": [
  6418. "Region"
  6419. ],
  6420. "table_name": "workflow_engine_dataconditiongroupaction",
  6421. "uniques": []
  6422. },
  6423. "workflow_engine.datasource": {
  6424. "dangling": false,
  6425. "foreign_keys": {
  6426. "organization": {
  6427. "kind": "FlexibleForeignKey",
  6428. "model": "sentry.organization",
  6429. "nullable": false
  6430. }
  6431. },
  6432. "model": "workflow_engine.datasource",
  6433. "relocation_dependencies": [],
  6434. "relocation_scope": "Organization",
  6435. "silos": [
  6436. "Region"
  6437. ],
  6438. "table_name": "workflow_engine_datasource",
  6439. "uniques": []
  6440. },
  6441. "workflow_engine.datasourcedetector": {
  6442. "dangling": false,
  6443. "foreign_keys": {
  6444. "data_source": {
  6445. "kind": "FlexibleForeignKey",
  6446. "model": "workflow_engine.datasource",
  6447. "nullable": false
  6448. },
  6449. "detector": {
  6450. "kind": "FlexibleForeignKey",
  6451. "model": "workflow_engine.detector",
  6452. "nullable": false
  6453. }
  6454. },
  6455. "model": "workflow_engine.datasourcedetector",
  6456. "relocation_dependencies": [],
  6457. "relocation_scope": "Organization",
  6458. "silos": [
  6459. "Region"
  6460. ],
  6461. "table_name": "workflow_engine_datasourcedetector",
  6462. "uniques": [
  6463. [
  6464. "data_source",
  6465. "detector"
  6466. ]
  6467. ]
  6468. },
  6469. "workflow_engine.detector": {
  6470. "dangling": false,
  6471. "foreign_keys": {
  6472. "organization": {
  6473. "kind": "FlexibleForeignKey",
  6474. "model": "sentry.organization",
  6475. "nullable": false
  6476. },
  6477. "owner_team": {
  6478. "kind": "FlexibleForeignKey",
  6479. "model": "sentry.team",
  6480. "nullable": true
  6481. },
  6482. "owner_user_id": {
  6483. "kind": "HybridCloudForeignKey",
  6484. "model": "sentry.user",
  6485. "nullable": true
  6486. },
  6487. "workflow_condition_group": {
  6488. "kind": "FlexibleForeignKey",
  6489. "model": "workflow_engine.dataconditiongroup",
  6490. "nullable": true
  6491. }
  6492. },
  6493. "model": "workflow_engine.detector",
  6494. "relocation_dependencies": [],
  6495. "relocation_scope": "Organization",
  6496. "silos": [
  6497. "Region"
  6498. ],
  6499. "table_name": "workflow_engine_detector",
  6500. "uniques": [
  6501. [
  6502. "name",
  6503. "organization"
  6504. ],
  6505. [
  6506. "workflow_condition_group"
  6507. ]
  6508. ]
  6509. },
  6510. "workflow_engine.detectorstate": {
  6511. "dangling": false,
  6512. "foreign_keys": {
  6513. "detector": {
  6514. "kind": "FlexibleForeignKey",
  6515. "model": "workflow_engine.detector",
  6516. "nullable": false
  6517. }
  6518. },
  6519. "model": "workflow_engine.detectorstate",
  6520. "relocation_dependencies": [],
  6521. "relocation_scope": "Excluded",
  6522. "silos": [
  6523. "Region"
  6524. ],
  6525. "table_name": "workflow_engine_detectorstate",
  6526. "uniques": [
  6527. []
  6528. ]
  6529. },
  6530. "workflow_engine.detectorworkflow": {
  6531. "dangling": false,
  6532. "foreign_keys": {
  6533. "detector": {
  6534. "kind": "FlexibleForeignKey",
  6535. "model": "workflow_engine.detector",
  6536. "nullable": false
  6537. },
  6538. "workflow": {
  6539. "kind": "FlexibleForeignKey",
  6540. "model": "workflow_engine.workflow",
  6541. "nullable": false
  6542. }
  6543. },
  6544. "model": "workflow_engine.detectorworkflow",
  6545. "relocation_dependencies": [],
  6546. "relocation_scope": "Organization",
  6547. "silos": [
  6548. "Region"
  6549. ],
  6550. "table_name": "workflow_engine_detectorworkflow",
  6551. "uniques": []
  6552. },
  6553. "workflow_engine.workflow": {
  6554. "dangling": false,
  6555. "foreign_keys": {
  6556. "organization": {
  6557. "kind": "FlexibleForeignKey",
  6558. "model": "sentry.organization",
  6559. "nullable": false
  6560. },
  6561. "when_condition_group": {
  6562. "kind": "FlexibleForeignKey",
  6563. "model": "workflow_engine.dataconditiongroup",
  6564. "nullable": true
  6565. }
  6566. },
  6567. "model": "workflow_engine.workflow",
  6568. "relocation_dependencies": [],
  6569. "relocation_scope": "Organization",
  6570. "silos": [
  6571. "Region"
  6572. ],
  6573. "table_name": "workflow_engine_workflow",
  6574. "uniques": [
  6575. [
  6576. "name",
  6577. "organization"
  6578. ]
  6579. ]
  6580. },
  6581. "workflow_engine.workflowdataconditiongroup": {
  6582. "dangling": false,
  6583. "foreign_keys": {
  6584. "condition_group": {
  6585. "kind": "FlexibleForeignKey",
  6586. "model": "workflow_engine.dataconditiongroup",
  6587. "nullable": false
  6588. },
  6589. "workflow": {
  6590. "kind": "FlexibleForeignKey",
  6591. "model": "workflow_engine.workflow",
  6592. "nullable": false
  6593. }
  6594. },
  6595. "model": "workflow_engine.workflowdataconditiongroup",
  6596. "relocation_dependencies": [],
  6597. "relocation_scope": "Organization",
  6598. "silos": [
  6599. "Region"
  6600. ],
  6601. "table_name": "workflow_engine_workflowdataconditiongroup",
  6602. "uniques": [
  6603. [
  6604. "condition_group"
  6605. ]
  6606. ]
  6607. }
  6608. }