detailed.json 137 KB

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