detailed.json 130 KB

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