detailed.json 131 KB

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