detailed.json 137 KB

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