detailed.json 147 KB

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