detailed.json 134 KB

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