detailed.json 136 KB

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