detailed.json 146 KB

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