detailed.json 138 KB

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