detailed.json 137 KB

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