detailed.json 149 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754
  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.dashboardfavoriteuser": {
  1394. "dangling": false,
  1395. "foreign_keys": {
  1396. "dashboard": {
  1397. "kind": "FlexibleForeignKey",
  1398. "model": "sentry.dashboard",
  1399. "nullable": false
  1400. },
  1401. "user_id": {
  1402. "kind": "HybridCloudForeignKey",
  1403. "model": "sentry.user",
  1404. "nullable": false
  1405. }
  1406. },
  1407. "model": "sentry.dashboardfavoriteuser",
  1408. "relocation_dependencies": [],
  1409. "relocation_scope": "Organization",
  1410. "silos": [
  1411. "Region"
  1412. ],
  1413. "table_name": "sentry_dashboardfavoriteuser",
  1414. "uniques": [
  1415. [
  1416. "dashboard",
  1417. "user_id"
  1418. ]
  1419. ]
  1420. },
  1421. "sentry.dashboardpermissions": {
  1422. "dangling": false,
  1423. "foreign_keys": {
  1424. "dashboard": {
  1425. "kind": "DefaultOneToOneField",
  1426. "model": "sentry.dashboard",
  1427. "nullable": false
  1428. }
  1429. },
  1430. "model": "sentry.dashboardpermissions",
  1431. "relocation_dependencies": [],
  1432. "relocation_scope": "Organization",
  1433. "silos": [
  1434. "Region"
  1435. ],
  1436. "table_name": "sentry_dashboardpermissions",
  1437. "uniques": [
  1438. [
  1439. "dashboard"
  1440. ]
  1441. ]
  1442. },
  1443. "sentry.dashboardpermissionsteam": {
  1444. "dangling": false,
  1445. "foreign_keys": {
  1446. "permissions": {
  1447. "kind": "FlexibleForeignKey",
  1448. "model": "sentry.dashboardpermissions",
  1449. "nullable": false
  1450. },
  1451. "team": {
  1452. "kind": "FlexibleForeignKey",
  1453. "model": "sentry.team",
  1454. "nullable": false
  1455. }
  1456. },
  1457. "model": "sentry.dashboardpermissionsteam",
  1458. "relocation_dependencies": [],
  1459. "relocation_scope": "Organization",
  1460. "silos": [
  1461. "Region"
  1462. ],
  1463. "table_name": "sentry_dashboardpermissionsteam",
  1464. "uniques": [
  1465. [
  1466. "permissions",
  1467. "team"
  1468. ]
  1469. ]
  1470. },
  1471. "sentry.dashboardproject": {
  1472. "dangling": false,
  1473. "foreign_keys": {
  1474. "dashboard": {
  1475. "kind": "FlexibleForeignKey",
  1476. "model": "sentry.dashboard",
  1477. "nullable": false
  1478. },
  1479. "project": {
  1480. "kind": "FlexibleForeignKey",
  1481. "model": "sentry.project",
  1482. "nullable": false
  1483. }
  1484. },
  1485. "model": "sentry.dashboardproject",
  1486. "relocation_dependencies": [],
  1487. "relocation_scope": "Excluded",
  1488. "silos": [
  1489. "Region"
  1490. ],
  1491. "table_name": "sentry_dashboardproject",
  1492. "uniques": [
  1493. [
  1494. "dashboard",
  1495. "project"
  1496. ]
  1497. ]
  1498. },
  1499. "sentry.dashboardtombstone": {
  1500. "dangling": false,
  1501. "foreign_keys": {
  1502. "organization": {
  1503. "kind": "FlexibleForeignKey",
  1504. "model": "sentry.organization",
  1505. "nullable": false
  1506. }
  1507. },
  1508. "model": "sentry.dashboardtombstone",
  1509. "relocation_dependencies": [],
  1510. "relocation_scope": "Organization",
  1511. "silos": [
  1512. "Region"
  1513. ],
  1514. "table_name": "sentry_dashboardtombstone",
  1515. "uniques": [
  1516. [
  1517. "organization",
  1518. "slug"
  1519. ]
  1520. ]
  1521. },
  1522. "sentry.dashboardwidget": {
  1523. "dangling": false,
  1524. "foreign_keys": {
  1525. "dashboard": {
  1526. "kind": "FlexibleForeignKey",
  1527. "model": "sentry.dashboard",
  1528. "nullable": false
  1529. }
  1530. },
  1531. "model": "sentry.dashboardwidget",
  1532. "relocation_dependencies": [],
  1533. "relocation_scope": "Organization",
  1534. "silos": [
  1535. "Region"
  1536. ],
  1537. "table_name": "sentry_dashboardwidget",
  1538. "uniques": [
  1539. [
  1540. "dashboard",
  1541. "order"
  1542. ]
  1543. ]
  1544. },
  1545. "sentry.dashboardwidgetquery": {
  1546. "dangling": false,
  1547. "foreign_keys": {
  1548. "widget": {
  1549. "kind": "FlexibleForeignKey",
  1550. "model": "sentry.dashboardwidget",
  1551. "nullable": false
  1552. }
  1553. },
  1554. "model": "sentry.dashboardwidgetquery",
  1555. "relocation_dependencies": [],
  1556. "relocation_scope": "Organization",
  1557. "silos": [
  1558. "Region"
  1559. ],
  1560. "table_name": "sentry_dashboardwidgetquery",
  1561. "uniques": [
  1562. [
  1563. "order",
  1564. "widget"
  1565. ]
  1566. ]
  1567. },
  1568. "sentry.dashboardwidgetqueryondemand": {
  1569. "dangling": false,
  1570. "foreign_keys": {
  1571. "dashboard_widget_query": {
  1572. "kind": "FlexibleForeignKey",
  1573. "model": "sentry.dashboardwidgetquery",
  1574. "nullable": false
  1575. }
  1576. },
  1577. "model": "sentry.dashboardwidgetqueryondemand",
  1578. "relocation_dependencies": [],
  1579. "relocation_scope": "Organization",
  1580. "silos": [
  1581. "Region"
  1582. ],
  1583. "table_name": "sentry_dashboardwidgetqueryondemand",
  1584. "uniques": []
  1585. },
  1586. "sentry.datasecrecywaiver": {
  1587. "dangling": false,
  1588. "foreign_keys": {
  1589. "organization": {
  1590. "kind": "FlexibleForeignKey",
  1591. "model": "sentry.organization",
  1592. "nullable": false
  1593. }
  1594. },
  1595. "model": "sentry.datasecrecywaiver",
  1596. "relocation_dependencies": [],
  1597. "relocation_scope": "Organization",
  1598. "silos": [
  1599. "Region"
  1600. ],
  1601. "table_name": "sentry_datasecrecywaiver",
  1602. "uniques": [
  1603. [
  1604. "organization"
  1605. ]
  1606. ]
  1607. },
  1608. "sentry.debugidartifactbundle": {
  1609. "dangling": false,
  1610. "foreign_keys": {
  1611. "artifact_bundle": {
  1612. "kind": "FlexibleForeignKey",
  1613. "model": "sentry.artifactbundle",
  1614. "nullable": false
  1615. },
  1616. "organization_id": {
  1617. "kind": "ImplicitForeignKey",
  1618. "model": "sentry.organization",
  1619. "nullable": false
  1620. }
  1621. },
  1622. "model": "sentry.debugidartifactbundle",
  1623. "relocation_dependencies": [],
  1624. "relocation_scope": "Excluded",
  1625. "silos": [
  1626. "Region"
  1627. ],
  1628. "table_name": "sentry_debugidartifactbundle",
  1629. "uniques": []
  1630. },
  1631. "sentry.deletedorganization": {
  1632. "dangling": false,
  1633. "foreign_keys": {},
  1634. "model": "sentry.deletedorganization",
  1635. "relocation_dependencies": [],
  1636. "relocation_scope": "Excluded",
  1637. "silos": [
  1638. "Region"
  1639. ],
  1640. "table_name": "sentry_deletedorganization",
  1641. "uniques": []
  1642. },
  1643. "sentry.deletedproject": {
  1644. "dangling": false,
  1645. "foreign_keys": {
  1646. "organization_id": {
  1647. "kind": "ImplicitForeignKey",
  1648. "model": "sentry.organization",
  1649. "nullable": true
  1650. }
  1651. },
  1652. "model": "sentry.deletedproject",
  1653. "relocation_dependencies": [],
  1654. "relocation_scope": "Excluded",
  1655. "silos": [
  1656. "Region"
  1657. ],
  1658. "table_name": "sentry_deletedproject",
  1659. "uniques": []
  1660. },
  1661. "sentry.deletedteam": {
  1662. "dangling": false,
  1663. "foreign_keys": {
  1664. "organization_id": {
  1665. "kind": "ImplicitForeignKey",
  1666. "model": "sentry.organization",
  1667. "nullable": true
  1668. }
  1669. },
  1670. "model": "sentry.deletedteam",
  1671. "relocation_dependencies": [],
  1672. "relocation_scope": "Excluded",
  1673. "silos": [
  1674. "Region"
  1675. ],
  1676. "table_name": "sentry_deletedteam",
  1677. "uniques": []
  1678. },
  1679. "sentry.deploy": {
  1680. "dangling": false,
  1681. "foreign_keys": {
  1682. "environment_id": {
  1683. "kind": "ImplicitForeignKey",
  1684. "model": "sentry.environment",
  1685. "nullable": false
  1686. },
  1687. "organization_id": {
  1688. "kind": "ImplicitForeignKey",
  1689. "model": "sentry.organization",
  1690. "nullable": false
  1691. },
  1692. "release": {
  1693. "kind": "FlexibleForeignKey",
  1694. "model": "sentry.release",
  1695. "nullable": false
  1696. }
  1697. },
  1698. "model": "sentry.deploy",
  1699. "relocation_dependencies": [],
  1700. "relocation_scope": "Excluded",
  1701. "silos": [
  1702. "Region"
  1703. ],
  1704. "table_name": "sentry_deploy",
  1705. "uniques": []
  1706. },
  1707. "sentry.discoversavedquery": {
  1708. "dangling": false,
  1709. "foreign_keys": {
  1710. "created_by_id": {
  1711. "kind": "HybridCloudForeignKey",
  1712. "model": "sentry.user",
  1713. "nullable": true
  1714. },
  1715. "organization": {
  1716. "kind": "FlexibleForeignKey",
  1717. "model": "sentry.organization",
  1718. "nullable": false
  1719. }
  1720. },
  1721. "model": "sentry.discoversavedquery",
  1722. "relocation_dependencies": [],
  1723. "relocation_scope": "Excluded",
  1724. "silos": [
  1725. "Region"
  1726. ],
  1727. "table_name": "sentry_discoversavedquery",
  1728. "uniques": [
  1729. [
  1730. "created_by_id",
  1731. "is_homepage",
  1732. "organization"
  1733. ]
  1734. ]
  1735. },
  1736. "sentry.discoversavedqueryproject": {
  1737. "dangling": false,
  1738. "foreign_keys": {
  1739. "discover_saved_query": {
  1740. "kind": "FlexibleForeignKey",
  1741. "model": "sentry.discoversavedquery",
  1742. "nullable": false
  1743. },
  1744. "project": {
  1745. "kind": "FlexibleForeignKey",
  1746. "model": "sentry.project",
  1747. "nullable": false
  1748. }
  1749. },
  1750. "model": "sentry.discoversavedqueryproject",
  1751. "relocation_dependencies": [],
  1752. "relocation_scope": "Excluded",
  1753. "silos": [
  1754. "Region"
  1755. ],
  1756. "table_name": "sentry_discoversavedqueryproject",
  1757. "uniques": [
  1758. [
  1759. "discover_saved_query",
  1760. "project"
  1761. ]
  1762. ]
  1763. },
  1764. "sentry.distribution": {
  1765. "dangling": false,
  1766. "foreign_keys": {
  1767. "organization_id": {
  1768. "kind": "ImplicitForeignKey",
  1769. "model": "sentry.organization",
  1770. "nullable": false
  1771. },
  1772. "release": {
  1773. "kind": "FlexibleForeignKey",
  1774. "model": "sentry.release",
  1775. "nullable": false
  1776. }
  1777. },
  1778. "model": "sentry.distribution",
  1779. "relocation_dependencies": [],
  1780. "relocation_scope": "Excluded",
  1781. "silos": [
  1782. "Region"
  1783. ],
  1784. "table_name": "sentry_distribution",
  1785. "uniques": [
  1786. [
  1787. "name",
  1788. "release"
  1789. ]
  1790. ]
  1791. },
  1792. "sentry.docintegration": {
  1793. "dangling": false,
  1794. "foreign_keys": {},
  1795. "model": "sentry.docintegration",
  1796. "relocation_dependencies": [],
  1797. "relocation_scope": "Excluded",
  1798. "silos": [
  1799. "Control"
  1800. ],
  1801. "table_name": "sentry_docintegration",
  1802. "uniques": [
  1803. [
  1804. "slug"
  1805. ]
  1806. ]
  1807. },
  1808. "sentry.docintegrationavatar": {
  1809. "dangling": false,
  1810. "foreign_keys": {
  1811. "control_file_id": {
  1812. "kind": "ImplicitForeignKey",
  1813. "model": "sentry.controlfile",
  1814. "nullable": true
  1815. },
  1816. "doc_integration": {
  1817. "kind": "FlexibleForeignKey",
  1818. "model": "sentry.docintegration",
  1819. "nullable": false
  1820. }
  1821. },
  1822. "model": "sentry.docintegrationavatar",
  1823. "relocation_dependencies": [],
  1824. "relocation_scope": "Excluded",
  1825. "silos": [
  1826. "Control"
  1827. ],
  1828. "table_name": "sentry_docintegrationavatar",
  1829. "uniques": [
  1830. [
  1831. "control_file_id"
  1832. ],
  1833. [
  1834. "ident"
  1835. ]
  1836. ]
  1837. },
  1838. "sentry.email": {
  1839. "dangling": true,
  1840. "foreign_keys": {},
  1841. "model": "sentry.email",
  1842. "relocation_dependencies": [
  1843. "sentry.user"
  1844. ],
  1845. "relocation_scope": "User",
  1846. "silos": [
  1847. "Control"
  1848. ],
  1849. "table_name": "sentry_email",
  1850. "uniques": [
  1851. [
  1852. "email"
  1853. ]
  1854. ]
  1855. },
  1856. "sentry.environment": {
  1857. "dangling": false,
  1858. "foreign_keys": {
  1859. "organization_id": {
  1860. "kind": "ImplicitForeignKey",
  1861. "model": "sentry.organization",
  1862. "nullable": false
  1863. }
  1864. },
  1865. "model": "sentry.environment",
  1866. "relocation_dependencies": [],
  1867. "relocation_scope": "Organization",
  1868. "silos": [
  1869. "Region"
  1870. ],
  1871. "table_name": "sentry_environment",
  1872. "uniques": [
  1873. [
  1874. "name",
  1875. "organization_id"
  1876. ]
  1877. ]
  1878. },
  1879. "sentry.environmentproject": {
  1880. "dangling": false,
  1881. "foreign_keys": {
  1882. "environment": {
  1883. "kind": "FlexibleForeignKey",
  1884. "model": "sentry.environment",
  1885. "nullable": false
  1886. },
  1887. "project": {
  1888. "kind": "FlexibleForeignKey",
  1889. "model": "sentry.project",
  1890. "nullable": false
  1891. }
  1892. },
  1893. "model": "sentry.environmentproject",
  1894. "relocation_dependencies": [],
  1895. "relocation_scope": "Organization",
  1896. "silos": [
  1897. "Region"
  1898. ],
  1899. "table_name": "sentry_environmentproject",
  1900. "uniques": [
  1901. [
  1902. "environment",
  1903. "project"
  1904. ]
  1905. ]
  1906. },
  1907. "sentry.eventattachment": {
  1908. "dangling": false,
  1909. "foreign_keys": {
  1910. "file_id": {
  1911. "kind": "ImplicitForeignKey",
  1912. "model": "sentry.file",
  1913. "nullable": true
  1914. },
  1915. "group_id": {
  1916. "kind": "ImplicitForeignKey",
  1917. "model": "sentry.group",
  1918. "nullable": true
  1919. },
  1920. "project_id": {
  1921. "kind": "ImplicitForeignKey",
  1922. "model": "sentry.project",
  1923. "nullable": false
  1924. }
  1925. },
  1926. "model": "sentry.eventattachment",
  1927. "relocation_dependencies": [],
  1928. "relocation_scope": "Excluded",
  1929. "silos": [
  1930. "Region"
  1931. ],
  1932. "table_name": "sentry_eventattachment",
  1933. "uniques": []
  1934. },
  1935. "sentry.exporteddata": {
  1936. "dangling": false,
  1937. "foreign_keys": {
  1938. "file_id": {
  1939. "kind": "ImplicitForeignKey",
  1940. "model": "sentry.file",
  1941. "nullable": true
  1942. },
  1943. "organization": {
  1944. "kind": "FlexibleForeignKey",
  1945. "model": "sentry.organization",
  1946. "nullable": false
  1947. },
  1948. "user_id": {
  1949. "kind": "HybridCloudForeignKey",
  1950. "model": "sentry.user",
  1951. "nullable": true
  1952. }
  1953. },
  1954. "model": "sentry.exporteddata",
  1955. "relocation_dependencies": [],
  1956. "relocation_scope": "Excluded",
  1957. "silos": [
  1958. "Region"
  1959. ],
  1960. "table_name": "sentry_exporteddata",
  1961. "uniques": []
  1962. },
  1963. "sentry.exporteddatablob": {
  1964. "dangling": false,
  1965. "foreign_keys": {
  1966. "data_export": {
  1967. "kind": "FlexibleForeignKey",
  1968. "model": "sentry.exporteddata",
  1969. "nullable": false
  1970. }
  1971. },
  1972. "model": "sentry.exporteddatablob",
  1973. "relocation_dependencies": [],
  1974. "relocation_scope": "Excluded",
  1975. "silos": [
  1976. "Region"
  1977. ],
  1978. "table_name": "sentry_exporteddatablob",
  1979. "uniques": [
  1980. [
  1981. "blob_id",
  1982. "data_export",
  1983. "offset"
  1984. ]
  1985. ]
  1986. },
  1987. "sentry.externalactor": {
  1988. "dangling": false,
  1989. "foreign_keys": {
  1990. "integration_id": {
  1991. "kind": "HybridCloudForeignKey",
  1992. "model": "sentry.integration",
  1993. "nullable": false
  1994. },
  1995. "organization": {
  1996. "kind": "FlexibleForeignKey",
  1997. "model": "sentry.organization",
  1998. "nullable": false
  1999. },
  2000. "team": {
  2001. "kind": "FlexibleForeignKey",
  2002. "model": "sentry.team",
  2003. "nullable": true
  2004. },
  2005. "user_id": {
  2006. "kind": "HybridCloudForeignKey",
  2007. "model": "sentry.user",
  2008. "nullable": true
  2009. }
  2010. },
  2011. "model": "sentry.externalactor",
  2012. "relocation_dependencies": [],
  2013. "relocation_scope": "Excluded",
  2014. "silos": [
  2015. "Region"
  2016. ],
  2017. "table_name": "sentry_externalactor",
  2018. "uniques": [
  2019. [
  2020. "external_name",
  2021. "organization",
  2022. "provider",
  2023. "team_id"
  2024. ],
  2025. [
  2026. "external_name",
  2027. "organization",
  2028. "provider",
  2029. "user_id"
  2030. ]
  2031. ]
  2032. },
  2033. "sentry.externalissue": {
  2034. "dangling": false,
  2035. "foreign_keys": {
  2036. "integration_id": {
  2037. "kind": "HybridCloudForeignKey",
  2038. "model": "sentry.integration",
  2039. "nullable": false
  2040. },
  2041. "organization": {
  2042. "kind": "FlexibleForeignKey",
  2043. "model": "sentry.organization",
  2044. "nullable": false
  2045. }
  2046. },
  2047. "model": "sentry.externalissue",
  2048. "relocation_dependencies": [],
  2049. "relocation_scope": "Excluded",
  2050. "silos": [
  2051. "Region"
  2052. ],
  2053. "table_name": "sentry_externalissue",
  2054. "uniques": [
  2055. [
  2056. "integration_id",
  2057. "key",
  2058. "organization"
  2059. ]
  2060. ]
  2061. },
  2062. "sentry.featureadoption": {
  2063. "dangling": false,
  2064. "foreign_keys": {
  2065. "organization": {
  2066. "kind": "FlexibleForeignKey",
  2067. "model": "sentry.organization",
  2068. "nullable": false
  2069. }
  2070. },
  2071. "model": "sentry.featureadoption",
  2072. "relocation_dependencies": [],
  2073. "relocation_scope": "Excluded",
  2074. "silos": [
  2075. "Region"
  2076. ],
  2077. "table_name": "sentry_featureadoption",
  2078. "uniques": [
  2079. [
  2080. "feature_id",
  2081. "organization"
  2082. ]
  2083. ]
  2084. },
  2085. "sentry.file": {
  2086. "dangling": false,
  2087. "foreign_keys": {
  2088. "blob": {
  2089. "kind": "FlexibleForeignKey",
  2090. "model": "sentry.fileblob",
  2091. "nullable": true
  2092. }
  2093. },
  2094. "model": "sentry.file",
  2095. "relocation_dependencies": [],
  2096. "relocation_scope": "Excluded",
  2097. "silos": [
  2098. "Region"
  2099. ],
  2100. "table_name": "sentry_file",
  2101. "uniques": []
  2102. },
  2103. "sentry.fileblob": {
  2104. "dangling": false,
  2105. "foreign_keys": {},
  2106. "model": "sentry.fileblob",
  2107. "relocation_dependencies": [],
  2108. "relocation_scope": "Excluded",
  2109. "silos": [
  2110. "Region"
  2111. ],
  2112. "table_name": "sentry_fileblob",
  2113. "uniques": [
  2114. [
  2115. "checksum"
  2116. ]
  2117. ]
  2118. },
  2119. "sentry.fileblobindex": {
  2120. "dangling": false,
  2121. "foreign_keys": {
  2122. "blob": {
  2123. "kind": "FlexibleForeignKey",
  2124. "model": "sentry.fileblob",
  2125. "nullable": false
  2126. },
  2127. "file": {
  2128. "kind": "FlexibleForeignKey",
  2129. "model": "sentry.file",
  2130. "nullable": false
  2131. }
  2132. },
  2133. "model": "sentry.fileblobindex",
  2134. "relocation_dependencies": [],
  2135. "relocation_scope": "Excluded",
  2136. "silos": [
  2137. "Region"
  2138. ],
  2139. "table_name": "sentry_fileblobindex",
  2140. "uniques": [
  2141. [
  2142. "blob",
  2143. "file",
  2144. "offset"
  2145. ]
  2146. ]
  2147. },
  2148. "sentry.fileblobowner": {
  2149. "dangling": false,
  2150. "foreign_keys": {
  2151. "blob": {
  2152. "kind": "FlexibleForeignKey",
  2153. "model": "sentry.fileblob",
  2154. "nullable": false
  2155. },
  2156. "organization_id": {
  2157. "kind": "ImplicitForeignKey",
  2158. "model": "sentry.organization",
  2159. "nullable": false
  2160. }
  2161. },
  2162. "model": "sentry.fileblobowner",
  2163. "relocation_dependencies": [],
  2164. "relocation_scope": "Excluded",
  2165. "silos": [
  2166. "Region"
  2167. ],
  2168. "table_name": "sentry_fileblobowner",
  2169. "uniques": [
  2170. [
  2171. "blob",
  2172. "organization_id"
  2173. ]
  2174. ]
  2175. },
  2176. "sentry.group": {
  2177. "dangling": false,
  2178. "foreign_keys": {
  2179. "first_release": {
  2180. "kind": "FlexibleForeignKey",
  2181. "model": "sentry.release",
  2182. "nullable": true
  2183. },
  2184. "project": {
  2185. "kind": "FlexibleForeignKey",
  2186. "model": "sentry.project",
  2187. "nullable": false
  2188. }
  2189. },
  2190. "model": "sentry.group",
  2191. "relocation_dependencies": [],
  2192. "relocation_scope": "Excluded",
  2193. "silos": [
  2194. "Region"
  2195. ],
  2196. "table_name": "sentry_groupedmessage",
  2197. "uniques": [
  2198. [
  2199. "id",
  2200. "project"
  2201. ],
  2202. [
  2203. "project",
  2204. "short_id"
  2205. ]
  2206. ]
  2207. },
  2208. "sentry.groupassignee": {
  2209. "dangling": false,
  2210. "foreign_keys": {
  2211. "group": {
  2212. "kind": "FlexibleForeignKey",
  2213. "model": "sentry.group",
  2214. "nullable": false
  2215. },
  2216. "project": {
  2217. "kind": "FlexibleForeignKey",
  2218. "model": "sentry.project",
  2219. "nullable": false
  2220. },
  2221. "team": {
  2222. "kind": "FlexibleForeignKey",
  2223. "model": "sentry.team",
  2224. "nullable": true
  2225. },
  2226. "user_id": {
  2227. "kind": "HybridCloudForeignKey",
  2228. "model": "sentry.user",
  2229. "nullable": true
  2230. }
  2231. },
  2232. "model": "sentry.groupassignee",
  2233. "relocation_dependencies": [],
  2234. "relocation_scope": "Excluded",
  2235. "silos": [
  2236. "Region"
  2237. ],
  2238. "table_name": "sentry_groupasignee",
  2239. "uniques": [
  2240. [
  2241. "group"
  2242. ],
  2243. [
  2244. "group",
  2245. "project"
  2246. ]
  2247. ]
  2248. },
  2249. "sentry.groupbookmark": {
  2250. "dangling": false,
  2251. "foreign_keys": {
  2252. "group": {
  2253. "kind": "FlexibleForeignKey",
  2254. "model": "sentry.group",
  2255. "nullable": false
  2256. },
  2257. "project": {
  2258. "kind": "FlexibleForeignKey",
  2259. "model": "sentry.project",
  2260. "nullable": false
  2261. },
  2262. "user_id": {
  2263. "kind": "HybridCloudForeignKey",
  2264. "model": "sentry.user",
  2265. "nullable": false
  2266. }
  2267. },
  2268. "model": "sentry.groupbookmark",
  2269. "relocation_dependencies": [],
  2270. "relocation_scope": "Excluded",
  2271. "silos": [
  2272. "Region"
  2273. ],
  2274. "table_name": "sentry_groupbookmark",
  2275. "uniques": [
  2276. [
  2277. "group",
  2278. "project",
  2279. "user_id"
  2280. ]
  2281. ]
  2282. },
  2283. "sentry.groupcommitresolution": {
  2284. "dangling": false,
  2285. "foreign_keys": {
  2286. "commit_id": {
  2287. "kind": "ImplicitForeignKey",
  2288. "model": "sentry.commit",
  2289. "nullable": false
  2290. },
  2291. "group_id": {
  2292. "kind": "ImplicitForeignKey",
  2293. "model": "sentry.group",
  2294. "nullable": false
  2295. }
  2296. },
  2297. "model": "sentry.groupcommitresolution",
  2298. "relocation_dependencies": [],
  2299. "relocation_scope": "Excluded",
  2300. "silos": [
  2301. "Region"
  2302. ],
  2303. "table_name": "sentry_groupcommitresolution",
  2304. "uniques": [
  2305. [
  2306. "commit_id",
  2307. "group_id"
  2308. ]
  2309. ]
  2310. },
  2311. "sentry.groupemailthread": {
  2312. "dangling": false,
  2313. "foreign_keys": {
  2314. "group": {
  2315. "kind": "FlexibleForeignKey",
  2316. "model": "sentry.group",
  2317. "nullable": false
  2318. },
  2319. "project": {
  2320. "kind": "FlexibleForeignKey",
  2321. "model": "sentry.project",
  2322. "nullable": false
  2323. }
  2324. },
  2325. "model": "sentry.groupemailthread",
  2326. "relocation_dependencies": [],
  2327. "relocation_scope": "Excluded",
  2328. "silos": [
  2329. "Region"
  2330. ],
  2331. "table_name": "sentry_groupemailthread",
  2332. "uniques": [
  2333. [
  2334. "email",
  2335. "group"
  2336. ],
  2337. [
  2338. "email",
  2339. "msgid"
  2340. ]
  2341. ]
  2342. },
  2343. "sentry.groupenvironment": {
  2344. "dangling": false,
  2345. "foreign_keys": {
  2346. "environment": {
  2347. "kind": "FlexibleForeignKey",
  2348. "model": "sentry.environment",
  2349. "nullable": false
  2350. },
  2351. "first_release": {
  2352. "kind": "FlexibleForeignKey",
  2353. "model": "sentry.release",
  2354. "nullable": true
  2355. },
  2356. "group": {
  2357. "kind": "FlexibleForeignKey",
  2358. "model": "sentry.group",
  2359. "nullable": false
  2360. }
  2361. },
  2362. "model": "sentry.groupenvironment",
  2363. "relocation_dependencies": [],
  2364. "relocation_scope": "Excluded",
  2365. "silos": [
  2366. "Region"
  2367. ],
  2368. "table_name": "sentry_groupenvironment",
  2369. "uniques": [
  2370. [
  2371. "environment",
  2372. "group"
  2373. ]
  2374. ]
  2375. },
  2376. "sentry.grouphash": {
  2377. "dangling": false,
  2378. "foreign_keys": {
  2379. "group": {
  2380. "kind": "FlexibleForeignKey",
  2381. "model": "sentry.group",
  2382. "nullable": true
  2383. },
  2384. "group_tombstone_id": {
  2385. "kind": "ImplicitForeignKey",
  2386. "model": "sentry.grouptombstone",
  2387. "nullable": true
  2388. },
  2389. "project": {
  2390. "kind": "FlexibleForeignKey",
  2391. "model": "sentry.project",
  2392. "nullable": true
  2393. }
  2394. },
  2395. "model": "sentry.grouphash",
  2396. "relocation_dependencies": [],
  2397. "relocation_scope": "Excluded",
  2398. "silos": [
  2399. "Region"
  2400. ],
  2401. "table_name": "sentry_grouphash",
  2402. "uniques": [
  2403. [
  2404. "hash",
  2405. "project"
  2406. ]
  2407. ]
  2408. },
  2409. "sentry.grouphashmetadata": {
  2410. "dangling": false,
  2411. "foreign_keys": {
  2412. "grouphash": {
  2413. "kind": "DefaultOneToOneField",
  2414. "model": "sentry.grouphash",
  2415. "nullable": false
  2416. },
  2417. "seer_matched_grouphash": {
  2418. "kind": "FlexibleForeignKey",
  2419. "model": "sentry.grouphash",
  2420. "nullable": true
  2421. }
  2422. },
  2423. "model": "sentry.grouphashmetadata",
  2424. "relocation_dependencies": [],
  2425. "relocation_scope": "Excluded",
  2426. "silos": [
  2427. "Region"
  2428. ],
  2429. "table_name": "sentry_grouphashmetadata",
  2430. "uniques": [
  2431. [
  2432. "grouphash"
  2433. ]
  2434. ]
  2435. },
  2436. "sentry.grouphistory": {
  2437. "dangling": false,
  2438. "foreign_keys": {
  2439. "group": {
  2440. "kind": "FlexibleForeignKey",
  2441. "model": "sentry.group",
  2442. "nullable": false
  2443. },
  2444. "organization": {
  2445. "kind": "FlexibleForeignKey",
  2446. "model": "sentry.organization",
  2447. "nullable": false
  2448. },
  2449. "project": {
  2450. "kind": "FlexibleForeignKey",
  2451. "model": "sentry.project",
  2452. "nullable": false
  2453. },
  2454. "release": {
  2455. "kind": "FlexibleForeignKey",
  2456. "model": "sentry.release",
  2457. "nullable": true
  2458. },
  2459. "team": {
  2460. "kind": "FlexibleForeignKey",
  2461. "model": "sentry.team",
  2462. "nullable": true
  2463. },
  2464. "user_id": {
  2465. "kind": "HybridCloudForeignKey",
  2466. "model": "sentry.user",
  2467. "nullable": true
  2468. }
  2469. },
  2470. "model": "sentry.grouphistory",
  2471. "relocation_dependencies": [],
  2472. "relocation_scope": "Excluded",
  2473. "silos": [
  2474. "Region"
  2475. ],
  2476. "table_name": "sentry_grouphistory",
  2477. "uniques": []
  2478. },
  2479. "sentry.groupinbox": {
  2480. "dangling": false,
  2481. "foreign_keys": {
  2482. "group": {
  2483. "kind": "FlexibleForeignKey",
  2484. "model": "sentry.group",
  2485. "nullable": false
  2486. },
  2487. "organization": {
  2488. "kind": "FlexibleForeignKey",
  2489. "model": "sentry.organization",
  2490. "nullable": true
  2491. },
  2492. "project": {
  2493. "kind": "FlexibleForeignKey",
  2494. "model": "sentry.project",
  2495. "nullable": true
  2496. }
  2497. },
  2498. "model": "sentry.groupinbox",
  2499. "relocation_dependencies": [],
  2500. "relocation_scope": "Excluded",
  2501. "silos": [
  2502. "Region"
  2503. ],
  2504. "table_name": "sentry_groupinbox",
  2505. "uniques": [
  2506. [
  2507. "group"
  2508. ]
  2509. ]
  2510. },
  2511. "sentry.grouplink": {
  2512. "dangling": false,
  2513. "foreign_keys": {
  2514. "group": {
  2515. "kind": "FlexibleForeignKey",
  2516. "model": "sentry.group",
  2517. "nullable": false
  2518. },
  2519. "project": {
  2520. "kind": "FlexibleForeignKey",
  2521. "model": "sentry.project",
  2522. "nullable": false
  2523. }
  2524. },
  2525. "model": "sentry.grouplink",
  2526. "relocation_dependencies": [],
  2527. "relocation_scope": "Excluded",
  2528. "silos": [
  2529. "Region"
  2530. ],
  2531. "table_name": "sentry_grouplink",
  2532. "uniques": [
  2533. [
  2534. "group",
  2535. "linked_id",
  2536. "linked_type"
  2537. ]
  2538. ]
  2539. },
  2540. "sentry.groupmeta": {
  2541. "dangling": false,
  2542. "foreign_keys": {
  2543. "group": {
  2544. "kind": "FlexibleForeignKey",
  2545. "model": "sentry.group",
  2546. "nullable": false
  2547. }
  2548. },
  2549. "model": "sentry.groupmeta",
  2550. "relocation_dependencies": [],
  2551. "relocation_scope": "Excluded",
  2552. "silos": [
  2553. "Region"
  2554. ],
  2555. "table_name": "sentry_groupmeta",
  2556. "uniques": [
  2557. [
  2558. "group",
  2559. "key"
  2560. ]
  2561. ]
  2562. },
  2563. "sentry.groupowner": {
  2564. "dangling": false,
  2565. "foreign_keys": {
  2566. "group": {
  2567. "kind": "FlexibleForeignKey",
  2568. "model": "sentry.group",
  2569. "nullable": false
  2570. },
  2571. "organization": {
  2572. "kind": "FlexibleForeignKey",
  2573. "model": "sentry.organization",
  2574. "nullable": false
  2575. },
  2576. "project": {
  2577. "kind": "FlexibleForeignKey",
  2578. "model": "sentry.project",
  2579. "nullable": false
  2580. },
  2581. "team": {
  2582. "kind": "FlexibleForeignKey",
  2583. "model": "sentry.team",
  2584. "nullable": true
  2585. },
  2586. "user_id": {
  2587. "kind": "HybridCloudForeignKey",
  2588. "model": "sentry.user",
  2589. "nullable": true
  2590. }
  2591. },
  2592. "model": "sentry.groupowner",
  2593. "relocation_dependencies": [],
  2594. "relocation_scope": "Excluded",
  2595. "silos": [
  2596. "Region"
  2597. ],
  2598. "table_name": "sentry_groupowner",
  2599. "uniques": []
  2600. },
  2601. "sentry.groupredirect": {
  2602. "dangling": false,
  2603. "foreign_keys": {
  2604. "group_id": {
  2605. "kind": "ImplicitForeignKey",
  2606. "model": "sentry.group",
  2607. "nullable": false
  2608. },
  2609. "organization_id": {
  2610. "kind": "ImplicitForeignKey",
  2611. "model": "sentry.organization",
  2612. "nullable": true
  2613. }
  2614. },
  2615. "model": "sentry.groupredirect",
  2616. "relocation_dependencies": [],
  2617. "relocation_scope": "Excluded",
  2618. "silos": [
  2619. "Region"
  2620. ],
  2621. "table_name": "sentry_groupredirect",
  2622. "uniques": [
  2623. [
  2624. "organization_id",
  2625. "previous_project_slug",
  2626. "previous_short_id"
  2627. ],
  2628. [
  2629. "previous_group_id"
  2630. ]
  2631. ]
  2632. },
  2633. "sentry.grouprelease": {
  2634. "dangling": false,
  2635. "foreign_keys": {
  2636. "group_id": {
  2637. "kind": "ImplicitForeignKey",
  2638. "model": "sentry.group",
  2639. "nullable": false
  2640. },
  2641. "project_id": {
  2642. "kind": "ImplicitForeignKey",
  2643. "model": "sentry.project",
  2644. "nullable": false
  2645. },
  2646. "release_id": {
  2647. "kind": "ImplicitForeignKey",
  2648. "model": "sentry.release",
  2649. "nullable": false
  2650. }
  2651. },
  2652. "model": "sentry.grouprelease",
  2653. "relocation_dependencies": [],
  2654. "relocation_scope": "Excluded",
  2655. "silos": [
  2656. "Region"
  2657. ],
  2658. "table_name": "sentry_grouprelease",
  2659. "uniques": [
  2660. [
  2661. "environment",
  2662. "group_id",
  2663. "release_id"
  2664. ]
  2665. ]
  2666. },
  2667. "sentry.groupresolution": {
  2668. "dangling": false,
  2669. "foreign_keys": {
  2670. "group": {
  2671. "kind": "FlexibleForeignKey",
  2672. "model": "sentry.group",
  2673. "nullable": false
  2674. },
  2675. "release": {
  2676. "kind": "FlexibleForeignKey",
  2677. "model": "sentry.release",
  2678. "nullable": false
  2679. }
  2680. },
  2681. "model": "sentry.groupresolution",
  2682. "relocation_dependencies": [],
  2683. "relocation_scope": "Excluded",
  2684. "silos": [
  2685. "Region"
  2686. ],
  2687. "table_name": "sentry_groupresolution",
  2688. "uniques": [
  2689. [
  2690. "group"
  2691. ]
  2692. ]
  2693. },
  2694. "sentry.grouprulestatus": {
  2695. "dangling": false,
  2696. "foreign_keys": {
  2697. "group": {
  2698. "kind": "FlexibleForeignKey",
  2699. "model": "sentry.group",
  2700. "nullable": false
  2701. },
  2702. "project": {
  2703. "kind": "FlexibleForeignKey",
  2704. "model": "sentry.project",
  2705. "nullable": false
  2706. },
  2707. "rule": {
  2708. "kind": "FlexibleForeignKey",
  2709. "model": "sentry.rule",
  2710. "nullable": false
  2711. }
  2712. },
  2713. "model": "sentry.grouprulestatus",
  2714. "relocation_dependencies": [],
  2715. "relocation_scope": "Excluded",
  2716. "silos": [
  2717. "Region"
  2718. ],
  2719. "table_name": "sentry_grouprulestatus",
  2720. "uniques": [
  2721. [
  2722. "group",
  2723. "rule"
  2724. ]
  2725. ]
  2726. },
  2727. "sentry.groupsearchview": {
  2728. "dangling": false,
  2729. "foreign_keys": {
  2730. "organization": {
  2731. "kind": "FlexibleForeignKey",
  2732. "model": "sentry.organization",
  2733. "nullable": false
  2734. },
  2735. "user_id": {
  2736. "kind": "HybridCloudForeignKey",
  2737. "model": "sentry.user",
  2738. "nullable": false
  2739. }
  2740. },
  2741. "model": "sentry.groupsearchview",
  2742. "relocation_dependencies": [],
  2743. "relocation_scope": "Organization",
  2744. "silos": [
  2745. "Region"
  2746. ],
  2747. "table_name": "sentry_groupsearchview",
  2748. "uniques": [
  2749. [
  2750. "organization_id",
  2751. "position",
  2752. "user_id"
  2753. ]
  2754. ]
  2755. },
  2756. "sentry.groupseen": {
  2757. "dangling": false,
  2758. "foreign_keys": {
  2759. "group": {
  2760. "kind": "FlexibleForeignKey",
  2761. "model": "sentry.group",
  2762. "nullable": false
  2763. },
  2764. "project": {
  2765. "kind": "FlexibleForeignKey",
  2766. "model": "sentry.project",
  2767. "nullable": false
  2768. },
  2769. "user_id": {
  2770. "kind": "HybridCloudForeignKey",
  2771. "model": "sentry.user",
  2772. "nullable": false
  2773. }
  2774. },
  2775. "model": "sentry.groupseen",
  2776. "relocation_dependencies": [],
  2777. "relocation_scope": "Excluded",
  2778. "silos": [
  2779. "Region"
  2780. ],
  2781. "table_name": "sentry_groupseen",
  2782. "uniques": [
  2783. [
  2784. "group",
  2785. "user_id"
  2786. ]
  2787. ]
  2788. },
  2789. "sentry.groupshare": {
  2790. "dangling": false,
  2791. "foreign_keys": {
  2792. "group": {
  2793. "kind": "FlexibleForeignKey",
  2794. "model": "sentry.group",
  2795. "nullable": false
  2796. },
  2797. "project": {
  2798. "kind": "FlexibleForeignKey",
  2799. "model": "sentry.project",
  2800. "nullable": false
  2801. },
  2802. "user_id": {
  2803. "kind": "HybridCloudForeignKey",
  2804. "model": "sentry.user",
  2805. "nullable": true
  2806. }
  2807. },
  2808. "model": "sentry.groupshare",
  2809. "relocation_dependencies": [],
  2810. "relocation_scope": "Excluded",
  2811. "silos": [
  2812. "Region"
  2813. ],
  2814. "table_name": "sentry_groupshare",
  2815. "uniques": [
  2816. [
  2817. "group"
  2818. ],
  2819. [
  2820. "uuid"
  2821. ]
  2822. ]
  2823. },
  2824. "sentry.groupsnooze": {
  2825. "dangling": false,
  2826. "foreign_keys": {
  2827. "group": {
  2828. "kind": "FlexibleForeignKey",
  2829. "model": "sentry.group",
  2830. "nullable": false
  2831. }
  2832. },
  2833. "model": "sentry.groupsnooze",
  2834. "relocation_dependencies": [],
  2835. "relocation_scope": "Excluded",
  2836. "silos": [
  2837. "Region"
  2838. ],
  2839. "table_name": "sentry_groupsnooze",
  2840. "uniques": [
  2841. [
  2842. "group"
  2843. ]
  2844. ]
  2845. },
  2846. "sentry.groupsubscription": {
  2847. "dangling": false,
  2848. "foreign_keys": {
  2849. "group": {
  2850. "kind": "FlexibleForeignKey",
  2851. "model": "sentry.group",
  2852. "nullable": false
  2853. },
  2854. "project": {
  2855. "kind": "FlexibleForeignKey",
  2856. "model": "sentry.project",
  2857. "nullable": false
  2858. },
  2859. "team": {
  2860. "kind": "FlexibleForeignKey",
  2861. "model": "sentry.team",
  2862. "nullable": true
  2863. },
  2864. "user_id": {
  2865. "kind": "HybridCloudForeignKey",
  2866. "model": "sentry.user",
  2867. "nullable": true
  2868. }
  2869. },
  2870. "model": "sentry.groupsubscription",
  2871. "relocation_dependencies": [],
  2872. "relocation_scope": "Excluded",
  2873. "silos": [
  2874. "Region"
  2875. ],
  2876. "table_name": "sentry_groupsubscription",
  2877. "uniques": [
  2878. [
  2879. "group",
  2880. "team"
  2881. ],
  2882. [
  2883. "group",
  2884. "user_id"
  2885. ]
  2886. ]
  2887. },
  2888. "sentry.grouptombstone": {
  2889. "dangling": false,
  2890. "foreign_keys": {
  2891. "project": {
  2892. "kind": "FlexibleForeignKey",
  2893. "model": "sentry.project",
  2894. "nullable": false
  2895. }
  2896. },
  2897. "model": "sentry.grouptombstone",
  2898. "relocation_dependencies": [],
  2899. "relocation_scope": "Excluded",
  2900. "silos": [
  2901. "Region"
  2902. ],
  2903. "table_name": "sentry_grouptombstone",
  2904. "uniques": [
  2905. [
  2906. "previous_group_id"
  2907. ]
  2908. ]
  2909. },
  2910. "sentry.identity": {
  2911. "dangling": false,
  2912. "foreign_keys": {
  2913. "idp": {
  2914. "kind": "FlexibleForeignKey",
  2915. "model": "sentry.identityprovider",
  2916. "nullable": false
  2917. },
  2918. "user": {
  2919. "kind": "FlexibleForeignKey",
  2920. "model": "sentry.user",
  2921. "nullable": false
  2922. }
  2923. },
  2924. "model": "sentry.identity",
  2925. "relocation_dependencies": [],
  2926. "relocation_scope": "Excluded",
  2927. "silos": [
  2928. "Control"
  2929. ],
  2930. "table_name": "sentry_identity",
  2931. "uniques": [
  2932. [
  2933. "external_id",
  2934. "idp"
  2935. ],
  2936. [
  2937. "idp",
  2938. "user"
  2939. ]
  2940. ]
  2941. },
  2942. "sentry.identityprovider": {
  2943. "dangling": false,
  2944. "foreign_keys": {},
  2945. "model": "sentry.identityprovider",
  2946. "relocation_dependencies": [],
  2947. "relocation_scope": "Excluded",
  2948. "silos": [
  2949. "Control"
  2950. ],
  2951. "table_name": "sentry_identityprovider",
  2952. "uniques": [
  2953. [
  2954. "external_id",
  2955. "type"
  2956. ]
  2957. ]
  2958. },
  2959. "sentry.incident": {
  2960. "dangling": false,
  2961. "foreign_keys": {
  2962. "activation": {
  2963. "kind": "FlexibleForeignKey",
  2964. "model": "sentry.alertruleactivations",
  2965. "nullable": true
  2966. },
  2967. "alert_rule": {
  2968. "kind": "FlexibleForeignKey",
  2969. "model": "sentry.alertrule",
  2970. "nullable": false
  2971. },
  2972. "organization": {
  2973. "kind": "FlexibleForeignKey",
  2974. "model": "sentry.organization",
  2975. "nullable": false
  2976. },
  2977. "subscription": {
  2978. "kind": "FlexibleForeignKey",
  2979. "model": "sentry.querysubscription",
  2980. "nullable": true
  2981. }
  2982. },
  2983. "model": "sentry.incident",
  2984. "relocation_dependencies": [],
  2985. "relocation_scope": "Global",
  2986. "silos": [
  2987. "Region"
  2988. ],
  2989. "table_name": "sentry_incident",
  2990. "uniques": [
  2991. [
  2992. "identifier",
  2993. "organization"
  2994. ]
  2995. ]
  2996. },
  2997. "sentry.incidentactivity": {
  2998. "dangling": false,
  2999. "foreign_keys": {
  3000. "incident": {
  3001. "kind": "FlexibleForeignKey",
  3002. "model": "sentry.incident",
  3003. "nullable": false
  3004. },
  3005. "user_id": {
  3006. "kind": "HybridCloudForeignKey",
  3007. "model": "sentry.user",
  3008. "nullable": true
  3009. }
  3010. },
  3011. "model": "sentry.incidentactivity",
  3012. "relocation_dependencies": [],
  3013. "relocation_scope": "Global",
  3014. "silos": [
  3015. "Region"
  3016. ],
  3017. "table_name": "sentry_incidentactivity",
  3018. "uniques": []
  3019. },
  3020. "sentry.incidentproject": {
  3021. "dangling": false,
  3022. "foreign_keys": {
  3023. "incident": {
  3024. "kind": "FlexibleForeignKey",
  3025. "model": "sentry.incident",
  3026. "nullable": false
  3027. },
  3028. "project": {
  3029. "kind": "FlexibleForeignKey",
  3030. "model": "sentry.project",
  3031. "nullable": false
  3032. }
  3033. },
  3034. "model": "sentry.incidentproject",
  3035. "relocation_dependencies": [],
  3036. "relocation_scope": "Excluded",
  3037. "silos": [
  3038. "Region"
  3039. ],
  3040. "table_name": "sentry_incidentproject",
  3041. "uniques": [
  3042. [
  3043. "incident",
  3044. "project"
  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.incidenttrigger": {
  3076. "dangling": false,
  3077. "foreign_keys": {
  3078. "alert_rule_trigger": {
  3079. "kind": "FlexibleForeignKey",
  3080. "model": "sentry.alertruletrigger",
  3081. "nullable": false
  3082. },
  3083. "incident": {
  3084. "kind": "FlexibleForeignKey",
  3085. "model": "sentry.incident",
  3086. "nullable": false
  3087. }
  3088. },
  3089. "model": "sentry.incidenttrigger",
  3090. "relocation_dependencies": [],
  3091. "relocation_scope": "Global",
  3092. "silos": [
  3093. "Region"
  3094. ],
  3095. "table_name": "sentry_incidenttrigger",
  3096. "uniques": [
  3097. [
  3098. "alert_rule_trigger",
  3099. "incident"
  3100. ]
  3101. ]
  3102. },
  3103. "sentry.integration": {
  3104. "dangling": false,
  3105. "foreign_keys": {},
  3106. "model": "sentry.integration",
  3107. "relocation_dependencies": [],
  3108. "relocation_scope": "Global",
  3109. "silos": [
  3110. "Control"
  3111. ],
  3112. "table_name": "sentry_integration",
  3113. "uniques": [
  3114. [
  3115. "external_id",
  3116. "provider"
  3117. ]
  3118. ]
  3119. },
  3120. "sentry.integrationexternalproject": {
  3121. "dangling": false,
  3122. "foreign_keys": {
  3123. "organization_integration_id": {
  3124. "kind": "ImplicitForeignKey",
  3125. "model": "sentry.organizationintegration",
  3126. "nullable": false
  3127. }
  3128. },
  3129. "model": "sentry.integrationexternalproject",
  3130. "relocation_dependencies": [],
  3131. "relocation_scope": "Excluded",
  3132. "silos": [
  3133. "Control"
  3134. ],
  3135. "table_name": "sentry_integrationexternalproject",
  3136. "uniques": [
  3137. [
  3138. "external_id",
  3139. "organization_integration_id"
  3140. ]
  3141. ]
  3142. },
  3143. "sentry.integrationfeature": {
  3144. "dangling": false,
  3145. "foreign_keys": {},
  3146. "model": "sentry.integrationfeature",
  3147. "relocation_dependencies": [],
  3148. "relocation_scope": "Excluded",
  3149. "silos": [
  3150. "Control"
  3151. ],
  3152. "table_name": "sentry_integrationfeature",
  3153. "uniques": [
  3154. [
  3155. "feature",
  3156. "target_id",
  3157. "target_type"
  3158. ]
  3159. ]
  3160. },
  3161. "sentry.latestreporeleaseenvironment": {
  3162. "dangling": false,
  3163. "foreign_keys": {
  3164. "commit_id": {
  3165. "kind": "ImplicitForeignKey",
  3166. "model": "sentry.commit",
  3167. "nullable": true
  3168. },
  3169. "deploy_id": {
  3170. "kind": "ImplicitForeignKey",
  3171. "model": "sentry.deploy",
  3172. "nullable": true
  3173. },
  3174. "environment_id": {
  3175. "kind": "ImplicitForeignKey",
  3176. "model": "sentry.environment",
  3177. "nullable": false
  3178. },
  3179. "release_id": {
  3180. "kind": "ImplicitForeignKey",
  3181. "model": "sentry.release",
  3182. "nullable": false
  3183. },
  3184. "repository_id": {
  3185. "kind": "ImplicitForeignKey",
  3186. "model": "sentry.repository",
  3187. "nullable": false
  3188. }
  3189. },
  3190. "model": "sentry.latestreporeleaseenvironment",
  3191. "relocation_dependencies": [],
  3192. "relocation_scope": "Excluded",
  3193. "silos": [
  3194. "Region"
  3195. ],
  3196. "table_name": "sentry_latestrelease",
  3197. "uniques": [
  3198. [
  3199. "environment_id",
  3200. "repository_id"
  3201. ]
  3202. ]
  3203. },
  3204. "sentry.lostpasswordhash": {
  3205. "dangling": false,
  3206. "foreign_keys": {
  3207. "user": {
  3208. "kind": "FlexibleForeignKey",
  3209. "model": "sentry.user",
  3210. "nullable": false
  3211. }
  3212. },
  3213. "model": "sentry.lostpasswordhash",
  3214. "relocation_dependencies": [],
  3215. "relocation_scope": "Excluded",
  3216. "silos": [
  3217. "Control"
  3218. ],
  3219. "table_name": "sentry_lostpasswordhash",
  3220. "uniques": [
  3221. [
  3222. "user"
  3223. ]
  3224. ]
  3225. },
  3226. "sentry.monitor": {
  3227. "dangling": false,
  3228. "foreign_keys": {
  3229. "organization_id": {
  3230. "kind": "ImplicitForeignKey",
  3231. "model": "sentry.organization",
  3232. "nullable": false
  3233. },
  3234. "owner_user_id": {
  3235. "kind": "HybridCloudForeignKey",
  3236. "model": "sentry.user",
  3237. "nullable": true
  3238. },
  3239. "project_id": {
  3240. "kind": "ImplicitForeignKey",
  3241. "model": "sentry.project",
  3242. "nullable": false
  3243. }
  3244. },
  3245. "model": "sentry.monitor",
  3246. "relocation_dependencies": [],
  3247. "relocation_scope": "Organization",
  3248. "silos": [
  3249. "Region"
  3250. ],
  3251. "table_name": "sentry_monitor",
  3252. "uniques": [
  3253. [
  3254. "guid"
  3255. ],
  3256. [
  3257. "project_id",
  3258. "slug"
  3259. ]
  3260. ]
  3261. },
  3262. "sentry.monitorcheckin": {
  3263. "dangling": false,
  3264. "foreign_keys": {
  3265. "location": {
  3266. "kind": "FlexibleForeignKey",
  3267. "model": "sentry.monitorlocation",
  3268. "nullable": true
  3269. },
  3270. "monitor": {
  3271. "kind": "FlexibleForeignKey",
  3272. "model": "sentry.monitor",
  3273. "nullable": false
  3274. },
  3275. "monitor_environment": {
  3276. "kind": "FlexibleForeignKey",
  3277. "model": "sentry.monitorenvironment",
  3278. "nullable": true
  3279. },
  3280. "project_id": {
  3281. "kind": "ImplicitForeignKey",
  3282. "model": "sentry.project",
  3283. "nullable": false
  3284. }
  3285. },
  3286. "model": "sentry.monitorcheckin",
  3287. "relocation_dependencies": [],
  3288. "relocation_scope": "Excluded",
  3289. "silos": [
  3290. "Region"
  3291. ],
  3292. "table_name": "sentry_monitorcheckin",
  3293. "uniques": [
  3294. [
  3295. "guid"
  3296. ]
  3297. ]
  3298. },
  3299. "sentry.monitorenvbrokendetection": {
  3300. "dangling": false,
  3301. "foreign_keys": {
  3302. "monitor_incident": {
  3303. "kind": "FlexibleForeignKey",
  3304. "model": "sentry.monitorincident",
  3305. "nullable": false
  3306. }
  3307. },
  3308. "model": "sentry.monitorenvbrokendetection",
  3309. "relocation_dependencies": [],
  3310. "relocation_scope": "Excluded",
  3311. "silos": [
  3312. "Region"
  3313. ],
  3314. "table_name": "sentry_monitorenvbrokendetection",
  3315. "uniques": []
  3316. },
  3317. "sentry.monitorenvironment": {
  3318. "dangling": false,
  3319. "foreign_keys": {
  3320. "environment_id": {
  3321. "kind": "ImplicitForeignKey",
  3322. "model": "sentry.environment",
  3323. "nullable": false
  3324. },
  3325. "monitor": {
  3326. "kind": "FlexibleForeignKey",
  3327. "model": "sentry.monitor",
  3328. "nullable": false
  3329. }
  3330. },
  3331. "model": "sentry.monitorenvironment",
  3332. "relocation_dependencies": [],
  3333. "relocation_scope": "Excluded",
  3334. "silos": [
  3335. "Region"
  3336. ],
  3337. "table_name": "sentry_monitorenvironment",
  3338. "uniques": [
  3339. [
  3340. "environment_id",
  3341. "monitor"
  3342. ]
  3343. ]
  3344. },
  3345. "sentry.monitorincident": {
  3346. "dangling": false,
  3347. "foreign_keys": {
  3348. "monitor": {
  3349. "kind": "FlexibleForeignKey",
  3350. "model": "sentry.monitor",
  3351. "nullable": false
  3352. },
  3353. "monitor_environment": {
  3354. "kind": "FlexibleForeignKey",
  3355. "model": "sentry.monitorenvironment",
  3356. "nullable": false
  3357. },
  3358. "resolving_checkin": {
  3359. "kind": "FlexibleForeignKey",
  3360. "model": "sentry.monitorcheckin",
  3361. "nullable": true
  3362. },
  3363. "starting_checkin": {
  3364. "kind": "FlexibleForeignKey",
  3365. "model": "sentry.monitorcheckin",
  3366. "nullable": true
  3367. }
  3368. },
  3369. "model": "sentry.monitorincident",
  3370. "relocation_dependencies": [],
  3371. "relocation_scope": "Excluded",
  3372. "silos": [
  3373. "Region"
  3374. ],
  3375. "table_name": "sentry_monitorincident",
  3376. "uniques": [
  3377. [
  3378. "monitor_environment_id"
  3379. ]
  3380. ]
  3381. },
  3382. "sentry.monitorlocation": {
  3383. "dangling": false,
  3384. "foreign_keys": {},
  3385. "model": "sentry.monitorlocation",
  3386. "relocation_dependencies": [],
  3387. "relocation_scope": "Excluded",
  3388. "silos": [
  3389. "Region"
  3390. ],
  3391. "table_name": "sentry_monitorlocation",
  3392. "uniques": [
  3393. [
  3394. "guid"
  3395. ]
  3396. ]
  3397. },
  3398. "sentry.neglectedrule": {
  3399. "dangling": false,
  3400. "foreign_keys": {
  3401. "organization": {
  3402. "kind": "FlexibleForeignKey",
  3403. "model": "sentry.organization",
  3404. "nullable": false
  3405. },
  3406. "rule": {
  3407. "kind": "FlexibleForeignKey",
  3408. "model": "sentry.rule",
  3409. "nullable": false
  3410. }
  3411. },
  3412. "model": "sentry.neglectedrule",
  3413. "relocation_dependencies": [],
  3414. "relocation_scope": "Organization",
  3415. "silos": [
  3416. "Region"
  3417. ],
  3418. "table_name": "sentry_neglectedrule",
  3419. "uniques": []
  3420. },
  3421. "sentry.notificationaction": {
  3422. "dangling": false,
  3423. "foreign_keys": {
  3424. "integration_id": {
  3425. "kind": "HybridCloudForeignKey",
  3426. "model": "sentry.integration",
  3427. "nullable": true
  3428. },
  3429. "organization": {
  3430. "kind": "FlexibleForeignKey",
  3431. "model": "sentry.organization",
  3432. "nullable": false
  3433. },
  3434. "sentry_app_id": {
  3435. "kind": "HybridCloudForeignKey",
  3436. "model": "sentry.sentryapp",
  3437. "nullable": true
  3438. }
  3439. },
  3440. "model": "sentry.notificationaction",
  3441. "relocation_dependencies": [],
  3442. "relocation_scope": [
  3443. "Organization",
  3444. "Global"
  3445. ],
  3446. "silos": [
  3447. "Region"
  3448. ],
  3449. "table_name": "sentry_notificationaction",
  3450. "uniques": []
  3451. },
  3452. "sentry.notificationactionproject": {
  3453. "dangling": false,
  3454. "foreign_keys": {
  3455. "action": {
  3456. "kind": "FlexibleForeignKey",
  3457. "model": "sentry.notificationaction",
  3458. "nullable": false
  3459. },
  3460. "project": {
  3461. "kind": "FlexibleForeignKey",
  3462. "model": "sentry.project",
  3463. "nullable": false
  3464. }
  3465. },
  3466. "model": "sentry.notificationactionproject",
  3467. "relocation_dependencies": [],
  3468. "relocation_scope": [
  3469. "Organization",
  3470. "Global"
  3471. ],
  3472. "silos": [
  3473. "Region"
  3474. ],
  3475. "table_name": "sentry_notificationactionproject",
  3476. "uniques": []
  3477. },
  3478. "sentry.notificationmessage": {
  3479. "dangling": false,
  3480. "foreign_keys": {
  3481. "incident": {
  3482. "kind": "FlexibleForeignKey",
  3483. "model": "sentry.incident",
  3484. "nullable": true
  3485. },
  3486. "rule_fire_history": {
  3487. "kind": "FlexibleForeignKey",
  3488. "model": "sentry.rulefirehistory",
  3489. "nullable": true
  3490. },
  3491. "trigger_action": {
  3492. "kind": "FlexibleForeignKey",
  3493. "model": "sentry.alertruletriggeraction",
  3494. "nullable": true
  3495. }
  3496. },
  3497. "model": "sentry.notificationmessage",
  3498. "relocation_dependencies": [],
  3499. "relocation_scope": "Excluded",
  3500. "silos": [
  3501. "Region"
  3502. ],
  3503. "table_name": "sentry_notificationmessage",
  3504. "uniques": [
  3505. [
  3506. "incident",
  3507. "trigger_action"
  3508. ],
  3509. [
  3510. "rule_action_uuid",
  3511. "rule_fire_history"
  3512. ]
  3513. ]
  3514. },
  3515. "sentry.notificationsettingoption": {
  3516. "dangling": false,
  3517. "foreign_keys": {
  3518. "team_id": {
  3519. "kind": "HybridCloudForeignKey",
  3520. "model": "sentry.team",
  3521. "nullable": true
  3522. },
  3523. "user": {
  3524. "kind": "FlexibleForeignKey",
  3525. "model": "sentry.user",
  3526. "nullable": true
  3527. }
  3528. },
  3529. "model": "sentry.notificationsettingoption",
  3530. "relocation_dependencies": [],
  3531. "relocation_scope": "Excluded",
  3532. "silos": [
  3533. "Control"
  3534. ],
  3535. "table_name": "sentry_notificationsettingoption",
  3536. "uniques": [
  3537. [
  3538. "scope_identifier",
  3539. "scope_type",
  3540. "team_id",
  3541. "type",
  3542. "user_id"
  3543. ]
  3544. ]
  3545. },
  3546. "sentry.notificationsettingprovider": {
  3547. "dangling": false,
  3548. "foreign_keys": {
  3549. "team_id": {
  3550. "kind": "HybridCloudForeignKey",
  3551. "model": "sentry.team",
  3552. "nullable": true
  3553. },
  3554. "user": {
  3555. "kind": "FlexibleForeignKey",
  3556. "model": "sentry.user",
  3557. "nullable": true
  3558. }
  3559. },
  3560. "model": "sentry.notificationsettingprovider",
  3561. "relocation_dependencies": [],
  3562. "relocation_scope": "Excluded",
  3563. "silos": [
  3564. "Control"
  3565. ],
  3566. "table_name": "sentry_notificationsettingprovider",
  3567. "uniques": [
  3568. [
  3569. "provider",
  3570. "scope_identifier",
  3571. "scope_type",
  3572. "team_id",
  3573. "type",
  3574. "user_id"
  3575. ]
  3576. ]
  3577. },
  3578. "sentry.option": {
  3579. "dangling": false,
  3580. "foreign_keys": {},
  3581. "model": "sentry.option",
  3582. "relocation_dependencies": [],
  3583. "relocation_scope": "Config",
  3584. "silos": [
  3585. "Region"
  3586. ],
  3587. "table_name": "sentry_option",
  3588. "uniques": [
  3589. [
  3590. "key"
  3591. ]
  3592. ]
  3593. },
  3594. "sentry.organization": {
  3595. "dangling": false,
  3596. "foreign_keys": {},
  3597. "model": "sentry.organization",
  3598. "relocation_dependencies": [],
  3599. "relocation_scope": "Organization",
  3600. "silos": [
  3601. "Region"
  3602. ],
  3603. "table_name": "sentry_organization",
  3604. "uniques": [
  3605. [
  3606. "slug"
  3607. ]
  3608. ]
  3609. },
  3610. "sentry.organizationaccessrequest": {
  3611. "dangling": false,
  3612. "foreign_keys": {
  3613. "member": {
  3614. "kind": "FlexibleForeignKey",
  3615. "model": "sentry.organizationmember",
  3616. "nullable": false
  3617. },
  3618. "requester_id": {
  3619. "kind": "HybridCloudForeignKey",
  3620. "model": "sentry.user",
  3621. "nullable": true
  3622. },
  3623. "team": {
  3624. "kind": "FlexibleForeignKey",
  3625. "model": "sentry.team",
  3626. "nullable": false
  3627. }
  3628. },
  3629. "model": "sentry.organizationaccessrequest",
  3630. "relocation_dependencies": [],
  3631. "relocation_scope": "Organization",
  3632. "silos": [
  3633. "Region"
  3634. ],
  3635. "table_name": "sentry_organizationaccessrequest",
  3636. "uniques": [
  3637. [
  3638. "member",
  3639. "team"
  3640. ]
  3641. ]
  3642. },
  3643. "sentry.organizationavatar": {
  3644. "dangling": false,
  3645. "foreign_keys": {
  3646. "file_id": {
  3647. "kind": "ImplicitForeignKey",
  3648. "model": "sentry.file",
  3649. "nullable": true
  3650. },
  3651. "organization": {
  3652. "kind": "FlexibleForeignKey",
  3653. "model": "sentry.organization",
  3654. "nullable": false
  3655. }
  3656. },
  3657. "model": "sentry.organizationavatar",
  3658. "relocation_dependencies": [],
  3659. "relocation_scope": "Excluded",
  3660. "silos": [
  3661. "Region"
  3662. ],
  3663. "table_name": "sentry_organizationavatar",
  3664. "uniques": [
  3665. [
  3666. "file_id"
  3667. ],
  3668. [
  3669. "ident"
  3670. ],
  3671. [
  3672. "organization"
  3673. ]
  3674. ]
  3675. },
  3676. "sentry.organizationintegration": {
  3677. "dangling": false,
  3678. "foreign_keys": {
  3679. "integration": {
  3680. "kind": "FlexibleForeignKey",
  3681. "model": "sentry.integration",
  3682. "nullable": false
  3683. },
  3684. "organization_id": {
  3685. "kind": "HybridCloudForeignKey",
  3686. "model": "sentry.organization",
  3687. "nullable": false
  3688. }
  3689. },
  3690. "model": "sentry.organizationintegration",
  3691. "relocation_dependencies": [],
  3692. "relocation_scope": "Global",
  3693. "silos": [
  3694. "Control"
  3695. ],
  3696. "table_name": "sentry_organizationintegration",
  3697. "uniques": [
  3698. [
  3699. "integration",
  3700. "organization_id"
  3701. ]
  3702. ]
  3703. },
  3704. "sentry.organizationmapping": {
  3705. "dangling": false,
  3706. "foreign_keys": {
  3707. "organization_id": {
  3708. "kind": "ImplicitForeignKey",
  3709. "model": "sentry.organization",
  3710. "nullable": false
  3711. }
  3712. },
  3713. "model": "sentry.organizationmapping",
  3714. "relocation_dependencies": [],
  3715. "relocation_scope": "Excluded",
  3716. "silos": [
  3717. "Control"
  3718. ],
  3719. "table_name": "sentry_organizationmapping",
  3720. "uniques": [
  3721. [
  3722. "organization_id"
  3723. ],
  3724. [
  3725. "slug"
  3726. ]
  3727. ]
  3728. },
  3729. "sentry.organizationmember": {
  3730. "dangling": false,
  3731. "foreign_keys": {
  3732. "inviter_id": {
  3733. "kind": "HybridCloudForeignKey",
  3734. "model": "sentry.user",
  3735. "nullable": true
  3736. },
  3737. "organization": {
  3738. "kind": "FlexibleForeignKey",
  3739. "model": "sentry.organization",
  3740. "nullable": false
  3741. },
  3742. "user_id": {
  3743. "kind": "HybridCloudForeignKey",
  3744. "model": "sentry.user",
  3745. "nullable": true
  3746. }
  3747. },
  3748. "model": "sentry.organizationmember",
  3749. "relocation_dependencies": [],
  3750. "relocation_scope": "Organization",
  3751. "silos": [
  3752. "Region"
  3753. ],
  3754. "table_name": "sentry_organizationmember",
  3755. "uniques": [
  3756. [
  3757. "email",
  3758. "organization"
  3759. ],
  3760. [
  3761. "organization",
  3762. "user_id"
  3763. ],
  3764. [
  3765. "token"
  3766. ]
  3767. ]
  3768. },
  3769. "sentry.organizationmembermapping": {
  3770. "dangling": false,
  3771. "foreign_keys": {
  3772. "inviter": {
  3773. "kind": "FlexibleForeignKey",
  3774. "model": "sentry.user",
  3775. "nullable": true
  3776. },
  3777. "organization_id": {
  3778. "kind": "HybridCloudForeignKey",
  3779. "model": "sentry.organization",
  3780. "nullable": false
  3781. },
  3782. "organizationmember_id": {
  3783. "kind": "ImplicitForeignKey",
  3784. "model": "sentry.organizationmember",
  3785. "nullable": true
  3786. },
  3787. "user": {
  3788. "kind": "FlexibleForeignKey",
  3789. "model": "sentry.user",
  3790. "nullable": true
  3791. }
  3792. },
  3793. "model": "sentry.organizationmembermapping",
  3794. "relocation_dependencies": [],
  3795. "relocation_scope": "Excluded",
  3796. "silos": [
  3797. "Control"
  3798. ],
  3799. "table_name": "sentry_organizationmembermapping",
  3800. "uniques": [
  3801. [
  3802. "organization_id",
  3803. "organizationmember_id"
  3804. ]
  3805. ]
  3806. },
  3807. "sentry.organizationmemberteam": {
  3808. "dangling": false,
  3809. "foreign_keys": {
  3810. "organizationmember": {
  3811. "kind": "FlexibleForeignKey",
  3812. "model": "sentry.organizationmember",
  3813. "nullable": false
  3814. },
  3815. "team": {
  3816. "kind": "FlexibleForeignKey",
  3817. "model": "sentry.team",
  3818. "nullable": false
  3819. }
  3820. },
  3821. "model": "sentry.organizationmemberteam",
  3822. "relocation_dependencies": [],
  3823. "relocation_scope": "Organization",
  3824. "silos": [
  3825. "Region"
  3826. ],
  3827. "table_name": "sentry_organizationmember_teams",
  3828. "uniques": [
  3829. [
  3830. "organizationmember",
  3831. "team"
  3832. ]
  3833. ]
  3834. },
  3835. "sentry.organizationmemberteamreplica": {
  3836. "dangling": false,
  3837. "foreign_keys": {
  3838. "organization_id": {
  3839. "kind": "HybridCloudForeignKey",
  3840. "model": "sentry.organization",
  3841. "nullable": false
  3842. },
  3843. "organizationmember_id": {
  3844. "kind": "ImplicitForeignKey",
  3845. "model": "sentry.organizationmember",
  3846. "nullable": false
  3847. },
  3848. "organizationmemberteam_id": {
  3849. "kind": "ImplicitForeignKey",
  3850. "model": "sentry.organizationmemberteam",
  3851. "nullable": false
  3852. },
  3853. "team_id": {
  3854. "kind": "HybridCloudForeignKey",
  3855. "model": "sentry.team",
  3856. "nullable": false
  3857. }
  3858. },
  3859. "model": "sentry.organizationmemberteamreplica",
  3860. "relocation_dependencies": [],
  3861. "relocation_scope": "Excluded",
  3862. "silos": [
  3863. "Control"
  3864. ],
  3865. "table_name": "sentry_organizationmember_teamsreplica",
  3866. "uniques": [
  3867. [
  3868. "organization_id",
  3869. "organizationmember_id",
  3870. "team_id"
  3871. ]
  3872. ]
  3873. },
  3874. "sentry.organizationonboardingtask": {
  3875. "dangling": false,
  3876. "foreign_keys": {
  3877. "organization": {
  3878. "kind": "FlexibleForeignKey",
  3879. "model": "sentry.organization",
  3880. "nullable": false
  3881. },
  3882. "project": {
  3883. "kind": "FlexibleForeignKey",
  3884. "model": "sentry.project",
  3885. "nullable": true
  3886. },
  3887. "user_id": {
  3888. "kind": "HybridCloudForeignKey",
  3889. "model": "sentry.user",
  3890. "nullable": true
  3891. }
  3892. },
  3893. "model": "sentry.organizationonboardingtask",
  3894. "relocation_dependencies": [],
  3895. "relocation_scope": "Excluded",
  3896. "silos": [
  3897. "Region"
  3898. ],
  3899. "table_name": "sentry_organizationonboardingtask",
  3900. "uniques": [
  3901. [
  3902. "organization",
  3903. "task"
  3904. ]
  3905. ]
  3906. },
  3907. "sentry.organizationoption": {
  3908. "dangling": false,
  3909. "foreign_keys": {
  3910. "organization": {
  3911. "kind": "FlexibleForeignKey",
  3912. "model": "sentry.organization",
  3913. "nullable": false
  3914. }
  3915. },
  3916. "model": "sentry.organizationoption",
  3917. "relocation_dependencies": [],
  3918. "relocation_scope": "Organization",
  3919. "silos": [
  3920. "Region"
  3921. ],
  3922. "table_name": "sentry_organizationoptions",
  3923. "uniques": [
  3924. [
  3925. "key",
  3926. "organization"
  3927. ]
  3928. ]
  3929. },
  3930. "sentry.organizationslugreservation": {
  3931. "dangling": false,
  3932. "foreign_keys": {
  3933. "organization_id": {
  3934. "kind": "HybridCloudForeignKey",
  3935. "model": "sentry.organization",
  3936. "nullable": false
  3937. },
  3938. "user_id": {
  3939. "kind": "ImplicitForeignKey",
  3940. "model": "sentry.user",
  3941. "nullable": true
  3942. }
  3943. },
  3944. "model": "sentry.organizationslugreservation",
  3945. "relocation_dependencies": [],
  3946. "relocation_scope": "Excluded",
  3947. "silos": [
  3948. "Control"
  3949. ],
  3950. "table_name": "sentry_organizationslugreservation",
  3951. "uniques": [
  3952. [
  3953. "organization_id",
  3954. "reservation_type"
  3955. ],
  3956. [
  3957. "slug"
  3958. ]
  3959. ]
  3960. },
  3961. "sentry.orgauthtoken": {
  3962. "dangling": false,
  3963. "foreign_keys": {
  3964. "created_by": {
  3965. "kind": "FlexibleForeignKey",
  3966. "model": "sentry.user",
  3967. "nullable": true
  3968. },
  3969. "organization_id": {
  3970. "kind": "HybridCloudForeignKey",
  3971. "model": "sentry.organization",
  3972. "nullable": false
  3973. },
  3974. "project_last_used_id": {
  3975. "kind": "HybridCloudForeignKey",
  3976. "model": "sentry.project",
  3977. "nullable": true
  3978. }
  3979. },
  3980. "model": "sentry.orgauthtoken",
  3981. "relocation_dependencies": [],
  3982. "relocation_scope": "Organization",
  3983. "silos": [
  3984. "Control"
  3985. ],
  3986. "table_name": "sentry_orgauthtoken",
  3987. "uniques": [
  3988. [
  3989. "token_hashed"
  3990. ]
  3991. ]
  3992. },
  3993. "sentry.pendingincidentsnapshot": {
  3994. "dangling": false,
  3995. "foreign_keys": {
  3996. "incident": {
  3997. "kind": "OneToOneCascadeDeletes",
  3998. "model": "sentry.incident",
  3999. "nullable": false
  4000. }
  4001. },
  4002. "model": "sentry.pendingincidentsnapshot",
  4003. "relocation_dependencies": [],
  4004. "relocation_scope": "Global",
  4005. "silos": [
  4006. "Region"
  4007. ],
  4008. "table_name": "sentry_pendingincidentsnapshot",
  4009. "uniques": [
  4010. [
  4011. "incident"
  4012. ]
  4013. ]
  4014. },
  4015. "sentry.perfstringindexer": {
  4016. "dangling": false,
  4017. "foreign_keys": {
  4018. "organization_id": {
  4019. "kind": "ImplicitForeignKey",
  4020. "model": "sentry.organization",
  4021. "nullable": false
  4022. }
  4023. },
  4024. "model": "sentry.perfstringindexer",
  4025. "relocation_dependencies": [],
  4026. "relocation_scope": "Excluded",
  4027. "silos": [
  4028. "Region"
  4029. ],
  4030. "table_name": "sentry_perfstringindexer",
  4031. "uniques": [
  4032. [
  4033. "organization_id",
  4034. "string",
  4035. "use_case_id"
  4036. ]
  4037. ]
  4038. },
  4039. "sentry.platformexternalissue": {
  4040. "dangling": false,
  4041. "foreign_keys": {
  4042. "group": {
  4043. "kind": "FlexibleForeignKey",
  4044. "model": "sentry.group",
  4045. "nullable": false
  4046. },
  4047. "project": {
  4048. "kind": "FlexibleForeignKey",
  4049. "model": "sentry.project",
  4050. "nullable": true
  4051. }
  4052. },
  4053. "model": "sentry.platformexternalissue",
  4054. "relocation_dependencies": [],
  4055. "relocation_scope": "Excluded",
  4056. "silos": [
  4057. "Region"
  4058. ],
  4059. "table_name": "sentry_platformexternalissue",
  4060. "uniques": [
  4061. [
  4062. "group",
  4063. "service_type"
  4064. ]
  4065. ]
  4066. },
  4067. "sentry.proguardartifactrelease": {
  4068. "dangling": false,
  4069. "foreign_keys": {
  4070. "organization_id": {
  4071. "kind": "ImplicitForeignKey",
  4072. "model": "sentry.organization",
  4073. "nullable": false
  4074. },
  4075. "project_debug_file": {
  4076. "kind": "FlexibleForeignKey",
  4077. "model": "sentry.projectdebugfile",
  4078. "nullable": false
  4079. },
  4080. "project_id": {
  4081. "kind": "ImplicitForeignKey",
  4082. "model": "sentry.project",
  4083. "nullable": false
  4084. }
  4085. },
  4086. "model": "sentry.proguardartifactrelease",
  4087. "relocation_dependencies": [],
  4088. "relocation_scope": "Excluded",
  4089. "silos": [
  4090. "Region"
  4091. ],
  4092. "table_name": "sentry_proguardartifactrelease",
  4093. "uniques": [
  4094. [
  4095. "proguard_uuid",
  4096. "project_id",
  4097. "release_name"
  4098. ]
  4099. ]
  4100. },
  4101. "sentry.project": {
  4102. "dangling": false,
  4103. "foreign_keys": {
  4104. "organization": {
  4105. "kind": "FlexibleForeignKey",
  4106. "model": "sentry.organization",
  4107. "nullable": false
  4108. },
  4109. "template": {
  4110. "kind": "FlexibleForeignKey",
  4111. "model": "sentry.projecttemplate",
  4112. "nullable": true
  4113. }
  4114. },
  4115. "model": "sentry.project",
  4116. "relocation_dependencies": [],
  4117. "relocation_scope": "Organization",
  4118. "silos": [
  4119. "Region"
  4120. ],
  4121. "table_name": "sentry_project",
  4122. "uniques": [
  4123. [
  4124. "organization",
  4125. "slug"
  4126. ]
  4127. ]
  4128. },
  4129. "sentry.projectartifactbundle": {
  4130. "dangling": false,
  4131. "foreign_keys": {
  4132. "artifact_bundle": {
  4133. "kind": "FlexibleForeignKey",
  4134. "model": "sentry.artifactbundle",
  4135. "nullable": false
  4136. },
  4137. "organization_id": {
  4138. "kind": "ImplicitForeignKey",
  4139. "model": "sentry.organization",
  4140. "nullable": false
  4141. },
  4142. "project_id": {
  4143. "kind": "ImplicitForeignKey",
  4144. "model": "sentry.project",
  4145. "nullable": false
  4146. }
  4147. },
  4148. "model": "sentry.projectartifactbundle",
  4149. "relocation_dependencies": [],
  4150. "relocation_scope": "Excluded",
  4151. "silos": [
  4152. "Region"
  4153. ],
  4154. "table_name": "sentry_projectartifactbundle",
  4155. "uniques": []
  4156. },
  4157. "sentry.projectbookmark": {
  4158. "dangling": false,
  4159. "foreign_keys": {
  4160. "project": {
  4161. "kind": "FlexibleForeignKey",
  4162. "model": "sentry.project",
  4163. "nullable": true
  4164. },
  4165. "user_id": {
  4166. "kind": "HybridCloudForeignKey",
  4167. "model": "sentry.user",
  4168. "nullable": false
  4169. }
  4170. },
  4171. "model": "sentry.projectbookmark",
  4172. "relocation_dependencies": [],
  4173. "relocation_scope": "Organization",
  4174. "silos": [
  4175. "Region"
  4176. ],
  4177. "table_name": "sentry_projectbookmark",
  4178. "uniques": [
  4179. [
  4180. "project",
  4181. "user_id"
  4182. ]
  4183. ]
  4184. },
  4185. "sentry.projectcodeowners": {
  4186. "dangling": false,
  4187. "foreign_keys": {
  4188. "project": {
  4189. "kind": "FlexibleForeignKey",
  4190. "model": "sentry.project",
  4191. "nullable": false
  4192. },
  4193. "repository_project_path_config": {
  4194. "kind": "FlexibleForeignKey",
  4195. "model": "sentry.repositoryprojectpathconfig",
  4196. "nullable": false
  4197. }
  4198. },
  4199. "model": "sentry.projectcodeowners",
  4200. "relocation_dependencies": [],
  4201. "relocation_scope": "Excluded",
  4202. "silos": [
  4203. "Region"
  4204. ],
  4205. "table_name": "sentry_projectcodeowners",
  4206. "uniques": [
  4207. [
  4208. "repository_project_path_config"
  4209. ]
  4210. ]
  4211. },
  4212. "sentry.projectdebugfile": {
  4213. "dangling": false,
  4214. "foreign_keys": {
  4215. "file": {
  4216. "kind": "FlexibleForeignKey",
  4217. "model": "sentry.file",
  4218. "nullable": false
  4219. },
  4220. "project_id": {
  4221. "kind": "ImplicitForeignKey",
  4222. "model": "sentry.project",
  4223. "nullable": true
  4224. }
  4225. },
  4226. "model": "sentry.projectdebugfile",
  4227. "relocation_dependencies": [],
  4228. "relocation_scope": "Excluded",
  4229. "silos": [
  4230. "Region"
  4231. ],
  4232. "table_name": "sentry_projectdsymfile",
  4233. "uniques": []
  4234. },
  4235. "sentry.projectintegration": {
  4236. "dangling": false,
  4237. "foreign_keys": {
  4238. "integration_id": {
  4239. "kind": "HybridCloudForeignKey",
  4240. "model": "sentry.integration",
  4241. "nullable": false
  4242. },
  4243. "project": {
  4244. "kind": "FlexibleForeignKey",
  4245. "model": "sentry.project",
  4246. "nullable": false
  4247. }
  4248. },
  4249. "model": "sentry.projectintegration",
  4250. "relocation_dependencies": [],
  4251. "relocation_scope": "Global",
  4252. "silos": [
  4253. "Region"
  4254. ],
  4255. "table_name": "sentry_projectintegration",
  4256. "uniques": [
  4257. [
  4258. "integration_id",
  4259. "project"
  4260. ]
  4261. ]
  4262. },
  4263. "sentry.projectkey": {
  4264. "dangling": false,
  4265. "foreign_keys": {
  4266. "project": {
  4267. "kind": "FlexibleForeignKey",
  4268. "model": "sentry.project",
  4269. "nullable": false
  4270. }
  4271. },
  4272. "model": "sentry.projectkey",
  4273. "relocation_dependencies": [],
  4274. "relocation_scope": "Organization",
  4275. "silos": [
  4276. "Region"
  4277. ],
  4278. "table_name": "sentry_projectkey",
  4279. "uniques": [
  4280. [
  4281. "public_key"
  4282. ],
  4283. [
  4284. "secret_key"
  4285. ]
  4286. ]
  4287. },
  4288. "sentry.projectoption": {
  4289. "dangling": false,
  4290. "foreign_keys": {
  4291. "project": {
  4292. "kind": "FlexibleForeignKey",
  4293. "model": "sentry.project",
  4294. "nullable": false
  4295. }
  4296. },
  4297. "model": "sentry.projectoption",
  4298. "relocation_dependencies": [],
  4299. "relocation_scope": "Organization",
  4300. "silos": [
  4301. "Region"
  4302. ],
  4303. "table_name": "sentry_projectoptions",
  4304. "uniques": [
  4305. [
  4306. "key",
  4307. "project"
  4308. ]
  4309. ]
  4310. },
  4311. "sentry.projectownership": {
  4312. "dangling": false,
  4313. "foreign_keys": {
  4314. "project": {
  4315. "kind": "FlexibleForeignKey",
  4316. "model": "sentry.project",
  4317. "nullable": false
  4318. }
  4319. },
  4320. "model": "sentry.projectownership",
  4321. "relocation_dependencies": [],
  4322. "relocation_scope": "Organization",
  4323. "silos": [
  4324. "Region"
  4325. ],
  4326. "table_name": "sentry_projectownership",
  4327. "uniques": [
  4328. [
  4329. "project"
  4330. ]
  4331. ]
  4332. },
  4333. "sentry.projectplatform": {
  4334. "dangling": false,
  4335. "foreign_keys": {
  4336. "project_id": {
  4337. "kind": "ImplicitForeignKey",
  4338. "model": "sentry.project",
  4339. "nullable": false
  4340. }
  4341. },
  4342. "model": "sentry.projectplatform",
  4343. "relocation_dependencies": [],
  4344. "relocation_scope": "Excluded",
  4345. "silos": [
  4346. "Region"
  4347. ],
  4348. "table_name": "sentry_projectplatform",
  4349. "uniques": [
  4350. [
  4351. "platform",
  4352. "project_id"
  4353. ]
  4354. ]
  4355. },
  4356. "sentry.projectredirect": {
  4357. "dangling": false,
  4358. "foreign_keys": {
  4359. "organization": {
  4360. "kind": "FlexibleForeignKey",
  4361. "model": "sentry.organization",
  4362. "nullable": false
  4363. },
  4364. "project": {
  4365. "kind": "FlexibleForeignKey",
  4366. "model": "sentry.project",
  4367. "nullable": false
  4368. }
  4369. },
  4370. "model": "sentry.projectredirect",
  4371. "relocation_dependencies": [],
  4372. "relocation_scope": "Organization",
  4373. "silos": [
  4374. "Region"
  4375. ],
  4376. "table_name": "sentry_projectredirect",
  4377. "uniques": [
  4378. [
  4379. "organization",
  4380. "redirect_slug"
  4381. ]
  4382. ]
  4383. },
  4384. "sentry.projectteam": {
  4385. "dangling": false,
  4386. "foreign_keys": {
  4387. "project": {
  4388. "kind": "FlexibleForeignKey",
  4389. "model": "sentry.project",
  4390. "nullable": false
  4391. },
  4392. "team": {
  4393. "kind": "FlexibleForeignKey",
  4394. "model": "sentry.team",
  4395. "nullable": false
  4396. }
  4397. },
  4398. "model": "sentry.projectteam",
  4399. "relocation_dependencies": [],
  4400. "relocation_scope": "Organization",
  4401. "silos": [
  4402. "Region"
  4403. ],
  4404. "table_name": "sentry_projectteam",
  4405. "uniques": [
  4406. [
  4407. "project",
  4408. "team"
  4409. ]
  4410. ]
  4411. },
  4412. "sentry.projecttemplate": {
  4413. "dangling": false,
  4414. "foreign_keys": {
  4415. "organization": {
  4416. "kind": "FlexibleForeignKey",
  4417. "model": "sentry.organization",
  4418. "nullable": false
  4419. }
  4420. },
  4421. "model": "sentry.projecttemplate",
  4422. "relocation_dependencies": [],
  4423. "relocation_scope": "Organization",
  4424. "silos": [
  4425. "Region"
  4426. ],
  4427. "table_name": "sentry_projecttemplate",
  4428. "uniques": [
  4429. [
  4430. "name",
  4431. "organization"
  4432. ]
  4433. ]
  4434. },
  4435. "sentry.projecttemplateoption": {
  4436. "dangling": false,
  4437. "foreign_keys": {
  4438. "project_template": {
  4439. "kind": "FlexibleForeignKey",
  4440. "model": "sentry.projecttemplate",
  4441. "nullable": false
  4442. }
  4443. },
  4444. "model": "sentry.projecttemplateoption",
  4445. "relocation_dependencies": [],
  4446. "relocation_scope": "Organization",
  4447. "silos": [
  4448. "Region"
  4449. ],
  4450. "table_name": "sentry_projecttemplateoption",
  4451. "uniques": [
  4452. [
  4453. "key",
  4454. "project_template"
  4455. ]
  4456. ]
  4457. },
  4458. "sentry.projecttransactionthreshold": {
  4459. "dangling": false,
  4460. "foreign_keys": {
  4461. "edited_by_id": {
  4462. "kind": "HybridCloudForeignKey",
  4463. "model": "sentry.user",
  4464. "nullable": true
  4465. },
  4466. "organization": {
  4467. "kind": "FlexibleForeignKey",
  4468. "model": "sentry.organization",
  4469. "nullable": false
  4470. },
  4471. "project": {
  4472. "kind": "FlexibleForeignKey",
  4473. "model": "sentry.project",
  4474. "nullable": false
  4475. }
  4476. },
  4477. "model": "sentry.projecttransactionthreshold",
  4478. "relocation_dependencies": [],
  4479. "relocation_scope": "Excluded",
  4480. "silos": [
  4481. "Region"
  4482. ],
  4483. "table_name": "sentry_projecttransactionthreshold",
  4484. "uniques": [
  4485. [
  4486. "project"
  4487. ]
  4488. ]
  4489. },
  4490. "sentry.projecttransactionthresholdoverride": {
  4491. "dangling": false,
  4492. "foreign_keys": {
  4493. "edited_by_id": {
  4494. "kind": "HybridCloudForeignKey",
  4495. "model": "sentry.user",
  4496. "nullable": true
  4497. },
  4498. "organization": {
  4499. "kind": "FlexibleForeignKey",
  4500. "model": "sentry.organization",
  4501. "nullable": false
  4502. },
  4503. "project": {
  4504. "kind": "FlexibleForeignKey",
  4505. "model": "sentry.project",
  4506. "nullable": false
  4507. }
  4508. },
  4509. "model": "sentry.projecttransactionthresholdoverride",
  4510. "relocation_dependencies": [],
  4511. "relocation_scope": "Excluded",
  4512. "silos": [
  4513. "Region"
  4514. ],
  4515. "table_name": "sentry_projecttransactionthresholdoverride",
  4516. "uniques": [
  4517. [
  4518. "project",
  4519. "transaction"
  4520. ]
  4521. ]
  4522. },
  4523. "sentry.promptsactivity": {
  4524. "dangling": false,
  4525. "foreign_keys": {
  4526. "organization_id": {
  4527. "kind": "ImplicitForeignKey",
  4528. "model": "sentry.organization",
  4529. "nullable": false
  4530. },
  4531. "project_id": {
  4532. "kind": "ImplicitForeignKey",
  4533. "model": "sentry.project",
  4534. "nullable": false
  4535. },
  4536. "user_id": {
  4537. "kind": "HybridCloudForeignKey",
  4538. "model": "sentry.user",
  4539. "nullable": false
  4540. }
  4541. },
  4542. "model": "sentry.promptsactivity",
  4543. "relocation_dependencies": [],
  4544. "relocation_scope": "Excluded",
  4545. "silos": [
  4546. "Region"
  4547. ],
  4548. "table_name": "sentry_promptsactivity",
  4549. "uniques": [
  4550. [
  4551. "feature",
  4552. "organization_id",
  4553. "project_id",
  4554. "user_id"
  4555. ]
  4556. ]
  4557. },
  4558. "sentry.pullrequest": {
  4559. "dangling": false,
  4560. "foreign_keys": {
  4561. "author": {
  4562. "kind": "FlexibleForeignKey",
  4563. "model": "sentry.commitauthor",
  4564. "nullable": true
  4565. },
  4566. "organization_id": {
  4567. "kind": "ImplicitForeignKey",
  4568. "model": "sentry.organization",
  4569. "nullable": false
  4570. },
  4571. "repository_id": {
  4572. "kind": "ImplicitForeignKey",
  4573. "model": "sentry.repository",
  4574. "nullable": false
  4575. }
  4576. },
  4577. "model": "sentry.pullrequest",
  4578. "relocation_dependencies": [],
  4579. "relocation_scope": "Excluded",
  4580. "silos": [
  4581. "Region"
  4582. ],
  4583. "table_name": "sentry_pull_request",
  4584. "uniques": [
  4585. [
  4586. "key",
  4587. "repository_id"
  4588. ]
  4589. ]
  4590. },
  4591. "sentry.pullrequestcomment": {
  4592. "dangling": false,
  4593. "foreign_keys": {
  4594. "pull_request": {
  4595. "kind": "FlexibleForeignKey",
  4596. "model": "sentry.pullrequest",
  4597. "nullable": false
  4598. }
  4599. },
  4600. "model": "sentry.pullrequestcomment",
  4601. "relocation_dependencies": [],
  4602. "relocation_scope": "Excluded",
  4603. "silos": [
  4604. "Region"
  4605. ],
  4606. "table_name": "sentry_pullrequest_comment",
  4607. "uniques": [
  4608. [
  4609. "comment_type",
  4610. "pull_request"
  4611. ]
  4612. ]
  4613. },
  4614. "sentry.pullrequestcommit": {
  4615. "dangling": false,
  4616. "foreign_keys": {
  4617. "commit": {
  4618. "kind": "FlexibleForeignKey",
  4619. "model": "sentry.commit",
  4620. "nullable": false
  4621. },
  4622. "pull_request": {
  4623. "kind": "FlexibleForeignKey",
  4624. "model": "sentry.pullrequest",
  4625. "nullable": false
  4626. }
  4627. },
  4628. "model": "sentry.pullrequestcommit",
  4629. "relocation_dependencies": [],
  4630. "relocation_scope": "Excluded",
  4631. "silos": [
  4632. "Region"
  4633. ],
  4634. "table_name": "sentry_pullrequest_commit",
  4635. "uniques": [
  4636. [
  4637. "commit",
  4638. "pull_request"
  4639. ]
  4640. ]
  4641. },
  4642. "sentry.querysubscription": {
  4643. "dangling": false,
  4644. "foreign_keys": {
  4645. "project": {
  4646. "kind": "FlexibleForeignKey",
  4647. "model": "sentry.project",
  4648. "nullable": false
  4649. },
  4650. "snuba_query": {
  4651. "kind": "FlexibleForeignKey",
  4652. "model": "sentry.snubaquery",
  4653. "nullable": true
  4654. }
  4655. },
  4656. "model": "sentry.querysubscription",
  4657. "relocation_dependencies": [],
  4658. "relocation_scope": "Organization",
  4659. "silos": [
  4660. "Region"
  4661. ],
  4662. "table_name": "sentry_querysubscription",
  4663. "uniques": [
  4664. [
  4665. "subscription_id"
  4666. ]
  4667. ]
  4668. },
  4669. "sentry.recentsearch": {
  4670. "dangling": false,
  4671. "foreign_keys": {
  4672. "organization": {
  4673. "kind": "FlexibleForeignKey",
  4674. "model": "sentry.organization",
  4675. "nullable": false
  4676. },
  4677. "user_id": {
  4678. "kind": "HybridCloudForeignKey",
  4679. "model": "sentry.user",
  4680. "nullable": false
  4681. }
  4682. },
  4683. "model": "sentry.recentsearch",
  4684. "relocation_dependencies": [],
  4685. "relocation_scope": "Organization",
  4686. "silos": [
  4687. "Region"
  4688. ],
  4689. "table_name": "sentry_recentsearch",
  4690. "uniques": [
  4691. [
  4692. "organization",
  4693. "query_hash",
  4694. "type",
  4695. "user_id"
  4696. ]
  4697. ]
  4698. },
  4699. "sentry.regionimportchunk": {
  4700. "dangling": false,
  4701. "foreign_keys": {},
  4702. "model": "sentry.regionimportchunk",
  4703. "relocation_dependencies": [],
  4704. "relocation_scope": "Excluded",
  4705. "silos": [
  4706. "Region"
  4707. ],
  4708. "table_name": "sentry_regionimportchunk",
  4709. "uniques": [
  4710. [
  4711. "import_uuid",
  4712. "min_ordinal",
  4713. "model"
  4714. ]
  4715. ]
  4716. },
  4717. "sentry.regionoutbox": {
  4718. "dangling": false,
  4719. "foreign_keys": {},
  4720. "model": "sentry.regionoutbox",
  4721. "relocation_dependencies": [],
  4722. "relocation_scope": "Excluded",
  4723. "silos": [
  4724. "Region"
  4725. ],
  4726. "table_name": "sentry_regionoutbox",
  4727. "uniques": []
  4728. },
  4729. "sentry.regionscheduleddeletion": {
  4730. "dangling": false,
  4731. "foreign_keys": {},
  4732. "model": "sentry.regionscheduleddeletion",
  4733. "relocation_dependencies": [],
  4734. "relocation_scope": "Excluded",
  4735. "silos": [
  4736. "Region"
  4737. ],
  4738. "table_name": "sentry_regionscheduleddeletion",
  4739. "uniques": [
  4740. [
  4741. "app_label",
  4742. "model_name",
  4743. "object_id"
  4744. ],
  4745. [
  4746. "guid"
  4747. ]
  4748. ]
  4749. },
  4750. "sentry.regiontombstone": {
  4751. "dangling": false,
  4752. "foreign_keys": {},
  4753. "model": "sentry.regiontombstone",
  4754. "relocation_dependencies": [],
  4755. "relocation_scope": "Excluded",
  4756. "silos": [
  4757. "Region"
  4758. ],
  4759. "table_name": "sentry_regiontombstone",
  4760. "uniques": []
  4761. },
  4762. "sentry.regressiongroup": {
  4763. "dangling": false,
  4764. "foreign_keys": {
  4765. "project_id": {
  4766. "kind": "ImplicitForeignKey",
  4767. "model": "sentry.project",
  4768. "nullable": false
  4769. }
  4770. },
  4771. "model": "sentry.regressiongroup",
  4772. "relocation_dependencies": [],
  4773. "relocation_scope": "Excluded",
  4774. "silos": [
  4775. "Region"
  4776. ],
  4777. "table_name": "sentry_regressiongroup",
  4778. "uniques": [
  4779. [
  4780. "fingerprint",
  4781. "project_id",
  4782. "type",
  4783. "version"
  4784. ]
  4785. ]
  4786. },
  4787. "sentry.relay": {
  4788. "dangling": false,
  4789. "foreign_keys": {},
  4790. "model": "sentry.relay",
  4791. "relocation_dependencies": [],
  4792. "relocation_scope": "Config",
  4793. "silos": [
  4794. "Region"
  4795. ],
  4796. "table_name": "sentry_relay",
  4797. "uniques": [
  4798. [
  4799. "relay_id"
  4800. ]
  4801. ]
  4802. },
  4803. "sentry.relayusage": {
  4804. "dangling": false,
  4805. "foreign_keys": {},
  4806. "model": "sentry.relayusage",
  4807. "relocation_dependencies": [],
  4808. "relocation_scope": "Config",
  4809. "silos": [
  4810. "Region"
  4811. ],
  4812. "table_name": "sentry_relayusage",
  4813. "uniques": [
  4814. [
  4815. "relay_id",
  4816. "version"
  4817. ]
  4818. ]
  4819. },
  4820. "sentry.release": {
  4821. "dangling": false,
  4822. "foreign_keys": {
  4823. "organization": {
  4824. "kind": "FlexibleForeignKey",
  4825. "model": "sentry.organization",
  4826. "nullable": false
  4827. },
  4828. "owner_id": {
  4829. "kind": "HybridCloudForeignKey",
  4830. "model": "sentry.user",
  4831. "nullable": true
  4832. }
  4833. },
  4834. "model": "sentry.release",
  4835. "relocation_dependencies": [],
  4836. "relocation_scope": "Excluded",
  4837. "silos": [
  4838. "Region"
  4839. ],
  4840. "table_name": "sentry_release",
  4841. "uniques": [
  4842. [
  4843. "organization",
  4844. "version"
  4845. ]
  4846. ]
  4847. },
  4848. "sentry.releaseactivity": {
  4849. "dangling": false,
  4850. "foreign_keys": {
  4851. "release": {
  4852. "kind": "FlexibleForeignKey",
  4853. "model": "sentry.release",
  4854. "nullable": false
  4855. }
  4856. },
  4857. "model": "sentry.releaseactivity",
  4858. "relocation_dependencies": [],
  4859. "relocation_scope": "Excluded",
  4860. "silos": [
  4861. "Region"
  4862. ],
  4863. "table_name": "sentry_releaseactivity",
  4864. "uniques": []
  4865. },
  4866. "sentry.releaseartifactbundle": {
  4867. "dangling": false,
  4868. "foreign_keys": {
  4869. "artifact_bundle": {
  4870. "kind": "FlexibleForeignKey",
  4871. "model": "sentry.artifactbundle",
  4872. "nullable": false
  4873. },
  4874. "organization_id": {
  4875. "kind": "ImplicitForeignKey",
  4876. "model": "sentry.organization",
  4877. "nullable": false
  4878. }
  4879. },
  4880. "model": "sentry.releaseartifactbundle",
  4881. "relocation_dependencies": [],
  4882. "relocation_scope": "Excluded",
  4883. "silos": [
  4884. "Region"
  4885. ],
  4886. "table_name": "sentry_releaseartifactbundle",
  4887. "uniques": []
  4888. },
  4889. "sentry.releasecommit": {
  4890. "dangling": false,
  4891. "foreign_keys": {
  4892. "commit": {
  4893. "kind": "FlexibleForeignKey",
  4894. "model": "sentry.commit",
  4895. "nullable": false
  4896. },
  4897. "organization_id": {
  4898. "kind": "ImplicitForeignKey",
  4899. "model": "sentry.organization",
  4900. "nullable": false
  4901. },
  4902. "project_id": {
  4903. "kind": "ImplicitForeignKey",
  4904. "model": "sentry.project",
  4905. "nullable": true
  4906. },
  4907. "release": {
  4908. "kind": "FlexibleForeignKey",
  4909. "model": "sentry.release",
  4910. "nullable": false
  4911. }
  4912. },
  4913. "model": "sentry.releasecommit",
  4914. "relocation_dependencies": [],
  4915. "relocation_scope": "Excluded",
  4916. "silos": [
  4917. "Region"
  4918. ],
  4919. "table_name": "sentry_releasecommit",
  4920. "uniques": [
  4921. [
  4922. "commit",
  4923. "release"
  4924. ],
  4925. [
  4926. "order",
  4927. "release"
  4928. ]
  4929. ]
  4930. },
  4931. "sentry.releaseenvironment": {
  4932. "dangling": false,
  4933. "foreign_keys": {
  4934. "environment": {
  4935. "kind": "FlexibleForeignKey",
  4936. "model": "sentry.environment",
  4937. "nullable": false
  4938. },
  4939. "organization": {
  4940. "kind": "FlexibleForeignKey",
  4941. "model": "sentry.organization",
  4942. "nullable": false
  4943. },
  4944. "project_id": {
  4945. "kind": "ImplicitForeignKey",
  4946. "model": "sentry.project",
  4947. "nullable": true
  4948. },
  4949. "release": {
  4950. "kind": "FlexibleForeignKey",
  4951. "model": "sentry.release",
  4952. "nullable": false
  4953. }
  4954. },
  4955. "model": "sentry.releaseenvironment",
  4956. "relocation_dependencies": [],
  4957. "relocation_scope": "Excluded",
  4958. "silos": [
  4959. "Region"
  4960. ],
  4961. "table_name": "sentry_environmentrelease",
  4962. "uniques": [
  4963. [
  4964. "environment",
  4965. "organization",
  4966. "release"
  4967. ]
  4968. ]
  4969. },
  4970. "sentry.releasefile": {
  4971. "dangling": false,
  4972. "foreign_keys": {
  4973. "file": {
  4974. "kind": "FlexibleForeignKey",
  4975. "model": "sentry.file",
  4976. "nullable": false
  4977. },
  4978. "organization_id": {
  4979. "kind": "ImplicitForeignKey",
  4980. "model": "sentry.organization",
  4981. "nullable": false
  4982. },
  4983. "project_id": {
  4984. "kind": "ImplicitForeignKey",
  4985. "model": "sentry.project",
  4986. "nullable": true
  4987. },
  4988. "release_id": {
  4989. "kind": "ImplicitForeignKey",
  4990. "model": "sentry.release",
  4991. "nullable": false
  4992. }
  4993. },
  4994. "model": "sentry.releasefile",
  4995. "relocation_dependencies": [],
  4996. "relocation_scope": "Excluded",
  4997. "silos": [
  4998. "Region"
  4999. ],
  5000. "table_name": "sentry_releasefile",
  5001. "uniques": [
  5002. [
  5003. "ident",
  5004. "release_id"
  5005. ]
  5006. ]
  5007. },
  5008. "sentry.releaseheadcommit": {
  5009. "dangling": false,
  5010. "foreign_keys": {
  5011. "commit": {
  5012. "kind": "FlexibleForeignKey",
  5013. "model": "sentry.commit",
  5014. "nullable": false
  5015. },
  5016. "organization_id": {
  5017. "kind": "ImplicitForeignKey",
  5018. "model": "sentry.organization",
  5019. "nullable": false
  5020. },
  5021. "release": {
  5022. "kind": "FlexibleForeignKey",
  5023. "model": "sentry.release",
  5024. "nullable": false
  5025. },
  5026. "repository_id": {
  5027. "kind": "ImplicitForeignKey",
  5028. "model": "sentry.repository",
  5029. "nullable": false
  5030. }
  5031. },
  5032. "model": "sentry.releaseheadcommit",
  5033. "relocation_dependencies": [],
  5034. "relocation_scope": "Excluded",
  5035. "silos": [
  5036. "Region"
  5037. ],
  5038. "table_name": "sentry_releaseheadcommit",
  5039. "uniques": [
  5040. [
  5041. "release",
  5042. "repository_id"
  5043. ]
  5044. ]
  5045. },
  5046. "sentry.releaseproject": {
  5047. "dangling": false,
  5048. "foreign_keys": {
  5049. "project": {
  5050. "kind": "FlexibleForeignKey",
  5051. "model": "sentry.project",
  5052. "nullable": false
  5053. },
  5054. "release": {
  5055. "kind": "FlexibleForeignKey",
  5056. "model": "sentry.release",
  5057. "nullable": false
  5058. }
  5059. },
  5060. "model": "sentry.releaseproject",
  5061. "relocation_dependencies": [],
  5062. "relocation_scope": "Excluded",
  5063. "silos": [
  5064. "Region"
  5065. ],
  5066. "table_name": "sentry_release_project",
  5067. "uniques": [
  5068. [
  5069. "project",
  5070. "release"
  5071. ]
  5072. ]
  5073. },
  5074. "sentry.releaseprojectenvironment": {
  5075. "dangling": false,
  5076. "foreign_keys": {
  5077. "environment": {
  5078. "kind": "FlexibleForeignKey",
  5079. "model": "sentry.environment",
  5080. "nullable": false
  5081. },
  5082. "project": {
  5083. "kind": "FlexibleForeignKey",
  5084. "model": "sentry.project",
  5085. "nullable": false
  5086. },
  5087. "release": {
  5088. "kind": "FlexibleForeignKey",
  5089. "model": "sentry.release",
  5090. "nullable": false
  5091. }
  5092. },
  5093. "model": "sentry.releaseprojectenvironment",
  5094. "relocation_dependencies": [],
  5095. "relocation_scope": "Excluded",
  5096. "silos": [
  5097. "Region"
  5098. ],
  5099. "table_name": "sentry_releaseprojectenvironment",
  5100. "uniques": [
  5101. [
  5102. "environment",
  5103. "project",
  5104. "release"
  5105. ]
  5106. ]
  5107. },
  5108. "sentry.releasethreshold": {
  5109. "dangling": false,
  5110. "foreign_keys": {
  5111. "environment": {
  5112. "kind": "FlexibleForeignKey",
  5113. "model": "sentry.environment",
  5114. "nullable": true
  5115. },
  5116. "project": {
  5117. "kind": "FlexibleForeignKey",
  5118. "model": "sentry.project",
  5119. "nullable": false
  5120. }
  5121. },
  5122. "model": "sentry.releasethreshold",
  5123. "relocation_dependencies": [],
  5124. "relocation_scope": "Excluded",
  5125. "silos": [
  5126. "Region"
  5127. ],
  5128. "table_name": "sentry_releasethreshold",
  5129. "uniques": []
  5130. },
  5131. "sentry.relocation": {
  5132. "dangling": false,
  5133. "foreign_keys": {},
  5134. "model": "sentry.relocation",
  5135. "relocation_dependencies": [
  5136. "sentry.user"
  5137. ],
  5138. "relocation_scope": "Excluded",
  5139. "silos": [
  5140. "Region"
  5141. ],
  5142. "table_name": "sentry_relocation",
  5143. "uniques": [
  5144. [
  5145. "uuid"
  5146. ]
  5147. ]
  5148. },
  5149. "sentry.relocationfile": {
  5150. "dangling": false,
  5151. "foreign_keys": {
  5152. "file": {
  5153. "kind": "FlexibleForeignKey",
  5154. "model": "sentry.file",
  5155. "nullable": false
  5156. },
  5157. "relocation": {
  5158. "kind": "FlexibleForeignKey",
  5159. "model": "sentry.relocation",
  5160. "nullable": false
  5161. }
  5162. },
  5163. "model": "sentry.relocationfile",
  5164. "relocation_dependencies": [],
  5165. "relocation_scope": "Excluded",
  5166. "silos": [
  5167. "Region"
  5168. ],
  5169. "table_name": "sentry_relocationfile",
  5170. "uniques": [
  5171. [
  5172. "file",
  5173. "relocation"
  5174. ],
  5175. [
  5176. "kind",
  5177. "relocation"
  5178. ]
  5179. ]
  5180. },
  5181. "sentry.relocationvalidation": {
  5182. "dangling": false,
  5183. "foreign_keys": {
  5184. "relocation": {
  5185. "kind": "FlexibleForeignKey",
  5186. "model": "sentry.relocation",
  5187. "nullable": false
  5188. }
  5189. },
  5190. "model": "sentry.relocationvalidation",
  5191. "relocation_dependencies": [],
  5192. "relocation_scope": "Excluded",
  5193. "silos": [
  5194. "Region"
  5195. ],
  5196. "table_name": "sentry_relocationvalidation",
  5197. "uniques": []
  5198. },
  5199. "sentry.relocationvalidationattempt": {
  5200. "dangling": false,
  5201. "foreign_keys": {
  5202. "relocation": {
  5203. "kind": "FlexibleForeignKey",
  5204. "model": "sentry.relocation",
  5205. "nullable": false
  5206. },
  5207. "relocation_validation": {
  5208. "kind": "FlexibleForeignKey",
  5209. "model": "sentry.relocationvalidation",
  5210. "nullable": false
  5211. }
  5212. },
  5213. "model": "sentry.relocationvalidationattempt",
  5214. "relocation_dependencies": [],
  5215. "relocation_scope": "Excluded",
  5216. "silos": [
  5217. "Region"
  5218. ],
  5219. "table_name": "sentry_relocationvalidationattempt",
  5220. "uniques": [
  5221. [
  5222. "build_id"
  5223. ]
  5224. ]
  5225. },
  5226. "sentry.repository": {
  5227. "dangling": false,
  5228. "foreign_keys": {
  5229. "integration_id": {
  5230. "kind": "ImplicitForeignKey",
  5231. "model": "sentry.integration",
  5232. "nullable": true
  5233. },
  5234. "organization_id": {
  5235. "kind": "ImplicitForeignKey",
  5236. "model": "sentry.organization",
  5237. "nullable": false
  5238. }
  5239. },
  5240. "model": "sentry.repository",
  5241. "relocation_dependencies": [],
  5242. "relocation_scope": "Global",
  5243. "silos": [
  5244. "Region"
  5245. ],
  5246. "table_name": "sentry_repository",
  5247. "uniques": [
  5248. [
  5249. "external_id",
  5250. "organization_id",
  5251. "provider"
  5252. ]
  5253. ]
  5254. },
  5255. "sentry.repositoryprojectpathconfig": {
  5256. "dangling": false,
  5257. "foreign_keys": {
  5258. "integration_id": {
  5259. "kind": "ImplicitForeignKey",
  5260. "model": "sentry.integration",
  5261. "nullable": false
  5262. },
  5263. "organization_id": {
  5264. "kind": "ImplicitForeignKey",
  5265. "model": "sentry.organization",
  5266. "nullable": false
  5267. },
  5268. "organization_integration_id": {
  5269. "kind": "HybridCloudForeignKey",
  5270. "model": "sentry.organizationintegration",
  5271. "nullable": false
  5272. },
  5273. "project": {
  5274. "kind": "FlexibleForeignKey",
  5275. "model": "sentry.project",
  5276. "nullable": false
  5277. },
  5278. "repository": {
  5279. "kind": "FlexibleForeignKey",
  5280. "model": "sentry.repository",
  5281. "nullable": false
  5282. }
  5283. },
  5284. "model": "sentry.repositoryprojectpathconfig",
  5285. "relocation_dependencies": [],
  5286. "relocation_scope": "Excluded",
  5287. "silos": [
  5288. "Region"
  5289. ],
  5290. "table_name": "sentry_repositoryprojectpathconfig",
  5291. "uniques": [
  5292. [
  5293. "project",
  5294. "stack_root"
  5295. ]
  5296. ]
  5297. },
  5298. "sentry.rollbackorganization": {
  5299. "dangling": false,
  5300. "foreign_keys": {
  5301. "organization": {
  5302. "kind": "FlexibleForeignKey",
  5303. "model": "sentry.organization",
  5304. "nullable": false
  5305. }
  5306. },
  5307. "model": "sentry.rollbackorganization",
  5308. "relocation_dependencies": [],
  5309. "relocation_scope": "Excluded",
  5310. "silos": [
  5311. "Region"
  5312. ],
  5313. "table_name": "sentry_rollbackorganization",
  5314. "uniques": [
  5315. [
  5316. "organization_id"
  5317. ]
  5318. ]
  5319. },
  5320. "sentry.rollbackuser": {
  5321. "dangling": false,
  5322. "foreign_keys": {
  5323. "organization": {
  5324. "kind": "FlexibleForeignKey",
  5325. "model": "sentry.organization",
  5326. "nullable": false
  5327. },
  5328. "user_id": {
  5329. "kind": "HybridCloudForeignKey",
  5330. "model": "sentry.user",
  5331. "nullable": false
  5332. }
  5333. },
  5334. "model": "sentry.rollbackuser",
  5335. "relocation_dependencies": [],
  5336. "relocation_scope": "Excluded",
  5337. "silos": [
  5338. "Region"
  5339. ],
  5340. "table_name": "sentry_rollbackuser",
  5341. "uniques": [
  5342. [
  5343. "organization_id",
  5344. "user_id"
  5345. ],
  5346. [
  5347. "share_uuid"
  5348. ],
  5349. [
  5350. "uuid"
  5351. ]
  5352. ]
  5353. },
  5354. "sentry.rule": {
  5355. "dangling": false,
  5356. "foreign_keys": {
  5357. "environment_id": {
  5358. "kind": "ImplicitForeignKey",
  5359. "model": "sentry.environment",
  5360. "nullable": true
  5361. },
  5362. "owner_team": {
  5363. "kind": "FlexibleForeignKey",
  5364. "model": "sentry.team",
  5365. "nullable": true
  5366. },
  5367. "owner_user_id": {
  5368. "kind": "HybridCloudForeignKey",
  5369. "model": "sentry.user",
  5370. "nullable": true
  5371. },
  5372. "project": {
  5373. "kind": "FlexibleForeignKey",
  5374. "model": "sentry.project",
  5375. "nullable": false
  5376. }
  5377. },
  5378. "model": "sentry.rule",
  5379. "relocation_dependencies": [],
  5380. "relocation_scope": "Organization",
  5381. "silos": [
  5382. "Region"
  5383. ],
  5384. "table_name": "sentry_rule",
  5385. "uniques": []
  5386. },
  5387. "sentry.ruleactivity": {
  5388. "dangling": false,
  5389. "foreign_keys": {
  5390. "rule": {
  5391. "kind": "FlexibleForeignKey",
  5392. "model": "sentry.rule",
  5393. "nullable": false
  5394. },
  5395. "user_id": {
  5396. "kind": "HybridCloudForeignKey",
  5397. "model": "sentry.user",
  5398. "nullable": true
  5399. }
  5400. },
  5401. "model": "sentry.ruleactivity",
  5402. "relocation_dependencies": [],
  5403. "relocation_scope": "Organization",
  5404. "silos": [
  5405. "Region"
  5406. ],
  5407. "table_name": "sentry_ruleactivity",
  5408. "uniques": []
  5409. },
  5410. "sentry.rulefirehistory": {
  5411. "dangling": false,
  5412. "foreign_keys": {
  5413. "group": {
  5414. "kind": "FlexibleForeignKey",
  5415. "model": "sentry.group",
  5416. "nullable": false
  5417. },
  5418. "project": {
  5419. "kind": "FlexibleForeignKey",
  5420. "model": "sentry.project",
  5421. "nullable": false
  5422. },
  5423. "rule": {
  5424. "kind": "FlexibleForeignKey",
  5425. "model": "sentry.rule",
  5426. "nullable": false
  5427. }
  5428. },
  5429. "model": "sentry.rulefirehistory",
  5430. "relocation_dependencies": [],
  5431. "relocation_scope": "Excluded",
  5432. "silos": [
  5433. "Region"
  5434. ],
  5435. "table_name": "sentry_rulefirehistory",
  5436. "uniques": []
  5437. },
  5438. "sentry.rulesnooze": {
  5439. "dangling": false,
  5440. "foreign_keys": {
  5441. "alert_rule": {
  5442. "kind": "FlexibleForeignKey",
  5443. "model": "sentry.alertrule",
  5444. "nullable": true
  5445. },
  5446. "owner_id": {
  5447. "kind": "HybridCloudForeignKey",
  5448. "model": "sentry.user",
  5449. "nullable": true
  5450. },
  5451. "rule": {
  5452. "kind": "FlexibleForeignKey",
  5453. "model": "sentry.rule",
  5454. "nullable": true
  5455. },
  5456. "user_id": {
  5457. "kind": "HybridCloudForeignKey",
  5458. "model": "sentry.user",
  5459. "nullable": true
  5460. }
  5461. },
  5462. "model": "sentry.rulesnooze",
  5463. "relocation_dependencies": [],
  5464. "relocation_scope": "Organization",
  5465. "silos": [
  5466. "Region"
  5467. ],
  5468. "table_name": "sentry_rulesnooze",
  5469. "uniques": [
  5470. [
  5471. "alert_rule"
  5472. ],
  5473. [
  5474. "alert_rule",
  5475. "user_id"
  5476. ],
  5477. [
  5478. "rule"
  5479. ],
  5480. [
  5481. "rule",
  5482. "user_id"
  5483. ]
  5484. ]
  5485. },
  5486. "sentry.savedsearch": {
  5487. "dangling": false,
  5488. "foreign_keys": {
  5489. "organization": {
  5490. "kind": "FlexibleForeignKey",
  5491. "model": "sentry.organization",
  5492. "nullable": true
  5493. },
  5494. "owner_id": {
  5495. "kind": "HybridCloudForeignKey",
  5496. "model": "sentry.user",
  5497. "nullable": true
  5498. }
  5499. },
  5500. "model": "sentry.savedsearch",
  5501. "relocation_dependencies": [],
  5502. "relocation_scope": "Organization",
  5503. "silos": [
  5504. "Region"
  5505. ],
  5506. "table_name": "sentry_savedsearch",
  5507. "uniques": [
  5508. [
  5509. "is_global",
  5510. "name"
  5511. ],
  5512. [
  5513. "organization",
  5514. "owner_id",
  5515. "type"
  5516. ]
  5517. ]
  5518. },
  5519. "sentry.scheduleddeletion": {
  5520. "dangling": false,
  5521. "foreign_keys": {},
  5522. "model": "sentry.scheduleddeletion",
  5523. "relocation_dependencies": [],
  5524. "relocation_scope": "Excluded",
  5525. "silos": [
  5526. "Control"
  5527. ],
  5528. "table_name": "sentry_scheduleddeletion",
  5529. "uniques": [
  5530. [
  5531. "app_label",
  5532. "model_name",
  5533. "object_id"
  5534. ],
  5535. [
  5536. "guid"
  5537. ]
  5538. ]
  5539. },
  5540. "sentry.sentryapp": {
  5541. "dangling": false,
  5542. "foreign_keys": {
  5543. "application": {
  5544. "kind": "DefaultOneToOneField",
  5545. "model": "sentry.apiapplication",
  5546. "nullable": true
  5547. },
  5548. "creator_user": {
  5549. "kind": "FlexibleForeignKey",
  5550. "model": "sentry.user",
  5551. "nullable": true
  5552. },
  5553. "owner_id": {
  5554. "kind": "HybridCloudForeignKey",
  5555. "model": "sentry.organization",
  5556. "nullable": false
  5557. },
  5558. "proxy_user": {
  5559. "kind": "DefaultOneToOneField",
  5560. "model": "sentry.user",
  5561. "nullable": true
  5562. }
  5563. },
  5564. "model": "sentry.sentryapp",
  5565. "relocation_dependencies": [],
  5566. "relocation_scope": "Global",
  5567. "silos": [
  5568. "Control"
  5569. ],
  5570. "table_name": "sentry_sentryapp",
  5571. "uniques": [
  5572. [
  5573. "application"
  5574. ],
  5575. [
  5576. "proxy_user"
  5577. ],
  5578. [
  5579. "slug"
  5580. ]
  5581. ]
  5582. },
  5583. "sentry.sentryappavatar": {
  5584. "dangling": false,
  5585. "foreign_keys": {
  5586. "control_file_id": {
  5587. "kind": "ImplicitForeignKey",
  5588. "model": "sentry.controlfile",
  5589. "nullable": true
  5590. },
  5591. "sentry_app": {
  5592. "kind": "FlexibleForeignKey",
  5593. "model": "sentry.sentryapp",
  5594. "nullable": false
  5595. }
  5596. },
  5597. "model": "sentry.sentryappavatar",
  5598. "relocation_dependencies": [],
  5599. "relocation_scope": "Excluded",
  5600. "silos": [
  5601. "Control"
  5602. ],
  5603. "table_name": "sentry_sentryappavatar",
  5604. "uniques": [
  5605. [
  5606. "control_file_id"
  5607. ],
  5608. [
  5609. "ident"
  5610. ]
  5611. ]
  5612. },
  5613. "sentry.sentryappcomponent": {
  5614. "dangling": false,
  5615. "foreign_keys": {
  5616. "sentry_app": {
  5617. "kind": "FlexibleForeignKey",
  5618. "model": "sentry.sentryapp",
  5619. "nullable": false
  5620. }
  5621. },
  5622. "model": "sentry.sentryappcomponent",
  5623. "relocation_dependencies": [],
  5624. "relocation_scope": "Global",
  5625. "silos": [
  5626. "Control"
  5627. ],
  5628. "table_name": "sentry_sentryappcomponent",
  5629. "uniques": [
  5630. [
  5631. "uuid"
  5632. ]
  5633. ]
  5634. },
  5635. "sentry.sentryappinstallation": {
  5636. "dangling": false,
  5637. "foreign_keys": {
  5638. "api_grant": {
  5639. "kind": "DefaultOneToOneField",
  5640. "model": "sentry.apigrant",
  5641. "nullable": true
  5642. },
  5643. "api_token": {
  5644. "kind": "DefaultOneToOneField",
  5645. "model": "sentry.apitoken",
  5646. "nullable": true
  5647. },
  5648. "organization_id": {
  5649. "kind": "HybridCloudForeignKey",
  5650. "model": "sentry.organization",
  5651. "nullable": false
  5652. },
  5653. "sentry_app": {
  5654. "kind": "FlexibleForeignKey",
  5655. "model": "sentry.sentryapp",
  5656. "nullable": false
  5657. }
  5658. },
  5659. "model": "sentry.sentryappinstallation",
  5660. "relocation_dependencies": [],
  5661. "relocation_scope": "Global",
  5662. "silos": [
  5663. "Control"
  5664. ],
  5665. "table_name": "sentry_sentryappinstallation",
  5666. "uniques": [
  5667. [
  5668. "api_grant"
  5669. ],
  5670. [
  5671. "api_token"
  5672. ]
  5673. ]
  5674. },
  5675. "sentry.sentryappinstallationforprovider": {
  5676. "dangling": false,
  5677. "foreign_keys": {
  5678. "organization_id": {
  5679. "kind": "HybridCloudForeignKey",
  5680. "model": "sentry.organization",
  5681. "nullable": false
  5682. },
  5683. "sentry_app_installation": {
  5684. "kind": "FlexibleForeignKey",
  5685. "model": "sentry.sentryappinstallation",
  5686. "nullable": false
  5687. }
  5688. },
  5689. "model": "sentry.sentryappinstallationforprovider",
  5690. "relocation_dependencies": [],
  5691. "relocation_scope": "Excluded",
  5692. "silos": [
  5693. "Control"
  5694. ],
  5695. "table_name": "sentry_sentryappinstallationforprovider",
  5696. "uniques": [
  5697. [
  5698. "organization_id",
  5699. "provider"
  5700. ]
  5701. ]
  5702. },
  5703. "sentry.sentryappinstallationtoken": {
  5704. "dangling": false,
  5705. "foreign_keys": {
  5706. "api_token": {
  5707. "kind": "FlexibleForeignKey",
  5708. "model": "sentry.apitoken",
  5709. "nullable": false
  5710. },
  5711. "sentry_app_installation": {
  5712. "kind": "FlexibleForeignKey",
  5713. "model": "sentry.sentryappinstallation",
  5714. "nullable": false
  5715. }
  5716. },
  5717. "model": "sentry.sentryappinstallationtoken",
  5718. "relocation_dependencies": [],
  5719. "relocation_scope": "Excluded",
  5720. "silos": [
  5721. "Control"
  5722. ],
  5723. "table_name": "sentry_sentryappinstallationtoken",
  5724. "uniques": [
  5725. [
  5726. "api_token",
  5727. "sentry_app_installation"
  5728. ]
  5729. ]
  5730. },
  5731. "sentry.sentryshot": {
  5732. "dangling": false,
  5733. "foreign_keys": {
  5734. "organization_id": {
  5735. "kind": "HybridCloudForeignKey",
  5736. "model": "sentry.organization",
  5737. "nullable": false
  5738. }
  5739. },
  5740. "model": "sentry.sentryshot",
  5741. "relocation_dependencies": [],
  5742. "relocation_scope": "Excluded",
  5743. "silos": [
  5744. "Region"
  5745. ],
  5746. "table_name": "sentry_sentryshot",
  5747. "uniques": []
  5748. },
  5749. "sentry.servicehook": {
  5750. "dangling": false,
  5751. "foreign_keys": {
  5752. "application_id": {
  5753. "kind": "HybridCloudForeignKey",
  5754. "model": "sentry.apiapplication",
  5755. "nullable": true
  5756. },
  5757. "installation_id": {
  5758. "kind": "HybridCloudForeignKey",
  5759. "model": "sentry.sentryappinstallation",
  5760. "nullable": true
  5761. },
  5762. "organization_id": {
  5763. "kind": "ImplicitForeignKey",
  5764. "model": "sentry.organization",
  5765. "nullable": true
  5766. },
  5767. "project_id": {
  5768. "kind": "ImplicitForeignKey",
  5769. "model": "sentry.project",
  5770. "nullable": true
  5771. }
  5772. },
  5773. "model": "sentry.servicehook",
  5774. "relocation_dependencies": [],
  5775. "relocation_scope": "Global",
  5776. "silos": [
  5777. "Region"
  5778. ],
  5779. "table_name": "sentry_servicehook",
  5780. "uniques": [
  5781. [
  5782. "guid"
  5783. ]
  5784. ]
  5785. },
  5786. "sentry.servicehookproject": {
  5787. "dangling": false,
  5788. "foreign_keys": {
  5789. "project_id": {
  5790. "kind": "ImplicitForeignKey",
  5791. "model": "sentry.project",
  5792. "nullable": false
  5793. },
  5794. "service_hook": {
  5795. "kind": "FlexibleForeignKey",
  5796. "model": "sentry.servicehook",
  5797. "nullable": false
  5798. }
  5799. },
  5800. "model": "sentry.servicehookproject",
  5801. "relocation_dependencies": [],
  5802. "relocation_scope": "Excluded",
  5803. "silos": [
  5804. "Region"
  5805. ],
  5806. "table_name": "sentry_servicehookproject",
  5807. "uniques": [
  5808. [
  5809. "project_id",
  5810. "service_hook"
  5811. ]
  5812. ]
  5813. },
  5814. "sentry.snubaquery": {
  5815. "dangling": true,
  5816. "foreign_keys": {
  5817. "environment": {
  5818. "kind": "FlexibleForeignKey",
  5819. "model": "sentry.environment",
  5820. "nullable": true
  5821. }
  5822. },
  5823. "model": "sentry.snubaquery",
  5824. "relocation_dependencies": [
  5825. "sentry.organization",
  5826. "sentry.project"
  5827. ],
  5828. "relocation_scope": "Organization",
  5829. "silos": [
  5830. "Region"
  5831. ],
  5832. "table_name": "sentry_snubaquery",
  5833. "uniques": []
  5834. },
  5835. "sentry.snubaqueryeventtype": {
  5836. "dangling": false,
  5837. "foreign_keys": {
  5838. "snuba_query": {
  5839. "kind": "FlexibleForeignKey",
  5840. "model": "sentry.snubaquery",
  5841. "nullable": false
  5842. }
  5843. },
  5844. "model": "sentry.snubaqueryeventtype",
  5845. "relocation_dependencies": [],
  5846. "relocation_scope": "Organization",
  5847. "silos": [
  5848. "Region"
  5849. ],
  5850. "table_name": "sentry_snubaqueryeventtype",
  5851. "uniques": [
  5852. [
  5853. "snuba_query",
  5854. "type"
  5855. ]
  5856. ]
  5857. },
  5858. "sentry.stringindexer": {
  5859. "dangling": false,
  5860. "foreign_keys": {
  5861. "organization_id": {
  5862. "kind": "ImplicitForeignKey",
  5863. "model": "sentry.organization",
  5864. "nullable": false
  5865. }
  5866. },
  5867. "model": "sentry.stringindexer",
  5868. "relocation_dependencies": [],
  5869. "relocation_scope": "Excluded",
  5870. "silos": [
  5871. "Region"
  5872. ],
  5873. "table_name": "sentry_stringindexer",
  5874. "uniques": [
  5875. [
  5876. "organization_id",
  5877. "string"
  5878. ]
  5879. ]
  5880. },
  5881. "sentry.team": {
  5882. "dangling": false,
  5883. "foreign_keys": {
  5884. "organization": {
  5885. "kind": "FlexibleForeignKey",
  5886. "model": "sentry.organization",
  5887. "nullable": false
  5888. }
  5889. },
  5890. "model": "sentry.team",
  5891. "relocation_dependencies": [],
  5892. "relocation_scope": "Organization",
  5893. "silos": [
  5894. "Region"
  5895. ],
  5896. "table_name": "sentry_team",
  5897. "uniques": [
  5898. [
  5899. "organization",
  5900. "slug"
  5901. ]
  5902. ]
  5903. },
  5904. "sentry.teamkeytransaction": {
  5905. "dangling": false,
  5906. "foreign_keys": {
  5907. "organization": {
  5908. "kind": "FlexibleForeignKey",
  5909. "model": "sentry.organization",
  5910. "nullable": false
  5911. },
  5912. "project_team": {
  5913. "kind": "FlexibleForeignKey",
  5914. "model": "sentry.projectteam",
  5915. "nullable": true
  5916. }
  5917. },
  5918. "model": "sentry.teamkeytransaction",
  5919. "relocation_dependencies": [],
  5920. "relocation_scope": "Excluded",
  5921. "silos": [
  5922. "Region"
  5923. ],
  5924. "table_name": "sentry_performanceteamkeytransaction",
  5925. "uniques": [
  5926. [
  5927. "project_team",
  5928. "transaction"
  5929. ]
  5930. ]
  5931. },
  5932. "sentry.teamreplica": {
  5933. "dangling": false,
  5934. "foreign_keys": {
  5935. "organization_id": {
  5936. "kind": "HybridCloudForeignKey",
  5937. "model": "sentry.organization",
  5938. "nullable": false
  5939. },
  5940. "team_id": {
  5941. "kind": "HybridCloudForeignKey",
  5942. "model": "sentry.team",
  5943. "nullable": false
  5944. }
  5945. },
  5946. "model": "sentry.teamreplica",
  5947. "relocation_dependencies": [],
  5948. "relocation_scope": "Excluded",
  5949. "silos": [
  5950. "Control"
  5951. ],
  5952. "table_name": "sentry_teamreplica",
  5953. "uniques": [
  5954. [
  5955. "organization_id",
  5956. "slug"
  5957. ]
  5958. ]
  5959. },
  5960. "sentry.timeseriessnapshot": {
  5961. "dangling": true,
  5962. "foreign_keys": {},
  5963. "model": "sentry.timeseriessnapshot",
  5964. "relocation_dependencies": [
  5965. "sentry.incident"
  5966. ],
  5967. "relocation_scope": "Global",
  5968. "silos": [
  5969. "Region"
  5970. ],
  5971. "table_name": "sentry_timeseriessnapshot",
  5972. "uniques": []
  5973. },
  5974. "sentry.user": {
  5975. "dangling": false,
  5976. "foreign_keys": {},
  5977. "model": "sentry.user",
  5978. "relocation_dependencies": [],
  5979. "relocation_scope": "User",
  5980. "silos": [
  5981. "Control"
  5982. ],
  5983. "table_name": "auth_user",
  5984. "uniques": [
  5985. [
  5986. "username"
  5987. ]
  5988. ]
  5989. },
  5990. "sentry.useravatar": {
  5991. "dangling": false,
  5992. "foreign_keys": {
  5993. "control_file_id": {
  5994. "kind": "ImplicitForeignKey",
  5995. "model": "sentry.controlfile",
  5996. "nullable": true
  5997. },
  5998. "user": {
  5999. "kind": "FlexibleForeignKey",
  6000. "model": "sentry.user",
  6001. "nullable": false
  6002. }
  6003. },
  6004. "model": "sentry.useravatar",
  6005. "relocation_dependencies": [],
  6006. "relocation_scope": "Excluded",
  6007. "silos": [
  6008. "Control"
  6009. ],
  6010. "table_name": "sentry_useravatar",
  6011. "uniques": [
  6012. [
  6013. "control_file_id"
  6014. ],
  6015. [
  6016. "ident"
  6017. ],
  6018. [
  6019. "user"
  6020. ]
  6021. ]
  6022. },
  6023. "sentry.useremail": {
  6024. "dangling": false,
  6025. "foreign_keys": {
  6026. "user": {
  6027. "kind": "FlexibleForeignKey",
  6028. "model": "sentry.user",
  6029. "nullable": false
  6030. }
  6031. },
  6032. "model": "sentry.useremail",
  6033. "relocation_dependencies": [
  6034. "sentry.email"
  6035. ],
  6036. "relocation_scope": "User",
  6037. "silos": [
  6038. "Control"
  6039. ],
  6040. "table_name": "sentry_useremail",
  6041. "uniques": [
  6042. [
  6043. "email",
  6044. "user"
  6045. ]
  6046. ]
  6047. },
  6048. "sentry.userip": {
  6049. "dangling": false,
  6050. "foreign_keys": {
  6051. "user": {
  6052. "kind": "FlexibleForeignKey",
  6053. "model": "sentry.user",
  6054. "nullable": false
  6055. }
  6056. },
  6057. "model": "sentry.userip",
  6058. "relocation_dependencies": [],
  6059. "relocation_scope": "Global",
  6060. "silos": [
  6061. "Control"
  6062. ],
  6063. "table_name": "sentry_userip",
  6064. "uniques": [
  6065. [
  6066. "ip_address",
  6067. "user"
  6068. ]
  6069. ]
  6070. },
  6071. "sentry.useroption": {
  6072. "dangling": false,
  6073. "foreign_keys": {
  6074. "organization_id": {
  6075. "kind": "HybridCloudForeignKey",
  6076. "model": "sentry.organization",
  6077. "nullable": true
  6078. },
  6079. "project_id": {
  6080. "kind": "HybridCloudForeignKey",
  6081. "model": "sentry.project",
  6082. "nullable": true
  6083. },
  6084. "user": {
  6085. "kind": "FlexibleForeignKey",
  6086. "model": "sentry.user",
  6087. "nullable": false
  6088. }
  6089. },
  6090. "model": "sentry.useroption",
  6091. "relocation_dependencies": [],
  6092. "relocation_scope": "User",
  6093. "silos": [
  6094. "Control"
  6095. ],
  6096. "table_name": "sentry_useroption",
  6097. "uniques": [
  6098. [
  6099. "key",
  6100. "organization_id",
  6101. "user"
  6102. ],
  6103. [
  6104. "key",
  6105. "project_id",
  6106. "user"
  6107. ]
  6108. ]
  6109. },
  6110. "sentry.userpermission": {
  6111. "dangling": false,
  6112. "foreign_keys": {
  6113. "user": {
  6114. "kind": "FlexibleForeignKey",
  6115. "model": "sentry.user",
  6116. "nullable": false
  6117. }
  6118. },
  6119. "model": "sentry.userpermission",
  6120. "relocation_dependencies": [],
  6121. "relocation_scope": "Config",
  6122. "silos": [
  6123. "Control"
  6124. ],
  6125. "table_name": "sentry_userpermission",
  6126. "uniques": [
  6127. [
  6128. "permission",
  6129. "user"
  6130. ]
  6131. ]
  6132. },
  6133. "sentry.userreport": {
  6134. "dangling": false,
  6135. "foreign_keys": {
  6136. "environment_id": {
  6137. "kind": "ImplicitForeignKey",
  6138. "model": "sentry.environment",
  6139. "nullable": true
  6140. },
  6141. "group_id": {
  6142. "kind": "ImplicitForeignKey",
  6143. "model": "sentry.group",
  6144. "nullable": true
  6145. },
  6146. "project_id": {
  6147. "kind": "ImplicitForeignKey",
  6148. "model": "sentry.project",
  6149. "nullable": false
  6150. }
  6151. },
  6152. "model": "sentry.userreport",
  6153. "relocation_dependencies": [],
  6154. "relocation_scope": "Excluded",
  6155. "silos": [
  6156. "Region"
  6157. ],
  6158. "table_name": "sentry_userreport",
  6159. "uniques": [
  6160. [
  6161. "event_id",
  6162. "project_id"
  6163. ]
  6164. ]
  6165. },
  6166. "sentry.userrole": {
  6167. "dangling": false,
  6168. "foreign_keys": {},
  6169. "model": "sentry.userrole",
  6170. "relocation_dependencies": [],
  6171. "relocation_scope": "Config",
  6172. "silos": [
  6173. "Control"
  6174. ],
  6175. "table_name": "sentry_userrole",
  6176. "uniques": [
  6177. [
  6178. "name"
  6179. ]
  6180. ]
  6181. },
  6182. "sentry.userroleuser": {
  6183. "dangling": false,
  6184. "foreign_keys": {
  6185. "role": {
  6186. "kind": "FlexibleForeignKey",
  6187. "model": "sentry.userrole",
  6188. "nullable": false
  6189. },
  6190. "user": {
  6191. "kind": "FlexibleForeignKey",
  6192. "model": "sentry.user",
  6193. "nullable": false
  6194. }
  6195. },
  6196. "model": "sentry.userroleuser",
  6197. "relocation_dependencies": [],
  6198. "relocation_scope": "Config",
  6199. "silos": [
  6200. "Control"
  6201. ],
  6202. "table_name": "sentry_userrole_users",
  6203. "uniques": []
  6204. },
  6205. "social_auth.usersocialauth": {
  6206. "dangling": false,
  6207. "foreign_keys": {
  6208. "user": {
  6209. "kind": "DefaultForeignKey",
  6210. "model": "sentry.user",
  6211. "nullable": false
  6212. }
  6213. },
  6214. "model": "social_auth.usersocialauth",
  6215. "relocation_dependencies": [],
  6216. "relocation_scope": "Excluded",
  6217. "silos": [
  6218. "Control"
  6219. ],
  6220. "table_name": "social_auth_usersocialauth",
  6221. "uniques": [
  6222. [
  6223. "provider",
  6224. "uid",
  6225. "user"
  6226. ]
  6227. ]
  6228. },
  6229. "tempest.tempestcredentials": {
  6230. "dangling": false,
  6231. "foreign_keys": {
  6232. "created_by_id": {
  6233. "kind": "HybridCloudForeignKey",
  6234. "model": "sentry.user",
  6235. "nullable": true
  6236. },
  6237. "project": {
  6238. "kind": "FlexibleForeignKey",
  6239. "model": "sentry.project",
  6240. "nullable": false
  6241. }
  6242. },
  6243. "model": "tempest.tempestcredentials",
  6244. "relocation_dependencies": [],
  6245. "relocation_scope": "Excluded",
  6246. "silos": [
  6247. "Region"
  6248. ],
  6249. "table_name": "tempest_tempestcredentials",
  6250. "uniques": [
  6251. [
  6252. "client_id",
  6253. "project"
  6254. ]
  6255. ]
  6256. },
  6257. "uptime.projectuptimesubscription": {
  6258. "dangling": false,
  6259. "foreign_keys": {
  6260. "environment": {
  6261. "kind": "FlexibleForeignKey",
  6262. "model": "sentry.environment",
  6263. "nullable": true
  6264. },
  6265. "owner_team": {
  6266. "kind": "FlexibleForeignKey",
  6267. "model": "sentry.team",
  6268. "nullable": true
  6269. },
  6270. "owner_user_id": {
  6271. "kind": "HybridCloudForeignKey",
  6272. "model": "sentry.user",
  6273. "nullable": true
  6274. },
  6275. "project": {
  6276. "kind": "FlexibleForeignKey",
  6277. "model": "sentry.project",
  6278. "nullable": false
  6279. },
  6280. "uptime_subscription": {
  6281. "kind": "FlexibleForeignKey",
  6282. "model": "uptime.uptimesubscription",
  6283. "nullable": false
  6284. }
  6285. },
  6286. "model": "uptime.projectuptimesubscription",
  6287. "relocation_dependencies": [],
  6288. "relocation_scope": "Excluded",
  6289. "silos": [
  6290. "Region"
  6291. ],
  6292. "table_name": "uptime_projectuptimesubscription",
  6293. "uniques": [
  6294. [
  6295. "project_id",
  6296. "uptime_subscription"
  6297. ]
  6298. ]
  6299. },
  6300. "uptime.uptimesubscription": {
  6301. "dangling": false,
  6302. "foreign_keys": {},
  6303. "model": "uptime.uptimesubscription",
  6304. "relocation_dependencies": [],
  6305. "relocation_scope": "Excluded",
  6306. "silos": [
  6307. "Region"
  6308. ],
  6309. "table_name": "uptime_uptimesubscription",
  6310. "uniques": [
  6311. [],
  6312. [
  6313. "subscription_id"
  6314. ]
  6315. ]
  6316. },
  6317. "uptime.uptimesubscriptionregion": {
  6318. "dangling": false,
  6319. "foreign_keys": {
  6320. "uptime_subscription": {
  6321. "kind": "FlexibleForeignKey",
  6322. "model": "uptime.uptimesubscription",
  6323. "nullable": false
  6324. }
  6325. },
  6326. "model": "uptime.uptimesubscriptionregion",
  6327. "relocation_dependencies": [],
  6328. "relocation_scope": "Excluded",
  6329. "silos": [
  6330. "Region"
  6331. ],
  6332. "table_name": "uptime_uptimesubscriptionregion",
  6333. "uniques": [
  6334. []
  6335. ]
  6336. },
  6337. "workflow_engine.action": {
  6338. "dangling": false,
  6339. "foreign_keys": {
  6340. "integration_id": {
  6341. "kind": "HybridCloudForeignKey",
  6342. "model": "sentry.integration",
  6343. "nullable": true
  6344. }
  6345. },
  6346. "model": "workflow_engine.action",
  6347. "relocation_dependencies": [],
  6348. "relocation_scope": "Excluded",
  6349. "silos": [
  6350. "Region"
  6351. ],
  6352. "table_name": "workflow_engine_action",
  6353. "uniques": []
  6354. },
  6355. "workflow_engine.actiongroupstatus": {
  6356. "dangling": false,
  6357. "foreign_keys": {
  6358. "action": {
  6359. "kind": "FlexibleForeignKey",
  6360. "model": "workflow_engine.action",
  6361. "nullable": false
  6362. },
  6363. "group": {
  6364. "kind": "FlexibleForeignKey",
  6365. "model": "sentry.group",
  6366. "nullable": false
  6367. }
  6368. },
  6369. "model": "workflow_engine.actiongroupstatus",
  6370. "relocation_dependencies": [],
  6371. "relocation_scope": "Excluded",
  6372. "silos": [
  6373. "Region"
  6374. ],
  6375. "table_name": "workflow_engine_actiongroupstatus",
  6376. "uniques": [
  6377. [
  6378. "action",
  6379. "group"
  6380. ]
  6381. ]
  6382. },
  6383. "workflow_engine.alertruledetector": {
  6384. "dangling": true,
  6385. "foreign_keys": {
  6386. "alert_rule": {
  6387. "kind": "FlexibleForeignKey",
  6388. "model": "sentry.alertrule",
  6389. "nullable": true
  6390. },
  6391. "detector": {
  6392. "kind": "FlexibleForeignKey",
  6393. "model": "workflow_engine.detector",
  6394. "nullable": false
  6395. },
  6396. "rule": {
  6397. "kind": "FlexibleForeignKey",
  6398. "model": "sentry.rule",
  6399. "nullable": true
  6400. }
  6401. },
  6402. "model": "workflow_engine.alertruledetector",
  6403. "relocation_dependencies": [],
  6404. "relocation_scope": "Organization",
  6405. "silos": [
  6406. "Region"
  6407. ],
  6408. "table_name": "workflow_engine_alertruledetector",
  6409. "uniques": [
  6410. [
  6411. "alert_rule",
  6412. "detector"
  6413. ],
  6414. [
  6415. "detector",
  6416. "rule"
  6417. ]
  6418. ]
  6419. },
  6420. "workflow_engine.alertruletriggerdatacondition": {
  6421. "dangling": false,
  6422. "foreign_keys": {
  6423. "alert_rule_trigger": {
  6424. "kind": "FlexibleForeignKey",
  6425. "model": "sentry.alertruletrigger",
  6426. "nullable": false
  6427. },
  6428. "data_condition": {
  6429. "kind": "FlexibleForeignKey",
  6430. "model": "workflow_engine.datacondition",
  6431. "nullable": false
  6432. }
  6433. },
  6434. "model": "workflow_engine.alertruletriggerdatacondition",
  6435. "relocation_dependencies": [],
  6436. "relocation_scope": "Organization",
  6437. "silos": [
  6438. "Region"
  6439. ],
  6440. "table_name": "workflow_engine_alertruletriggerdatacondition",
  6441. "uniques": []
  6442. },
  6443. "workflow_engine.alertruleworkflow": {
  6444. "dangling": false,
  6445. "foreign_keys": {
  6446. "alert_rule": {
  6447. "kind": "FlexibleForeignKey",
  6448. "model": "sentry.alertrule",
  6449. "nullable": true
  6450. },
  6451. "rule": {
  6452. "kind": "FlexibleForeignKey",
  6453. "model": "sentry.rule",
  6454. "nullable": true
  6455. },
  6456. "workflow": {
  6457. "kind": "FlexibleForeignKey",
  6458. "model": "workflow_engine.workflow",
  6459. "nullable": false
  6460. }
  6461. },
  6462. "model": "workflow_engine.alertruleworkflow",
  6463. "relocation_dependencies": [],
  6464. "relocation_scope": "Organization",
  6465. "silos": [
  6466. "Region"
  6467. ],
  6468. "table_name": "workflow_engine_alertruleworkflow",
  6469. "uniques": [
  6470. [
  6471. "alert_rule",
  6472. "workflow"
  6473. ],
  6474. [
  6475. "rule",
  6476. "workflow"
  6477. ]
  6478. ]
  6479. },
  6480. "workflow_engine.datacondition": {
  6481. "dangling": false,
  6482. "foreign_keys": {
  6483. "condition_group": {
  6484. "kind": "DefaultForeignKey",
  6485. "model": "workflow_engine.dataconditiongroup",
  6486. "nullable": false
  6487. }
  6488. },
  6489. "model": "workflow_engine.datacondition",
  6490. "relocation_dependencies": [],
  6491. "relocation_scope": "Organization",
  6492. "silos": [
  6493. "Region"
  6494. ],
  6495. "table_name": "workflow_engine_datacondition",
  6496. "uniques": []
  6497. },
  6498. "workflow_engine.dataconditiongroup": {
  6499. "dangling": false,
  6500. "foreign_keys": {
  6501. "organization": {
  6502. "kind": "DefaultForeignKey",
  6503. "model": "sentry.organization",
  6504. "nullable": false
  6505. }
  6506. },
  6507. "model": "workflow_engine.dataconditiongroup",
  6508. "relocation_dependencies": [],
  6509. "relocation_scope": "Organization",
  6510. "silos": [
  6511. "Region"
  6512. ],
  6513. "table_name": "workflow_engine_dataconditiongroup",
  6514. "uniques": []
  6515. },
  6516. "workflow_engine.dataconditiongroupaction": {
  6517. "dangling": false,
  6518. "foreign_keys": {
  6519. "action": {
  6520. "kind": "FlexibleForeignKey",
  6521. "model": "workflow_engine.action",
  6522. "nullable": false
  6523. },
  6524. "condition_group": {
  6525. "kind": "FlexibleForeignKey",
  6526. "model": "workflow_engine.dataconditiongroup",
  6527. "nullable": false
  6528. }
  6529. },
  6530. "model": "workflow_engine.dataconditiongroupaction",
  6531. "relocation_dependencies": [],
  6532. "relocation_scope": "Excluded",
  6533. "silos": [
  6534. "Region"
  6535. ],
  6536. "table_name": "workflow_engine_dataconditiongroupaction",
  6537. "uniques": []
  6538. },
  6539. "workflow_engine.datasource": {
  6540. "dangling": false,
  6541. "foreign_keys": {
  6542. "organization": {
  6543. "kind": "FlexibleForeignKey",
  6544. "model": "sentry.organization",
  6545. "nullable": false
  6546. }
  6547. },
  6548. "model": "workflow_engine.datasource",
  6549. "relocation_dependencies": [],
  6550. "relocation_scope": "Organization",
  6551. "silos": [
  6552. "Region"
  6553. ],
  6554. "table_name": "workflow_engine_datasource",
  6555. "uniques": []
  6556. },
  6557. "workflow_engine.datasourcedetector": {
  6558. "dangling": false,
  6559. "foreign_keys": {
  6560. "data_source": {
  6561. "kind": "FlexibleForeignKey",
  6562. "model": "workflow_engine.datasource",
  6563. "nullable": false
  6564. },
  6565. "detector": {
  6566. "kind": "FlexibleForeignKey",
  6567. "model": "workflow_engine.detector",
  6568. "nullable": false
  6569. }
  6570. },
  6571. "model": "workflow_engine.datasourcedetector",
  6572. "relocation_dependencies": [],
  6573. "relocation_scope": "Organization",
  6574. "silos": [
  6575. "Region"
  6576. ],
  6577. "table_name": "workflow_engine_datasourcedetector",
  6578. "uniques": [
  6579. [
  6580. "data_source",
  6581. "detector"
  6582. ]
  6583. ]
  6584. },
  6585. "workflow_engine.detector": {
  6586. "dangling": true,
  6587. "foreign_keys": {
  6588. "created_by_id": {
  6589. "kind": "HybridCloudForeignKey",
  6590. "model": "sentry.user",
  6591. "nullable": true
  6592. },
  6593. "organization": {
  6594. "kind": "FlexibleForeignKey",
  6595. "model": "sentry.organization",
  6596. "nullable": true
  6597. },
  6598. "owner_team": {
  6599. "kind": "FlexibleForeignKey",
  6600. "model": "sentry.team",
  6601. "nullable": true
  6602. },
  6603. "owner_user_id": {
  6604. "kind": "HybridCloudForeignKey",
  6605. "model": "sentry.user",
  6606. "nullable": true
  6607. },
  6608. "project": {
  6609. "kind": "FlexibleForeignKey",
  6610. "model": "sentry.project",
  6611. "nullable": true
  6612. },
  6613. "workflow_condition_group": {
  6614. "kind": "FlexibleForeignKey",
  6615. "model": "workflow_engine.dataconditiongroup",
  6616. "nullable": true
  6617. }
  6618. },
  6619. "model": "workflow_engine.detector",
  6620. "relocation_dependencies": [],
  6621. "relocation_scope": "Organization",
  6622. "silos": [
  6623. "Region"
  6624. ],
  6625. "table_name": "workflow_engine_detector",
  6626. "uniques": [
  6627. [
  6628. "name",
  6629. "organization"
  6630. ],
  6631. [
  6632. "workflow_condition_group"
  6633. ]
  6634. ]
  6635. },
  6636. "workflow_engine.detectorstate": {
  6637. "dangling": false,
  6638. "foreign_keys": {
  6639. "detector": {
  6640. "kind": "FlexibleForeignKey",
  6641. "model": "workflow_engine.detector",
  6642. "nullable": false
  6643. }
  6644. },
  6645. "model": "workflow_engine.detectorstate",
  6646. "relocation_dependencies": [],
  6647. "relocation_scope": "Excluded",
  6648. "silos": [
  6649. "Region"
  6650. ],
  6651. "table_name": "workflow_engine_detectorstate",
  6652. "uniques": [
  6653. []
  6654. ]
  6655. },
  6656. "workflow_engine.detectorworkflow": {
  6657. "dangling": false,
  6658. "foreign_keys": {
  6659. "detector": {
  6660. "kind": "FlexibleForeignKey",
  6661. "model": "workflow_engine.detector",
  6662. "nullable": false
  6663. },
  6664. "workflow": {
  6665. "kind": "FlexibleForeignKey",
  6666. "model": "workflow_engine.workflow",
  6667. "nullable": false
  6668. }
  6669. },
  6670. "model": "workflow_engine.detectorworkflow",
  6671. "relocation_dependencies": [],
  6672. "relocation_scope": "Organization",
  6673. "silos": [
  6674. "Region"
  6675. ],
  6676. "table_name": "workflow_engine_detectorworkflow",
  6677. "uniques": []
  6678. },
  6679. "workflow_engine.workflow": {
  6680. "dangling": false,
  6681. "foreign_keys": {
  6682. "created_by_id": {
  6683. "kind": "HybridCloudForeignKey",
  6684. "model": "sentry.user",
  6685. "nullable": true
  6686. },
  6687. "environment": {
  6688. "kind": "FlexibleForeignKey",
  6689. "model": "sentry.environment",
  6690. "nullable": true
  6691. },
  6692. "organization": {
  6693. "kind": "FlexibleForeignKey",
  6694. "model": "sentry.organization",
  6695. "nullable": false
  6696. },
  6697. "owner_team": {
  6698. "kind": "FlexibleForeignKey",
  6699. "model": "sentry.team",
  6700. "nullable": true
  6701. },
  6702. "owner_user_id": {
  6703. "kind": "HybridCloudForeignKey",
  6704. "model": "sentry.user",
  6705. "nullable": true
  6706. },
  6707. "when_condition_group": {
  6708. "kind": "FlexibleForeignKey",
  6709. "model": "workflow_engine.dataconditiongroup",
  6710. "nullable": true
  6711. }
  6712. },
  6713. "model": "workflow_engine.workflow",
  6714. "relocation_dependencies": [],
  6715. "relocation_scope": "Organization",
  6716. "silos": [
  6717. "Region"
  6718. ],
  6719. "table_name": "workflow_engine_workflow",
  6720. "uniques": [
  6721. [
  6722. "name",
  6723. "organization"
  6724. ]
  6725. ]
  6726. },
  6727. "workflow_engine.workflowdataconditiongroup": {
  6728. "dangling": false,
  6729. "foreign_keys": {
  6730. "condition_group": {
  6731. "kind": "FlexibleForeignKey",
  6732. "model": "workflow_engine.dataconditiongroup",
  6733. "nullable": false
  6734. },
  6735. "workflow": {
  6736. "kind": "FlexibleForeignKey",
  6737. "model": "workflow_engine.workflow",
  6738. "nullable": false
  6739. }
  6740. },
  6741. "model": "workflow_engine.workflowdataconditiongroup",
  6742. "relocation_dependencies": [],
  6743. "relocation_scope": "Organization",
  6744. "silos": [
  6745. "Region"
  6746. ],
  6747. "table_name": "workflow_engine_workflowdataconditiongroup",
  6748. "uniques": [
  6749. [
  6750. "condition_group"
  6751. ]
  6752. ]
  6753. }
  6754. }