detailed.json 138 KB

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