detailed.json 137 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274
  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.alertruleactivity": {
  406. "dangling": false,
  407. "foreign_keys": {
  408. "alert_rule": {
  409. "kind": "FlexibleForeignKey",
  410. "model": "sentry.alertrule",
  411. "nullable": false
  412. },
  413. "previous_alert_rule": {
  414. "kind": "FlexibleForeignKey",
  415. "model": "sentry.alertrule",
  416. "nullable": true
  417. },
  418. "user_id": {
  419. "kind": "HybridCloudForeignKey",
  420. "model": "sentry.user",
  421. "nullable": true
  422. }
  423. },
  424. "model": "sentry.alertruleactivity",
  425. "relocation_dependencies": [],
  426. "relocation_scope": "Organization",
  427. "silos": [
  428. "Region"
  429. ],
  430. "table_name": "sentry_alertruleactivity",
  431. "uniques": []
  432. },
  433. "sentry.alertruleexcludedprojects": {
  434. "dangling": false,
  435. "foreign_keys": {
  436. "alert_rule": {
  437. "kind": "FlexibleForeignKey",
  438. "model": "sentry.alertrule",
  439. "nullable": false
  440. },
  441. "project": {
  442. "kind": "FlexibleForeignKey",
  443. "model": "sentry.project",
  444. "nullable": false
  445. }
  446. },
  447. "model": "sentry.alertruleexcludedprojects",
  448. "relocation_dependencies": [],
  449. "relocation_scope": "Organization",
  450. "silos": [
  451. "Region"
  452. ],
  453. "table_name": "sentry_alertruleexcludedprojects",
  454. "uniques": [
  455. [
  456. "alert_rule",
  457. "project"
  458. ]
  459. ]
  460. },
  461. "sentry.alertruleprojects": {
  462. "dangling": false,
  463. "foreign_keys": {
  464. "alert_rule": {
  465. "kind": "FlexibleForeignKey",
  466. "model": "sentry.alertrule",
  467. "nullable": false
  468. },
  469. "project": {
  470. "kind": "FlexibleForeignKey",
  471. "model": "sentry.project",
  472. "nullable": false
  473. }
  474. },
  475. "model": "sentry.alertruleprojects",
  476. "relocation_dependencies": [],
  477. "relocation_scope": "Organization",
  478. "silos": [
  479. "Region"
  480. ],
  481. "table_name": "sentry_alertruleprojects",
  482. "uniques": [
  483. [
  484. "alert_rule",
  485. "project"
  486. ]
  487. ]
  488. },
  489. "sentry.alertruletrigger": {
  490. "dangling": false,
  491. "foreign_keys": {
  492. "alert_rule": {
  493. "kind": "FlexibleForeignKey",
  494. "model": "sentry.alertrule",
  495. "nullable": false
  496. }
  497. },
  498. "model": "sentry.alertruletrigger",
  499. "relocation_dependencies": [],
  500. "relocation_scope": "Organization",
  501. "silos": [
  502. "Region"
  503. ],
  504. "table_name": "sentry_alertruletrigger",
  505. "uniques": [
  506. [
  507. "alert_rule",
  508. "label"
  509. ]
  510. ]
  511. },
  512. "sentry.alertruletriggeraction": {
  513. "dangling": false,
  514. "foreign_keys": {
  515. "alert_rule_trigger": {
  516. "kind": "FlexibleForeignKey",
  517. "model": "sentry.alertruletrigger",
  518. "nullable": false
  519. },
  520. "integration_id": {
  521. "kind": "HybridCloudForeignKey",
  522. "model": "sentry.integration",
  523. "nullable": true
  524. },
  525. "sentry_app_id": {
  526. "kind": "HybridCloudForeignKey",
  527. "model": "sentry.sentryapp",
  528. "nullable": true
  529. }
  530. },
  531. "model": "sentry.alertruletriggeraction",
  532. "relocation_dependencies": [],
  533. "relocation_scope": "Global",
  534. "silos": [
  535. "Region"
  536. ],
  537. "table_name": "sentry_alertruletriggeraction",
  538. "uniques": []
  539. },
  540. "sentry.alertruletriggerexclusion": {
  541. "dangling": false,
  542. "foreign_keys": {
  543. "alert_rule_trigger": {
  544. "kind": "FlexibleForeignKey",
  545. "model": "sentry.alertruletrigger",
  546. "nullable": false
  547. },
  548. "query_subscription": {
  549. "kind": "FlexibleForeignKey",
  550. "model": "sentry.querysubscription",
  551. "nullable": false
  552. }
  553. },
  554. "model": "sentry.alertruletriggerexclusion",
  555. "relocation_dependencies": [],
  556. "relocation_scope": "Organization",
  557. "silos": [
  558. "Region"
  559. ],
  560. "table_name": "sentry_alertruletriggerexclusion",
  561. "uniques": [
  562. [
  563. "alert_rule_trigger",
  564. "query_subscription"
  565. ]
  566. ]
  567. },
  568. "sentry.apiapplication": {
  569. "dangling": false,
  570. "foreign_keys": {
  571. "owner": {
  572. "kind": "FlexibleForeignKey",
  573. "model": "sentry.user",
  574. "nullable": true
  575. }
  576. },
  577. "model": "sentry.apiapplication",
  578. "relocation_dependencies": [],
  579. "relocation_scope": "Global",
  580. "silos": [
  581. "Control"
  582. ],
  583. "table_name": "sentry_apiapplication",
  584. "uniques": [
  585. [
  586. "client_id"
  587. ]
  588. ]
  589. },
  590. "sentry.apiauthorization": {
  591. "dangling": false,
  592. "foreign_keys": {
  593. "application": {
  594. "kind": "FlexibleForeignKey",
  595. "model": "sentry.apiapplication",
  596. "nullable": true
  597. },
  598. "user": {
  599. "kind": "FlexibleForeignKey",
  600. "model": "sentry.user",
  601. "nullable": false
  602. }
  603. },
  604. "model": "sentry.apiauthorization",
  605. "relocation_dependencies": [],
  606. "relocation_scope": [
  607. "Config",
  608. "Global"
  609. ],
  610. "silos": [
  611. "Control"
  612. ],
  613. "table_name": "sentry_apiauthorization",
  614. "uniques": [
  615. [
  616. "application",
  617. "user"
  618. ]
  619. ]
  620. },
  621. "sentry.apigrant": {
  622. "dangling": false,
  623. "foreign_keys": {
  624. "application": {
  625. "kind": "FlexibleForeignKey",
  626. "model": "sentry.apiapplication",
  627. "nullable": false
  628. },
  629. "user": {
  630. "kind": "FlexibleForeignKey",
  631. "model": "sentry.user",
  632. "nullable": false
  633. }
  634. },
  635. "model": "sentry.apigrant",
  636. "relocation_dependencies": [],
  637. "relocation_scope": "Global",
  638. "silos": [
  639. "Control"
  640. ],
  641. "table_name": "sentry_apigrant",
  642. "uniques": []
  643. },
  644. "sentry.apikey": {
  645. "dangling": false,
  646. "foreign_keys": {
  647. "organization_id": {
  648. "kind": "HybridCloudForeignKey",
  649. "model": "sentry.organization",
  650. "nullable": false
  651. }
  652. },
  653. "model": "sentry.apikey",
  654. "relocation_dependencies": [],
  655. "relocation_scope": "Global",
  656. "silos": [
  657. "Control"
  658. ],
  659. "table_name": "sentry_apikey",
  660. "uniques": [
  661. [
  662. "key"
  663. ]
  664. ]
  665. },
  666. "sentry.apitoken": {
  667. "dangling": false,
  668. "foreign_keys": {
  669. "application": {
  670. "kind": "FlexibleForeignKey",
  671. "model": "sentry.apiapplication",
  672. "nullable": true
  673. },
  674. "user": {
  675. "kind": "FlexibleForeignKey",
  676. "model": "sentry.user",
  677. "nullable": false
  678. }
  679. },
  680. "model": "sentry.apitoken",
  681. "relocation_dependencies": [],
  682. "relocation_scope": [
  683. "Config",
  684. "Global"
  685. ],
  686. "silos": [
  687. "Control"
  688. ],
  689. "table_name": "sentry_apitoken",
  690. "uniques": [
  691. [
  692. "refresh_token"
  693. ],
  694. [
  695. "token"
  696. ]
  697. ]
  698. },
  699. "sentry.appconnectbuild": {
  700. "dangling": false,
  701. "foreign_keys": {
  702. "project": {
  703. "kind": "FlexibleForeignKey",
  704. "model": "sentry.project",
  705. "nullable": false
  706. }
  707. },
  708. "model": "sentry.appconnectbuild",
  709. "relocation_dependencies": [],
  710. "relocation_scope": "Excluded",
  711. "silos": [
  712. "Region"
  713. ],
  714. "table_name": "sentry_appconnectbuild",
  715. "uniques": []
  716. },
  717. "sentry.artifactbundle": {
  718. "dangling": false,
  719. "foreign_keys": {
  720. "file": {
  721. "kind": "FlexibleForeignKey",
  722. "model": "sentry.file",
  723. "nullable": false
  724. },
  725. "organization_id": {
  726. "kind": "ImplicitForeignKey",
  727. "model": "sentry.organization",
  728. "nullable": false
  729. }
  730. },
  731. "model": "sentry.artifactbundle",
  732. "relocation_dependencies": [],
  733. "relocation_scope": "Excluded",
  734. "silos": [
  735. "Region"
  736. ],
  737. "table_name": "sentry_artifactbundle",
  738. "uniques": []
  739. },
  740. "sentry.artifactbundleflatfileindex": {
  741. "dangling": false,
  742. "foreign_keys": {
  743. "project_id": {
  744. "kind": "ImplicitForeignKey",
  745. "model": "sentry.project",
  746. "nullable": false
  747. }
  748. },
  749. "model": "sentry.artifactbundleflatfileindex",
  750. "relocation_dependencies": [],
  751. "relocation_scope": "Excluded",
  752. "silos": [
  753. "Region"
  754. ],
  755. "table_name": "sentry_artifactbundleflatfileindex",
  756. "uniques": [
  757. [
  758. "dist_name",
  759. "project_id",
  760. "release_name"
  761. ]
  762. ]
  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.flatfileindexstate": {
  2123. "dangling": false,
  2124. "foreign_keys": {
  2125. "artifact_bundle": {
  2126. "kind": "FlexibleForeignKey",
  2127. "model": "sentry.artifactbundle",
  2128. "nullable": false
  2129. },
  2130. "flat_file_index": {
  2131. "kind": "FlexibleForeignKey",
  2132. "model": "sentry.artifactbundleflatfileindex",
  2133. "nullable": false
  2134. }
  2135. },
  2136. "model": "sentry.flatfileindexstate",
  2137. "relocation_dependencies": [],
  2138. "relocation_scope": "Excluded",
  2139. "silos": [
  2140. "Region"
  2141. ],
  2142. "table_name": "sentry_flatfileindexstate",
  2143. "uniques": [
  2144. [
  2145. "artifact_bundle",
  2146. "flat_file_index"
  2147. ]
  2148. ]
  2149. },
  2150. "sentry.group": {
  2151. "dangling": false,
  2152. "foreign_keys": {
  2153. "first_release": {
  2154. "kind": "FlexibleForeignKey",
  2155. "model": "sentry.release",
  2156. "nullable": true
  2157. },
  2158. "project": {
  2159. "kind": "FlexibleForeignKey",
  2160. "model": "sentry.project",
  2161. "nullable": false
  2162. }
  2163. },
  2164. "model": "sentry.group",
  2165. "relocation_dependencies": [],
  2166. "relocation_scope": "Excluded",
  2167. "silos": [
  2168. "Region"
  2169. ],
  2170. "table_name": "sentry_groupedmessage",
  2171. "uniques": [
  2172. [
  2173. "id",
  2174. "project"
  2175. ],
  2176. [
  2177. "project",
  2178. "short_id"
  2179. ]
  2180. ]
  2181. },
  2182. "sentry.groupassignee": {
  2183. "dangling": false,
  2184. "foreign_keys": {
  2185. "group": {
  2186. "kind": "FlexibleForeignKey",
  2187. "model": "sentry.group",
  2188. "nullable": false
  2189. },
  2190. "project": {
  2191. "kind": "FlexibleForeignKey",
  2192. "model": "sentry.project",
  2193. "nullable": false
  2194. },
  2195. "team": {
  2196. "kind": "FlexibleForeignKey",
  2197. "model": "sentry.team",
  2198. "nullable": true
  2199. },
  2200. "user_id": {
  2201. "kind": "HybridCloudForeignKey",
  2202. "model": "sentry.user",
  2203. "nullable": true
  2204. }
  2205. },
  2206. "model": "sentry.groupassignee",
  2207. "relocation_dependencies": [],
  2208. "relocation_scope": "Excluded",
  2209. "silos": [
  2210. "Region"
  2211. ],
  2212. "table_name": "sentry_groupasignee",
  2213. "uniques": [
  2214. [
  2215. "group"
  2216. ],
  2217. [
  2218. "group",
  2219. "project"
  2220. ]
  2221. ]
  2222. },
  2223. "sentry.groupbookmark": {
  2224. "dangling": false,
  2225. "foreign_keys": {
  2226. "group": {
  2227. "kind": "FlexibleForeignKey",
  2228. "model": "sentry.group",
  2229. "nullable": false
  2230. },
  2231. "project": {
  2232. "kind": "FlexibleForeignKey",
  2233. "model": "sentry.project",
  2234. "nullable": false
  2235. },
  2236. "user_id": {
  2237. "kind": "HybridCloudForeignKey",
  2238. "model": "sentry.user",
  2239. "nullable": false
  2240. }
  2241. },
  2242. "model": "sentry.groupbookmark",
  2243. "relocation_dependencies": [],
  2244. "relocation_scope": "Excluded",
  2245. "silos": [
  2246. "Region"
  2247. ],
  2248. "table_name": "sentry_groupbookmark",
  2249. "uniques": [
  2250. [
  2251. "group",
  2252. "project",
  2253. "user_id"
  2254. ]
  2255. ]
  2256. },
  2257. "sentry.groupcommitresolution": {
  2258. "dangling": false,
  2259. "foreign_keys": {
  2260. "commit_id": {
  2261. "kind": "ImplicitForeignKey",
  2262. "model": "sentry.commit",
  2263. "nullable": false
  2264. },
  2265. "group_id": {
  2266. "kind": "ImplicitForeignKey",
  2267. "model": "sentry.group",
  2268. "nullable": false
  2269. }
  2270. },
  2271. "model": "sentry.groupcommitresolution",
  2272. "relocation_dependencies": [],
  2273. "relocation_scope": "Excluded",
  2274. "silos": [
  2275. "Region"
  2276. ],
  2277. "table_name": "sentry_groupcommitresolution",
  2278. "uniques": [
  2279. [
  2280. "commit_id",
  2281. "group_id"
  2282. ]
  2283. ]
  2284. },
  2285. "sentry.groupemailthread": {
  2286. "dangling": false,
  2287. "foreign_keys": {
  2288. "group": {
  2289. "kind": "FlexibleForeignKey",
  2290. "model": "sentry.group",
  2291. "nullable": false
  2292. },
  2293. "project": {
  2294. "kind": "FlexibleForeignKey",
  2295. "model": "sentry.project",
  2296. "nullable": false
  2297. }
  2298. },
  2299. "model": "sentry.groupemailthread",
  2300. "relocation_dependencies": [],
  2301. "relocation_scope": "Excluded",
  2302. "silos": [
  2303. "Region"
  2304. ],
  2305. "table_name": "sentry_groupemailthread",
  2306. "uniques": [
  2307. [
  2308. "email",
  2309. "group"
  2310. ],
  2311. [
  2312. "email",
  2313. "msgid"
  2314. ]
  2315. ]
  2316. },
  2317. "sentry.groupenvironment": {
  2318. "dangling": false,
  2319. "foreign_keys": {
  2320. "environment": {
  2321. "kind": "FlexibleForeignKey",
  2322. "model": "sentry.environment",
  2323. "nullable": false
  2324. },
  2325. "first_release": {
  2326. "kind": "FlexibleForeignKey",
  2327. "model": "sentry.release",
  2328. "nullable": true
  2329. },
  2330. "group": {
  2331. "kind": "FlexibleForeignKey",
  2332. "model": "sentry.group",
  2333. "nullable": false
  2334. }
  2335. },
  2336. "model": "sentry.groupenvironment",
  2337. "relocation_dependencies": [],
  2338. "relocation_scope": "Excluded",
  2339. "silos": [
  2340. "Region"
  2341. ],
  2342. "table_name": "sentry_groupenvironment",
  2343. "uniques": [
  2344. [
  2345. "environment",
  2346. "group"
  2347. ]
  2348. ]
  2349. },
  2350. "sentry.grouphash": {
  2351. "dangling": false,
  2352. "foreign_keys": {
  2353. "group": {
  2354. "kind": "FlexibleForeignKey",
  2355. "model": "sentry.group",
  2356. "nullable": true
  2357. },
  2358. "group_tombstone_id": {
  2359. "kind": "ImplicitForeignKey",
  2360. "model": "sentry.grouptombstone",
  2361. "nullable": true
  2362. },
  2363. "project": {
  2364. "kind": "FlexibleForeignKey",
  2365. "model": "sentry.project",
  2366. "nullable": true
  2367. }
  2368. },
  2369. "model": "sentry.grouphash",
  2370. "relocation_dependencies": [],
  2371. "relocation_scope": "Excluded",
  2372. "silos": [
  2373. "Region"
  2374. ],
  2375. "table_name": "sentry_grouphash",
  2376. "uniques": [
  2377. [
  2378. "hash",
  2379. "project"
  2380. ]
  2381. ]
  2382. },
  2383. "sentry.grouphistory": {
  2384. "dangling": false,
  2385. "foreign_keys": {
  2386. "actor": {
  2387. "kind": "FlexibleForeignKey",
  2388. "model": "sentry.actor",
  2389. "nullable": true
  2390. },
  2391. "group": {
  2392. "kind": "FlexibleForeignKey",
  2393. "model": "sentry.group",
  2394. "nullable": false
  2395. },
  2396. "organization": {
  2397. "kind": "FlexibleForeignKey",
  2398. "model": "sentry.organization",
  2399. "nullable": false
  2400. },
  2401. "project": {
  2402. "kind": "FlexibleForeignKey",
  2403. "model": "sentry.project",
  2404. "nullable": false
  2405. },
  2406. "release": {
  2407. "kind": "FlexibleForeignKey",
  2408. "model": "sentry.release",
  2409. "nullable": true
  2410. }
  2411. },
  2412. "model": "sentry.grouphistory",
  2413. "relocation_dependencies": [],
  2414. "relocation_scope": "Excluded",
  2415. "silos": [
  2416. "Region"
  2417. ],
  2418. "table_name": "sentry_grouphistory",
  2419. "uniques": []
  2420. },
  2421. "sentry.groupinbox": {
  2422. "dangling": false,
  2423. "foreign_keys": {
  2424. "group": {
  2425. "kind": "FlexibleForeignKey",
  2426. "model": "sentry.group",
  2427. "nullable": false
  2428. },
  2429. "organization": {
  2430. "kind": "FlexibleForeignKey",
  2431. "model": "sentry.organization",
  2432. "nullable": true
  2433. },
  2434. "project": {
  2435. "kind": "FlexibleForeignKey",
  2436. "model": "sentry.project",
  2437. "nullable": true
  2438. }
  2439. },
  2440. "model": "sentry.groupinbox",
  2441. "relocation_dependencies": [],
  2442. "relocation_scope": "Excluded",
  2443. "silos": [
  2444. "Region"
  2445. ],
  2446. "table_name": "sentry_groupinbox",
  2447. "uniques": [
  2448. [
  2449. "group"
  2450. ]
  2451. ]
  2452. },
  2453. "sentry.grouplink": {
  2454. "dangling": false,
  2455. "foreign_keys": {
  2456. "group": {
  2457. "kind": "FlexibleForeignKey",
  2458. "model": "sentry.group",
  2459. "nullable": false
  2460. },
  2461. "project": {
  2462. "kind": "FlexibleForeignKey",
  2463. "model": "sentry.project",
  2464. "nullable": false
  2465. }
  2466. },
  2467. "model": "sentry.grouplink",
  2468. "relocation_dependencies": [],
  2469. "relocation_scope": "Excluded",
  2470. "silos": [
  2471. "Region"
  2472. ],
  2473. "table_name": "sentry_grouplink",
  2474. "uniques": [
  2475. [
  2476. "group",
  2477. "linked_id",
  2478. "linked_type"
  2479. ]
  2480. ]
  2481. },
  2482. "sentry.groupmeta": {
  2483. "dangling": false,
  2484. "foreign_keys": {
  2485. "group": {
  2486. "kind": "FlexibleForeignKey",
  2487. "model": "sentry.group",
  2488. "nullable": false
  2489. }
  2490. },
  2491. "model": "sentry.groupmeta",
  2492. "relocation_dependencies": [],
  2493. "relocation_scope": "Excluded",
  2494. "silos": [
  2495. "Region"
  2496. ],
  2497. "table_name": "sentry_groupmeta",
  2498. "uniques": [
  2499. [
  2500. "group",
  2501. "key"
  2502. ]
  2503. ]
  2504. },
  2505. "sentry.groupowner": {
  2506. "dangling": false,
  2507. "foreign_keys": {
  2508. "group": {
  2509. "kind": "FlexibleForeignKey",
  2510. "model": "sentry.group",
  2511. "nullable": false
  2512. },
  2513. "organization": {
  2514. "kind": "FlexibleForeignKey",
  2515. "model": "sentry.organization",
  2516. "nullable": false
  2517. },
  2518. "project": {
  2519. "kind": "FlexibleForeignKey",
  2520. "model": "sentry.project",
  2521. "nullable": false
  2522. },
  2523. "team": {
  2524. "kind": "FlexibleForeignKey",
  2525. "model": "sentry.team",
  2526. "nullable": true
  2527. },
  2528. "user_id": {
  2529. "kind": "HybridCloudForeignKey",
  2530. "model": "sentry.user",
  2531. "nullable": true
  2532. }
  2533. },
  2534. "model": "sentry.groupowner",
  2535. "relocation_dependencies": [],
  2536. "relocation_scope": "Excluded",
  2537. "silos": [
  2538. "Region"
  2539. ],
  2540. "table_name": "sentry_groupowner",
  2541. "uniques": []
  2542. },
  2543. "sentry.groupredirect": {
  2544. "dangling": false,
  2545. "foreign_keys": {
  2546. "group_id": {
  2547. "kind": "ImplicitForeignKey",
  2548. "model": "sentry.group",
  2549. "nullable": false
  2550. },
  2551. "organization_id": {
  2552. "kind": "ImplicitForeignKey",
  2553. "model": "sentry.organization",
  2554. "nullable": true
  2555. }
  2556. },
  2557. "model": "sentry.groupredirect",
  2558. "relocation_dependencies": [],
  2559. "relocation_scope": "Excluded",
  2560. "silos": [
  2561. "Region"
  2562. ],
  2563. "table_name": "sentry_groupredirect",
  2564. "uniques": [
  2565. [
  2566. "organization_id",
  2567. "previous_project_slug",
  2568. "previous_short_id"
  2569. ],
  2570. [
  2571. "previous_group_id"
  2572. ]
  2573. ]
  2574. },
  2575. "sentry.grouprelease": {
  2576. "dangling": false,
  2577. "foreign_keys": {
  2578. "group_id": {
  2579. "kind": "ImplicitForeignKey",
  2580. "model": "sentry.group",
  2581. "nullable": false
  2582. },
  2583. "project_id": {
  2584. "kind": "ImplicitForeignKey",
  2585. "model": "sentry.project",
  2586. "nullable": false
  2587. },
  2588. "release_id": {
  2589. "kind": "ImplicitForeignKey",
  2590. "model": "sentry.release",
  2591. "nullable": false
  2592. }
  2593. },
  2594. "model": "sentry.grouprelease",
  2595. "relocation_dependencies": [],
  2596. "relocation_scope": "Excluded",
  2597. "silos": [
  2598. "Region"
  2599. ],
  2600. "table_name": "sentry_grouprelease",
  2601. "uniques": [
  2602. [
  2603. "environment",
  2604. "group_id",
  2605. "release_id"
  2606. ]
  2607. ]
  2608. },
  2609. "sentry.groupresolution": {
  2610. "dangling": false,
  2611. "foreign_keys": {
  2612. "group": {
  2613. "kind": "FlexibleForeignKey",
  2614. "model": "sentry.group",
  2615. "nullable": false
  2616. },
  2617. "release": {
  2618. "kind": "FlexibleForeignKey",
  2619. "model": "sentry.release",
  2620. "nullable": false
  2621. }
  2622. },
  2623. "model": "sentry.groupresolution",
  2624. "relocation_dependencies": [],
  2625. "relocation_scope": "Excluded",
  2626. "silos": [
  2627. "Region"
  2628. ],
  2629. "table_name": "sentry_groupresolution",
  2630. "uniques": [
  2631. [
  2632. "group"
  2633. ]
  2634. ]
  2635. },
  2636. "sentry.grouprulestatus": {
  2637. "dangling": false,
  2638. "foreign_keys": {
  2639. "group": {
  2640. "kind": "FlexibleForeignKey",
  2641. "model": "sentry.group",
  2642. "nullable": false
  2643. },
  2644. "project": {
  2645. "kind": "FlexibleForeignKey",
  2646. "model": "sentry.project",
  2647. "nullable": false
  2648. },
  2649. "rule": {
  2650. "kind": "FlexibleForeignKey",
  2651. "model": "sentry.rule",
  2652. "nullable": false
  2653. }
  2654. },
  2655. "model": "sentry.grouprulestatus",
  2656. "relocation_dependencies": [],
  2657. "relocation_scope": "Excluded",
  2658. "silos": [
  2659. "Region"
  2660. ],
  2661. "table_name": "sentry_grouprulestatus",
  2662. "uniques": [
  2663. [
  2664. "group",
  2665. "rule"
  2666. ]
  2667. ]
  2668. },
  2669. "sentry.groupseen": {
  2670. "dangling": false,
  2671. "foreign_keys": {
  2672. "group": {
  2673. "kind": "FlexibleForeignKey",
  2674. "model": "sentry.group",
  2675. "nullable": false
  2676. },
  2677. "project": {
  2678. "kind": "FlexibleForeignKey",
  2679. "model": "sentry.project",
  2680. "nullable": false
  2681. },
  2682. "user_id": {
  2683. "kind": "HybridCloudForeignKey",
  2684. "model": "sentry.user",
  2685. "nullable": false
  2686. }
  2687. },
  2688. "model": "sentry.groupseen",
  2689. "relocation_dependencies": [],
  2690. "relocation_scope": "Excluded",
  2691. "silos": [
  2692. "Region"
  2693. ],
  2694. "table_name": "sentry_groupseen",
  2695. "uniques": [
  2696. [
  2697. "group",
  2698. "user_id"
  2699. ]
  2700. ]
  2701. },
  2702. "sentry.groupshare": {
  2703. "dangling": false,
  2704. "foreign_keys": {
  2705. "group": {
  2706. "kind": "FlexibleForeignKey",
  2707. "model": "sentry.group",
  2708. "nullable": false
  2709. },
  2710. "project": {
  2711. "kind": "FlexibleForeignKey",
  2712. "model": "sentry.project",
  2713. "nullable": false
  2714. },
  2715. "user_id": {
  2716. "kind": "HybridCloudForeignKey",
  2717. "model": "sentry.user",
  2718. "nullable": true
  2719. }
  2720. },
  2721. "model": "sentry.groupshare",
  2722. "relocation_dependencies": [],
  2723. "relocation_scope": "Excluded",
  2724. "silos": [
  2725. "Region"
  2726. ],
  2727. "table_name": "sentry_groupshare",
  2728. "uniques": [
  2729. [
  2730. "group"
  2731. ],
  2732. [
  2733. "uuid"
  2734. ]
  2735. ]
  2736. },
  2737. "sentry.groupsnooze": {
  2738. "dangling": false,
  2739. "foreign_keys": {
  2740. "group": {
  2741. "kind": "FlexibleForeignKey",
  2742. "model": "sentry.group",
  2743. "nullable": false
  2744. }
  2745. },
  2746. "model": "sentry.groupsnooze",
  2747. "relocation_dependencies": [],
  2748. "relocation_scope": "Excluded",
  2749. "silos": [
  2750. "Region"
  2751. ],
  2752. "table_name": "sentry_groupsnooze",
  2753. "uniques": [
  2754. [
  2755. "group"
  2756. ]
  2757. ]
  2758. },
  2759. "sentry.groupsubscription": {
  2760. "dangling": false,
  2761. "foreign_keys": {
  2762. "group": {
  2763. "kind": "FlexibleForeignKey",
  2764. "model": "sentry.group",
  2765. "nullable": false
  2766. },
  2767. "project": {
  2768. "kind": "FlexibleForeignKey",
  2769. "model": "sentry.project",
  2770. "nullable": false
  2771. },
  2772. "team": {
  2773. "kind": "FlexibleForeignKey",
  2774. "model": "sentry.team",
  2775. "nullable": true
  2776. },
  2777. "user_id": {
  2778. "kind": "HybridCloudForeignKey",
  2779. "model": "sentry.user",
  2780. "nullable": true
  2781. }
  2782. },
  2783. "model": "sentry.groupsubscription",
  2784. "relocation_dependencies": [],
  2785. "relocation_scope": "Excluded",
  2786. "silos": [
  2787. "Region"
  2788. ],
  2789. "table_name": "sentry_groupsubscription",
  2790. "uniques": [
  2791. [
  2792. "group",
  2793. "team"
  2794. ],
  2795. [
  2796. "group",
  2797. "user_id"
  2798. ]
  2799. ]
  2800. },
  2801. "sentry.grouptombstone": {
  2802. "dangling": false,
  2803. "foreign_keys": {
  2804. "project": {
  2805. "kind": "FlexibleForeignKey",
  2806. "model": "sentry.project",
  2807. "nullable": false
  2808. }
  2809. },
  2810. "model": "sentry.grouptombstone",
  2811. "relocation_dependencies": [],
  2812. "relocation_scope": "Excluded",
  2813. "silos": [
  2814. "Region"
  2815. ],
  2816. "table_name": "sentry_grouptombstone",
  2817. "uniques": [
  2818. [
  2819. "previous_group_id"
  2820. ]
  2821. ]
  2822. },
  2823. "sentry.identity": {
  2824. "dangling": false,
  2825. "foreign_keys": {
  2826. "idp": {
  2827. "kind": "FlexibleForeignKey",
  2828. "model": "sentry.identityprovider",
  2829. "nullable": false
  2830. },
  2831. "user": {
  2832. "kind": "FlexibleForeignKey",
  2833. "model": "sentry.user",
  2834. "nullable": false
  2835. }
  2836. },
  2837. "model": "sentry.identity",
  2838. "relocation_dependencies": [],
  2839. "relocation_scope": "Excluded",
  2840. "silos": [
  2841. "Control"
  2842. ],
  2843. "table_name": "sentry_identity",
  2844. "uniques": [
  2845. [
  2846. "external_id",
  2847. "idp"
  2848. ],
  2849. [
  2850. "idp",
  2851. "user"
  2852. ]
  2853. ]
  2854. },
  2855. "sentry.identityprovider": {
  2856. "dangling": false,
  2857. "foreign_keys": {},
  2858. "model": "sentry.identityprovider",
  2859. "relocation_dependencies": [],
  2860. "relocation_scope": "Excluded",
  2861. "silos": [
  2862. "Control"
  2863. ],
  2864. "table_name": "sentry_identityprovider",
  2865. "uniques": [
  2866. [
  2867. "external_id",
  2868. "type"
  2869. ]
  2870. ]
  2871. },
  2872. "sentry.incident": {
  2873. "dangling": false,
  2874. "foreign_keys": {
  2875. "alert_rule": {
  2876. "kind": "FlexibleForeignKey",
  2877. "model": "sentry.alertrule",
  2878. "nullable": false
  2879. },
  2880. "organization": {
  2881. "kind": "FlexibleForeignKey",
  2882. "model": "sentry.organization",
  2883. "nullable": false
  2884. }
  2885. },
  2886. "model": "sentry.incident",
  2887. "relocation_dependencies": [],
  2888. "relocation_scope": "Organization",
  2889. "silos": [
  2890. "Region"
  2891. ],
  2892. "table_name": "sentry_incident",
  2893. "uniques": [
  2894. [
  2895. "identifier",
  2896. "organization"
  2897. ]
  2898. ]
  2899. },
  2900. "sentry.incidentactivity": {
  2901. "dangling": false,
  2902. "foreign_keys": {
  2903. "incident": {
  2904. "kind": "FlexibleForeignKey",
  2905. "model": "sentry.incident",
  2906. "nullable": false
  2907. },
  2908. "user_id": {
  2909. "kind": "HybridCloudForeignKey",
  2910. "model": "sentry.user",
  2911. "nullable": true
  2912. }
  2913. },
  2914. "model": "sentry.incidentactivity",
  2915. "relocation_dependencies": [],
  2916. "relocation_scope": "Organization",
  2917. "silos": [
  2918. "Region"
  2919. ],
  2920. "table_name": "sentry_incidentactivity",
  2921. "uniques": []
  2922. },
  2923. "sentry.incidentproject": {
  2924. "dangling": false,
  2925. "foreign_keys": {
  2926. "incident": {
  2927. "kind": "FlexibleForeignKey",
  2928. "model": "sentry.incident",
  2929. "nullable": false
  2930. },
  2931. "project": {
  2932. "kind": "FlexibleForeignKey",
  2933. "model": "sentry.project",
  2934. "nullable": false
  2935. }
  2936. },
  2937. "model": "sentry.incidentproject",
  2938. "relocation_dependencies": [],
  2939. "relocation_scope": "Excluded",
  2940. "silos": [
  2941. "Region"
  2942. ],
  2943. "table_name": "sentry_incidentproject",
  2944. "uniques": [
  2945. [
  2946. "incident",
  2947. "project"
  2948. ]
  2949. ]
  2950. },
  2951. "sentry.incidentseen": {
  2952. "dangling": false,
  2953. "foreign_keys": {
  2954. "incident": {
  2955. "kind": "FlexibleForeignKey",
  2956. "model": "sentry.incident",
  2957. "nullable": false
  2958. },
  2959. "user_id": {
  2960. "kind": "HybridCloudForeignKey",
  2961. "model": "sentry.user",
  2962. "nullable": false
  2963. }
  2964. },
  2965. "model": "sentry.incidentseen",
  2966. "relocation_dependencies": [],
  2967. "relocation_scope": "Excluded",
  2968. "silos": [
  2969. "Region"
  2970. ],
  2971. "table_name": "sentry_incidentseen",
  2972. "uniques": [
  2973. [
  2974. "incident",
  2975. "user_id"
  2976. ]
  2977. ]
  2978. },
  2979. "sentry.incidentsnapshot": {
  2980. "dangling": false,
  2981. "foreign_keys": {
  2982. "event_stats_snapshot": {
  2983. "kind": "FlexibleForeignKey",
  2984. "model": "sentry.timeseriessnapshot",
  2985. "nullable": false
  2986. },
  2987. "incident": {
  2988. "kind": "OneToOneCascadeDeletes",
  2989. "model": "sentry.incident",
  2990. "nullable": false
  2991. }
  2992. },
  2993. "model": "sentry.incidentsnapshot",
  2994. "relocation_dependencies": [],
  2995. "relocation_scope": "Organization",
  2996. "silos": [
  2997. "Region"
  2998. ],
  2999. "table_name": "sentry_incidentsnapshot",
  3000. "uniques": [
  3001. [
  3002. "incident"
  3003. ]
  3004. ]
  3005. },
  3006. "sentry.incidentsubscription": {
  3007. "dangling": false,
  3008. "foreign_keys": {
  3009. "incident": {
  3010. "kind": "FlexibleForeignKey",
  3011. "model": "sentry.incident",
  3012. "nullable": false
  3013. },
  3014. "user_id": {
  3015. "kind": "HybridCloudForeignKey",
  3016. "model": "sentry.user",
  3017. "nullable": false
  3018. }
  3019. },
  3020. "model": "sentry.incidentsubscription",
  3021. "relocation_dependencies": [],
  3022. "relocation_scope": "Organization",
  3023. "silos": [
  3024. "Region"
  3025. ],
  3026. "table_name": "sentry_incidentsubscription",
  3027. "uniques": [
  3028. [
  3029. "incident",
  3030. "user_id"
  3031. ]
  3032. ]
  3033. },
  3034. "sentry.incidenttrigger": {
  3035. "dangling": false,
  3036. "foreign_keys": {
  3037. "alert_rule_trigger": {
  3038. "kind": "FlexibleForeignKey",
  3039. "model": "sentry.alertruletrigger",
  3040. "nullable": false
  3041. },
  3042. "incident": {
  3043. "kind": "FlexibleForeignKey",
  3044. "model": "sentry.incident",
  3045. "nullable": false
  3046. }
  3047. },
  3048. "model": "sentry.incidenttrigger",
  3049. "relocation_dependencies": [],
  3050. "relocation_scope": "Organization",
  3051. "silos": [
  3052. "Region"
  3053. ],
  3054. "table_name": "sentry_incidenttrigger",
  3055. "uniques": [
  3056. [
  3057. "alert_rule_trigger",
  3058. "incident"
  3059. ]
  3060. ]
  3061. },
  3062. "sentry.integration": {
  3063. "dangling": false,
  3064. "foreign_keys": {},
  3065. "model": "sentry.integration",
  3066. "relocation_dependencies": [],
  3067. "relocation_scope": "Global",
  3068. "silos": [
  3069. "Control"
  3070. ],
  3071. "table_name": "sentry_integration",
  3072. "uniques": [
  3073. [
  3074. "external_id",
  3075. "provider"
  3076. ]
  3077. ]
  3078. },
  3079. "sentry.integrationexternalproject": {
  3080. "dangling": false,
  3081. "foreign_keys": {
  3082. "organization_integration_id": {
  3083. "kind": "ImplicitForeignKey",
  3084. "model": "sentry.organizationintegration",
  3085. "nullable": false
  3086. }
  3087. },
  3088. "model": "sentry.integrationexternalproject",
  3089. "relocation_dependencies": [],
  3090. "relocation_scope": "Excluded",
  3091. "silos": [
  3092. "Control"
  3093. ],
  3094. "table_name": "sentry_integrationexternalproject",
  3095. "uniques": [
  3096. [
  3097. "external_id",
  3098. "organization_integration_id"
  3099. ]
  3100. ]
  3101. },
  3102. "sentry.integrationfeature": {
  3103. "dangling": false,
  3104. "foreign_keys": {},
  3105. "model": "sentry.integrationfeature",
  3106. "relocation_dependencies": [],
  3107. "relocation_scope": "Excluded",
  3108. "silos": [
  3109. "Control"
  3110. ],
  3111. "table_name": "sentry_integrationfeature",
  3112. "uniques": [
  3113. [
  3114. "feature",
  3115. "target_id",
  3116. "target_type"
  3117. ]
  3118. ]
  3119. },
  3120. "sentry.latestappconnectbuildscheck": {
  3121. "dangling": false,
  3122. "foreign_keys": {
  3123. "project": {
  3124. "kind": "FlexibleForeignKey",
  3125. "model": "sentry.project",
  3126. "nullable": false
  3127. }
  3128. },
  3129. "model": "sentry.latestappconnectbuildscheck",
  3130. "relocation_dependencies": [],
  3131. "relocation_scope": "Excluded",
  3132. "silos": [
  3133. "Region"
  3134. ],
  3135. "table_name": "sentry_latestappconnectbuildscheck",
  3136. "uniques": [
  3137. [
  3138. "project",
  3139. "source_id"
  3140. ]
  3141. ]
  3142. },
  3143. "sentry.latestreporeleaseenvironment": {
  3144. "dangling": false,
  3145. "foreign_keys": {
  3146. "commit_id": {
  3147. "kind": "ImplicitForeignKey",
  3148. "model": "sentry.commit",
  3149. "nullable": true
  3150. },
  3151. "deploy_id": {
  3152. "kind": "ImplicitForeignKey",
  3153. "model": "sentry.deploy",
  3154. "nullable": true
  3155. },
  3156. "environment_id": {
  3157. "kind": "ImplicitForeignKey",
  3158. "model": "sentry.environment",
  3159. "nullable": false
  3160. },
  3161. "release_id": {
  3162. "kind": "ImplicitForeignKey",
  3163. "model": "sentry.release",
  3164. "nullable": false
  3165. },
  3166. "repository_id": {
  3167. "kind": "ImplicitForeignKey",
  3168. "model": "sentry.repository",
  3169. "nullable": false
  3170. }
  3171. },
  3172. "model": "sentry.latestreporeleaseenvironment",
  3173. "relocation_dependencies": [],
  3174. "relocation_scope": "Excluded",
  3175. "silos": [
  3176. "Region"
  3177. ],
  3178. "table_name": "sentry_latestrelease",
  3179. "uniques": [
  3180. [
  3181. "environment_id",
  3182. "repository_id"
  3183. ]
  3184. ]
  3185. },
  3186. "sentry.lostpasswordhash": {
  3187. "dangling": false,
  3188. "foreign_keys": {
  3189. "user": {
  3190. "kind": "FlexibleForeignKey",
  3191. "model": "sentry.user",
  3192. "nullable": false
  3193. }
  3194. },
  3195. "model": "sentry.lostpasswordhash",
  3196. "relocation_dependencies": [],
  3197. "relocation_scope": "Excluded",
  3198. "silos": [
  3199. "Control"
  3200. ],
  3201. "table_name": "sentry_lostpasswordhash",
  3202. "uniques": [
  3203. [
  3204. "user"
  3205. ]
  3206. ]
  3207. },
  3208. "sentry.metricskeyindexer": {
  3209. "dangling": false,
  3210. "foreign_keys": {},
  3211. "model": "sentry.metricskeyindexer",
  3212. "relocation_dependencies": [],
  3213. "relocation_scope": "Excluded",
  3214. "silos": [
  3215. "Region"
  3216. ],
  3217. "table_name": "sentry_metricskeyindexer",
  3218. "uniques": [
  3219. [
  3220. "string"
  3221. ]
  3222. ]
  3223. },
  3224. "sentry.monitor": {
  3225. "dangling": false,
  3226. "foreign_keys": {
  3227. "organization_id": {
  3228. "kind": "ImplicitForeignKey",
  3229. "model": "sentry.organization",
  3230. "nullable": false
  3231. },
  3232. "project_id": {
  3233. "kind": "ImplicitForeignKey",
  3234. "model": "sentry.project",
  3235. "nullable": false
  3236. }
  3237. },
  3238. "model": "sentry.monitor",
  3239. "relocation_dependencies": [],
  3240. "relocation_scope": "Organization",
  3241. "silos": [
  3242. "Region"
  3243. ],
  3244. "table_name": "sentry_monitor",
  3245. "uniques": [
  3246. [
  3247. "guid"
  3248. ],
  3249. [
  3250. "organization_id",
  3251. "slug"
  3252. ]
  3253. ]
  3254. },
  3255. "sentry.monitorcheckin": {
  3256. "dangling": false,
  3257. "foreign_keys": {
  3258. "location": {
  3259. "kind": "FlexibleForeignKey",
  3260. "model": "sentry.monitorlocation",
  3261. "nullable": true
  3262. },
  3263. "monitor": {
  3264. "kind": "FlexibleForeignKey",
  3265. "model": "sentry.monitor",
  3266. "nullable": false
  3267. },
  3268. "monitor_environment": {
  3269. "kind": "FlexibleForeignKey",
  3270. "model": "sentry.monitorenvironment",
  3271. "nullable": true
  3272. },
  3273. "project_id": {
  3274. "kind": "ImplicitForeignKey",
  3275. "model": "sentry.project",
  3276. "nullable": false
  3277. }
  3278. },
  3279. "model": "sentry.monitorcheckin",
  3280. "relocation_dependencies": [],
  3281. "relocation_scope": "Excluded",
  3282. "silos": [
  3283. "Region"
  3284. ],
  3285. "table_name": "sentry_monitorcheckin",
  3286. "uniques": [
  3287. [
  3288. "guid"
  3289. ]
  3290. ]
  3291. },
  3292. "sentry.monitorenvironment": {
  3293. "dangling": false,
  3294. "foreign_keys": {
  3295. "environment_id": {
  3296. "kind": "ImplicitForeignKey",
  3297. "model": "sentry.environment",
  3298. "nullable": false
  3299. },
  3300. "monitor": {
  3301. "kind": "FlexibleForeignKey",
  3302. "model": "sentry.monitor",
  3303. "nullable": false
  3304. }
  3305. },
  3306. "model": "sentry.monitorenvironment",
  3307. "relocation_dependencies": [],
  3308. "relocation_scope": "Excluded",
  3309. "silos": [
  3310. "Region"
  3311. ],
  3312. "table_name": "sentry_monitorenvironment",
  3313. "uniques": [
  3314. [
  3315. "environment_id",
  3316. "monitor"
  3317. ]
  3318. ]
  3319. },
  3320. "sentry.monitorincident": {
  3321. "dangling": false,
  3322. "foreign_keys": {
  3323. "monitor": {
  3324. "kind": "FlexibleForeignKey",
  3325. "model": "sentry.monitor",
  3326. "nullable": false
  3327. },
  3328. "monitor_environment": {
  3329. "kind": "FlexibleForeignKey",
  3330. "model": "sentry.monitorenvironment",
  3331. "nullable": false
  3332. },
  3333. "resolving_checkin": {
  3334. "kind": "FlexibleForeignKey",
  3335. "model": "sentry.monitorcheckin",
  3336. "nullable": true
  3337. },
  3338. "starting_checkin": {
  3339. "kind": "FlexibleForeignKey",
  3340. "model": "sentry.monitorcheckin",
  3341. "nullable": true
  3342. }
  3343. },
  3344. "model": "sentry.monitorincident",
  3345. "relocation_dependencies": [],
  3346. "relocation_scope": "Excluded",
  3347. "silos": [
  3348. "Region"
  3349. ],
  3350. "table_name": "sentry_monitorincident",
  3351. "uniques": []
  3352. },
  3353. "sentry.monitorlocation": {
  3354. "dangling": false,
  3355. "foreign_keys": {},
  3356. "model": "sentry.monitorlocation",
  3357. "relocation_dependencies": [],
  3358. "relocation_scope": "Excluded",
  3359. "silos": [
  3360. "Region"
  3361. ],
  3362. "table_name": "sentry_monitorlocation",
  3363. "uniques": [
  3364. [
  3365. "guid"
  3366. ]
  3367. ]
  3368. },
  3369. "sentry.neglectedrule": {
  3370. "dangling": false,
  3371. "foreign_keys": {
  3372. "organization": {
  3373. "kind": "FlexibleForeignKey",
  3374. "model": "sentry.organization",
  3375. "nullable": false
  3376. },
  3377. "rule": {
  3378. "kind": "FlexibleForeignKey",
  3379. "model": "sentry.rule",
  3380. "nullable": false
  3381. }
  3382. },
  3383. "model": "sentry.neglectedrule",
  3384. "relocation_dependencies": [],
  3385. "relocation_scope": "Organization",
  3386. "silos": [
  3387. "Region"
  3388. ],
  3389. "table_name": "sentry_neglectedrule",
  3390. "uniques": []
  3391. },
  3392. "sentry.notificationaction": {
  3393. "dangling": false,
  3394. "foreign_keys": {
  3395. "integration_id": {
  3396. "kind": "HybridCloudForeignKey",
  3397. "model": "sentry.integration",
  3398. "nullable": true
  3399. },
  3400. "organization": {
  3401. "kind": "FlexibleForeignKey",
  3402. "model": "sentry.organization",
  3403. "nullable": false
  3404. },
  3405. "sentry_app_id": {
  3406. "kind": "HybridCloudForeignKey",
  3407. "model": "sentry.sentryapp",
  3408. "nullable": true
  3409. }
  3410. },
  3411. "model": "sentry.notificationaction",
  3412. "relocation_dependencies": [],
  3413. "relocation_scope": [
  3414. "Organization",
  3415. "Global"
  3416. ],
  3417. "silos": [
  3418. "Region"
  3419. ],
  3420. "table_name": "sentry_notificationaction",
  3421. "uniques": []
  3422. },
  3423. "sentry.notificationactionproject": {
  3424. "dangling": false,
  3425. "foreign_keys": {
  3426. "action": {
  3427. "kind": "FlexibleForeignKey",
  3428. "model": "sentry.notificationaction",
  3429. "nullable": false
  3430. },
  3431. "project": {
  3432. "kind": "FlexibleForeignKey",
  3433. "model": "sentry.project",
  3434. "nullable": false
  3435. }
  3436. },
  3437. "model": "sentry.notificationactionproject",
  3438. "relocation_dependencies": [],
  3439. "relocation_scope": [
  3440. "Organization",
  3441. "Global"
  3442. ],
  3443. "silos": [
  3444. "Region"
  3445. ],
  3446. "table_name": "sentry_notificationactionproject",
  3447. "uniques": []
  3448. },
  3449. "sentry.notificationmessage": {
  3450. "dangling": false,
  3451. "foreign_keys": {
  3452. "incident": {
  3453. "kind": "FlexibleForeignKey",
  3454. "model": "sentry.incident",
  3455. "nullable": true
  3456. },
  3457. "rule_fire_history": {
  3458. "kind": "FlexibleForeignKey",
  3459. "model": "sentry.rulefirehistory",
  3460. "nullable": true
  3461. },
  3462. "trigger_action": {
  3463. "kind": "FlexibleForeignKey",
  3464. "model": "sentry.alertruletriggeraction",
  3465. "nullable": true
  3466. }
  3467. },
  3468. "model": "sentry.notificationmessage",
  3469. "relocation_dependencies": [],
  3470. "relocation_scope": "Excluded",
  3471. "silos": [
  3472. "Region"
  3473. ],
  3474. "table_name": "sentry_notificationmessage",
  3475. "uniques": [
  3476. [
  3477. "incident",
  3478. "trigger_action"
  3479. ],
  3480. [
  3481. "rule_action_uuid",
  3482. "rule_fire_history"
  3483. ]
  3484. ]
  3485. },
  3486. "sentry.notificationsettingoption": {
  3487. "dangling": false,
  3488. "foreign_keys": {
  3489. "team_id": {
  3490. "kind": "HybridCloudForeignKey",
  3491. "model": "sentry.team",
  3492. "nullable": true
  3493. },
  3494. "user": {
  3495. "kind": "FlexibleForeignKey",
  3496. "model": "sentry.user",
  3497. "nullable": true
  3498. }
  3499. },
  3500. "model": "sentry.notificationsettingoption",
  3501. "relocation_dependencies": [],
  3502. "relocation_scope": "Excluded",
  3503. "silos": [
  3504. "Control"
  3505. ],
  3506. "table_name": "sentry_notificationsettingoption",
  3507. "uniques": [
  3508. [
  3509. "scope_identifier",
  3510. "scope_type",
  3511. "team_id",
  3512. "type",
  3513. "user_id"
  3514. ]
  3515. ]
  3516. },
  3517. "sentry.notificationsettingprovider": {
  3518. "dangling": false,
  3519. "foreign_keys": {
  3520. "team_id": {
  3521. "kind": "HybridCloudForeignKey",
  3522. "model": "sentry.team",
  3523. "nullable": true
  3524. },
  3525. "user": {
  3526. "kind": "FlexibleForeignKey",
  3527. "model": "sentry.user",
  3528. "nullable": true
  3529. }
  3530. },
  3531. "model": "sentry.notificationsettingprovider",
  3532. "relocation_dependencies": [],
  3533. "relocation_scope": "Excluded",
  3534. "silos": [
  3535. "Control"
  3536. ],
  3537. "table_name": "sentry_notificationsettingprovider",
  3538. "uniques": [
  3539. [
  3540. "provider",
  3541. "scope_identifier",
  3542. "scope_type",
  3543. "team_id",
  3544. "type",
  3545. "user_id"
  3546. ]
  3547. ]
  3548. },
  3549. "sentry.option": {
  3550. "dangling": false,
  3551. "foreign_keys": {},
  3552. "model": "sentry.option",
  3553. "relocation_dependencies": [],
  3554. "relocation_scope": "Config",
  3555. "silos": [
  3556. "Region"
  3557. ],
  3558. "table_name": "sentry_option",
  3559. "uniques": [
  3560. [
  3561. "key"
  3562. ]
  3563. ]
  3564. },
  3565. "sentry.organization": {
  3566. "dangling": false,
  3567. "foreign_keys": {},
  3568. "model": "sentry.organization",
  3569. "relocation_dependencies": [],
  3570. "relocation_scope": "Organization",
  3571. "silos": [
  3572. "Region"
  3573. ],
  3574. "table_name": "sentry_organization",
  3575. "uniques": [
  3576. [
  3577. "slug"
  3578. ]
  3579. ]
  3580. },
  3581. "sentry.organizationaccessrequest": {
  3582. "dangling": false,
  3583. "foreign_keys": {
  3584. "member": {
  3585. "kind": "FlexibleForeignKey",
  3586. "model": "sentry.organizationmember",
  3587. "nullable": false
  3588. },
  3589. "requester_id": {
  3590. "kind": "HybridCloudForeignKey",
  3591. "model": "sentry.user",
  3592. "nullable": true
  3593. },
  3594. "team": {
  3595. "kind": "FlexibleForeignKey",
  3596. "model": "sentry.team",
  3597. "nullable": false
  3598. }
  3599. },
  3600. "model": "sentry.organizationaccessrequest",
  3601. "relocation_dependencies": [],
  3602. "relocation_scope": "Organization",
  3603. "silos": [
  3604. "Region"
  3605. ],
  3606. "table_name": "sentry_organizationaccessrequest",
  3607. "uniques": [
  3608. [
  3609. "member",
  3610. "team"
  3611. ]
  3612. ]
  3613. },
  3614. "sentry.organizationavatar": {
  3615. "dangling": false,
  3616. "foreign_keys": {
  3617. "file_id": {
  3618. "kind": "ImplicitForeignKey",
  3619. "model": "sentry.file",
  3620. "nullable": true
  3621. },
  3622. "organization": {
  3623. "kind": "FlexibleForeignKey",
  3624. "model": "sentry.organization",
  3625. "nullable": false
  3626. }
  3627. },
  3628. "model": "sentry.organizationavatar",
  3629. "relocation_dependencies": [],
  3630. "relocation_scope": "Excluded",
  3631. "silos": [
  3632. "Region"
  3633. ],
  3634. "table_name": "sentry_organizationavatar",
  3635. "uniques": [
  3636. [
  3637. "file_id"
  3638. ],
  3639. [
  3640. "ident"
  3641. ],
  3642. [
  3643. "organization"
  3644. ]
  3645. ]
  3646. },
  3647. "sentry.organizationintegration": {
  3648. "dangling": false,
  3649. "foreign_keys": {
  3650. "integration": {
  3651. "kind": "FlexibleForeignKey",
  3652. "model": "sentry.integration",
  3653. "nullable": false
  3654. },
  3655. "organization_id": {
  3656. "kind": "HybridCloudForeignKey",
  3657. "model": "sentry.organization",
  3658. "nullable": false
  3659. }
  3660. },
  3661. "model": "sentry.organizationintegration",
  3662. "relocation_dependencies": [],
  3663. "relocation_scope": "Global",
  3664. "silos": [
  3665. "Control"
  3666. ],
  3667. "table_name": "sentry_organizationintegration",
  3668. "uniques": [
  3669. [
  3670. "integration",
  3671. "organization_id"
  3672. ]
  3673. ]
  3674. },
  3675. "sentry.organizationmapping": {
  3676. "dangling": false,
  3677. "foreign_keys": {
  3678. "organization_id": {
  3679. "kind": "ImplicitForeignKey",
  3680. "model": "sentry.organization",
  3681. "nullable": false
  3682. }
  3683. },
  3684. "model": "sentry.organizationmapping",
  3685. "relocation_dependencies": [],
  3686. "relocation_scope": "Excluded",
  3687. "silos": [
  3688. "Control"
  3689. ],
  3690. "table_name": "sentry_organizationmapping",
  3691. "uniques": [
  3692. [
  3693. "organization_id"
  3694. ],
  3695. [
  3696. "slug"
  3697. ]
  3698. ]
  3699. },
  3700. "sentry.organizationmember": {
  3701. "dangling": false,
  3702. "foreign_keys": {
  3703. "inviter_id": {
  3704. "kind": "HybridCloudForeignKey",
  3705. "model": "sentry.user",
  3706. "nullable": true
  3707. },
  3708. "organization": {
  3709. "kind": "FlexibleForeignKey",
  3710. "model": "sentry.organization",
  3711. "nullable": false
  3712. },
  3713. "user_id": {
  3714. "kind": "HybridCloudForeignKey",
  3715. "model": "sentry.user",
  3716. "nullable": true
  3717. }
  3718. },
  3719. "model": "sentry.organizationmember",
  3720. "relocation_dependencies": [],
  3721. "relocation_scope": "Organization",
  3722. "silos": [
  3723. "Region"
  3724. ],
  3725. "table_name": "sentry_organizationmember",
  3726. "uniques": [
  3727. [
  3728. "email",
  3729. "organization"
  3730. ],
  3731. [
  3732. "organization",
  3733. "user_id"
  3734. ],
  3735. [
  3736. "token"
  3737. ]
  3738. ]
  3739. },
  3740. "sentry.organizationmembermapping": {
  3741. "dangling": false,
  3742. "foreign_keys": {
  3743. "inviter": {
  3744. "kind": "FlexibleForeignKey",
  3745. "model": "sentry.user",
  3746. "nullable": true
  3747. },
  3748. "organization_id": {
  3749. "kind": "HybridCloudForeignKey",
  3750. "model": "sentry.organization",
  3751. "nullable": false
  3752. },
  3753. "organizationmember_id": {
  3754. "kind": "ImplicitForeignKey",
  3755. "model": "sentry.organizationmember",
  3756. "nullable": true
  3757. },
  3758. "user": {
  3759. "kind": "FlexibleForeignKey",
  3760. "model": "sentry.user",
  3761. "nullable": true
  3762. }
  3763. },
  3764. "model": "sentry.organizationmembermapping",
  3765. "relocation_dependencies": [],
  3766. "relocation_scope": "Excluded",
  3767. "silos": [
  3768. "Control"
  3769. ],
  3770. "table_name": "sentry_organizationmembermapping",
  3771. "uniques": [
  3772. [
  3773. "organization_id",
  3774. "organizationmember_id"
  3775. ]
  3776. ]
  3777. },
  3778. "sentry.organizationmemberteam": {
  3779. "dangling": false,
  3780. "foreign_keys": {
  3781. "organizationmember": {
  3782. "kind": "FlexibleForeignKey",
  3783. "model": "sentry.organizationmember",
  3784. "nullable": false
  3785. },
  3786. "team": {
  3787. "kind": "FlexibleForeignKey",
  3788. "model": "sentry.team",
  3789. "nullable": false
  3790. }
  3791. },
  3792. "model": "sentry.organizationmemberteam",
  3793. "relocation_dependencies": [],
  3794. "relocation_scope": "Organization",
  3795. "silos": [
  3796. "Region"
  3797. ],
  3798. "table_name": "sentry_organizationmember_teams",
  3799. "uniques": [
  3800. [
  3801. "organizationmember",
  3802. "team"
  3803. ]
  3804. ]
  3805. },
  3806. "sentry.organizationmemberteamreplica": {
  3807. "dangling": false,
  3808. "foreign_keys": {
  3809. "organization_id": {
  3810. "kind": "HybridCloudForeignKey",
  3811. "model": "sentry.organization",
  3812. "nullable": false
  3813. },
  3814. "organizationmember_id": {
  3815. "kind": "ImplicitForeignKey",
  3816. "model": "sentry.organizationmember",
  3817. "nullable": false
  3818. },
  3819. "organizationmemberteam_id": {
  3820. "kind": "ImplicitForeignKey",
  3821. "model": "sentry.organizationmemberteam",
  3822. "nullable": false
  3823. },
  3824. "team_id": {
  3825. "kind": "HybridCloudForeignKey",
  3826. "model": "sentry.team",
  3827. "nullable": false
  3828. }
  3829. },
  3830. "model": "sentry.organizationmemberteamreplica",
  3831. "relocation_dependencies": [],
  3832. "relocation_scope": "Excluded",
  3833. "silos": [
  3834. "Control"
  3835. ],
  3836. "table_name": "sentry_organizationmember_teamsreplica",
  3837. "uniques": [
  3838. [
  3839. "organization_id",
  3840. "organizationmember_id",
  3841. "team_id"
  3842. ]
  3843. ]
  3844. },
  3845. "sentry.organizationonboardingtask": {
  3846. "dangling": false,
  3847. "foreign_keys": {
  3848. "organization": {
  3849. "kind": "FlexibleForeignKey",
  3850. "model": "sentry.organization",
  3851. "nullable": false
  3852. },
  3853. "project": {
  3854. "kind": "FlexibleForeignKey",
  3855. "model": "sentry.project",
  3856. "nullable": true
  3857. },
  3858. "user_id": {
  3859. "kind": "HybridCloudForeignKey",
  3860. "model": "sentry.user",
  3861. "nullable": true
  3862. }
  3863. },
  3864. "model": "sentry.organizationonboardingtask",
  3865. "relocation_dependencies": [],
  3866. "relocation_scope": "Excluded",
  3867. "silos": [
  3868. "Region"
  3869. ],
  3870. "table_name": "sentry_organizationonboardingtask",
  3871. "uniques": [
  3872. [
  3873. "organization",
  3874. "task"
  3875. ]
  3876. ]
  3877. },
  3878. "sentry.organizationoption": {
  3879. "dangling": false,
  3880. "foreign_keys": {
  3881. "organization": {
  3882. "kind": "FlexibleForeignKey",
  3883. "model": "sentry.organization",
  3884. "nullable": false
  3885. }
  3886. },
  3887. "model": "sentry.organizationoption",
  3888. "relocation_dependencies": [],
  3889. "relocation_scope": "Organization",
  3890. "silos": [
  3891. "Region"
  3892. ],
  3893. "table_name": "sentry_organizationoptions",
  3894. "uniques": [
  3895. [
  3896. "key",
  3897. "organization"
  3898. ]
  3899. ]
  3900. },
  3901. "sentry.organizationslugreservation": {
  3902. "dangling": false,
  3903. "foreign_keys": {
  3904. "organization_id": {
  3905. "kind": "HybridCloudForeignKey",
  3906. "model": "sentry.organization",
  3907. "nullable": false
  3908. },
  3909. "user_id": {
  3910. "kind": "ImplicitForeignKey",
  3911. "model": "sentry.user",
  3912. "nullable": true
  3913. }
  3914. },
  3915. "model": "sentry.organizationslugreservation",
  3916. "relocation_dependencies": [],
  3917. "relocation_scope": "Excluded",
  3918. "silos": [
  3919. "Control"
  3920. ],
  3921. "table_name": "sentry_organizationslugreservation",
  3922. "uniques": [
  3923. [
  3924. "organization_id",
  3925. "reservation_type"
  3926. ],
  3927. [
  3928. "slug"
  3929. ]
  3930. ]
  3931. },
  3932. "sentry.orgauthtoken": {
  3933. "dangling": false,
  3934. "foreign_keys": {
  3935. "created_by": {
  3936. "kind": "FlexibleForeignKey",
  3937. "model": "sentry.user",
  3938. "nullable": true
  3939. },
  3940. "organization_id": {
  3941. "kind": "HybridCloudForeignKey",
  3942. "model": "sentry.organization",
  3943. "nullable": false
  3944. },
  3945. "project_last_used_id": {
  3946. "kind": "HybridCloudForeignKey",
  3947. "model": "sentry.project",
  3948. "nullable": true
  3949. }
  3950. },
  3951. "model": "sentry.orgauthtoken",
  3952. "relocation_dependencies": [],
  3953. "relocation_scope": "Organization",
  3954. "silos": [
  3955. "Control"
  3956. ],
  3957. "table_name": "sentry_orgauthtoken",
  3958. "uniques": [
  3959. [
  3960. "token_hashed"
  3961. ]
  3962. ]
  3963. },
  3964. "sentry.pendingincidentsnapshot": {
  3965. "dangling": false,
  3966. "foreign_keys": {
  3967. "incident": {
  3968. "kind": "OneToOneCascadeDeletes",
  3969. "model": "sentry.incident",
  3970. "nullable": false
  3971. }
  3972. },
  3973. "model": "sentry.pendingincidentsnapshot",
  3974. "relocation_dependencies": [],
  3975. "relocation_scope": "Organization",
  3976. "silos": [
  3977. "Region"
  3978. ],
  3979. "table_name": "sentry_pendingincidentsnapshot",
  3980. "uniques": [
  3981. [
  3982. "incident"
  3983. ]
  3984. ]
  3985. },
  3986. "sentry.perfstringindexer": {
  3987. "dangling": false,
  3988. "foreign_keys": {
  3989. "organization_id": {
  3990. "kind": "ImplicitForeignKey",
  3991. "model": "sentry.organization",
  3992. "nullable": false
  3993. }
  3994. },
  3995. "model": "sentry.perfstringindexer",
  3996. "relocation_dependencies": [],
  3997. "relocation_scope": "Excluded",
  3998. "silos": [
  3999. "Region"
  4000. ],
  4001. "table_name": "sentry_perfstringindexer",
  4002. "uniques": [
  4003. [
  4004. "organization_id",
  4005. "string",
  4006. "use_case_id"
  4007. ]
  4008. ]
  4009. },
  4010. "sentry.platformexternalissue": {
  4011. "dangling": false,
  4012. "foreign_keys": {
  4013. "group": {
  4014. "kind": "FlexibleForeignKey",
  4015. "model": "sentry.group",
  4016. "nullable": false
  4017. },
  4018. "project": {
  4019. "kind": "FlexibleForeignKey",
  4020. "model": "sentry.project",
  4021. "nullable": true
  4022. }
  4023. },
  4024. "model": "sentry.platformexternalissue",
  4025. "relocation_dependencies": [],
  4026. "relocation_scope": "Excluded",
  4027. "silos": [
  4028. "Region"
  4029. ],
  4030. "table_name": "sentry_platformexternalissue",
  4031. "uniques": [
  4032. [
  4033. "group",
  4034. "service_type"
  4035. ]
  4036. ]
  4037. },
  4038. "sentry.processingissue": {
  4039. "dangling": false,
  4040. "foreign_keys": {
  4041. "project": {
  4042. "kind": "FlexibleForeignKey",
  4043. "model": "sentry.project",
  4044. "nullable": false
  4045. }
  4046. },
  4047. "model": "sentry.processingissue",
  4048. "relocation_dependencies": [],
  4049. "relocation_scope": "Excluded",
  4050. "silos": [
  4051. "Region"
  4052. ],
  4053. "table_name": "sentry_processingissue",
  4054. "uniques": [
  4055. [
  4056. "checksum",
  4057. "project",
  4058. "type"
  4059. ]
  4060. ]
  4061. },
  4062. "sentry.proguardartifactrelease": {
  4063. "dangling": false,
  4064. "foreign_keys": {
  4065. "organization_id": {
  4066. "kind": "ImplicitForeignKey",
  4067. "model": "sentry.organization",
  4068. "nullable": false
  4069. },
  4070. "project_debug_file": {
  4071. "kind": "FlexibleForeignKey",
  4072. "model": "sentry.projectdebugfile",
  4073. "nullable": false
  4074. },
  4075. "project_id": {
  4076. "kind": "ImplicitForeignKey",
  4077. "model": "sentry.project",
  4078. "nullable": false
  4079. }
  4080. },
  4081. "model": "sentry.proguardartifactrelease",
  4082. "relocation_dependencies": [],
  4083. "relocation_scope": "Excluded",
  4084. "silos": [
  4085. "Region"
  4086. ],
  4087. "table_name": "sentry_proguardartifactrelease",
  4088. "uniques": [
  4089. [
  4090. "proguard_uuid",
  4091. "project_id",
  4092. "release_name"
  4093. ]
  4094. ]
  4095. },
  4096. "sentry.project": {
  4097. "dangling": false,
  4098. "foreign_keys": {
  4099. "organization": {
  4100. "kind": "FlexibleForeignKey",
  4101. "model": "sentry.organization",
  4102. "nullable": false
  4103. }
  4104. },
  4105. "model": "sentry.project",
  4106. "relocation_dependencies": [],
  4107. "relocation_scope": "Organization",
  4108. "silos": [
  4109. "Region"
  4110. ],
  4111. "table_name": "sentry_project",
  4112. "uniques": [
  4113. [
  4114. "organization",
  4115. "slug"
  4116. ]
  4117. ]
  4118. },
  4119. "sentry.projectartifactbundle": {
  4120. "dangling": false,
  4121. "foreign_keys": {
  4122. "artifact_bundle": {
  4123. "kind": "FlexibleForeignKey",
  4124. "model": "sentry.artifactbundle",
  4125. "nullable": false
  4126. },
  4127. "organization_id": {
  4128. "kind": "ImplicitForeignKey",
  4129. "model": "sentry.organization",
  4130. "nullable": false
  4131. },
  4132. "project_id": {
  4133. "kind": "ImplicitForeignKey",
  4134. "model": "sentry.project",
  4135. "nullable": false
  4136. }
  4137. },
  4138. "model": "sentry.projectartifactbundle",
  4139. "relocation_dependencies": [],
  4140. "relocation_scope": "Excluded",
  4141. "silos": [
  4142. "Region"
  4143. ],
  4144. "table_name": "sentry_projectartifactbundle",
  4145. "uniques": []
  4146. },
  4147. "sentry.projectavatar": {
  4148. "dangling": false,
  4149. "foreign_keys": {
  4150. "file_id": {
  4151. "kind": "ImplicitForeignKey",
  4152. "model": "sentry.file",
  4153. "nullable": true
  4154. },
  4155. "project": {
  4156. "kind": "FlexibleForeignKey",
  4157. "model": "sentry.project",
  4158. "nullable": false
  4159. }
  4160. },
  4161. "model": "sentry.projectavatar",
  4162. "relocation_dependencies": [],
  4163. "relocation_scope": "Excluded",
  4164. "silos": [
  4165. "Region"
  4166. ],
  4167. "table_name": "sentry_projectavatar",
  4168. "uniques": [
  4169. [
  4170. "file_id"
  4171. ],
  4172. [
  4173. "ident"
  4174. ],
  4175. [
  4176. "project"
  4177. ]
  4178. ]
  4179. },
  4180. "sentry.projectbookmark": {
  4181. "dangling": false,
  4182. "foreign_keys": {
  4183. "project": {
  4184. "kind": "FlexibleForeignKey",
  4185. "model": "sentry.project",
  4186. "nullable": true
  4187. },
  4188. "user_id": {
  4189. "kind": "HybridCloudForeignKey",
  4190. "model": "sentry.user",
  4191. "nullable": false
  4192. }
  4193. },
  4194. "model": "sentry.projectbookmark",
  4195. "relocation_dependencies": [],
  4196. "relocation_scope": "Organization",
  4197. "silos": [
  4198. "Region"
  4199. ],
  4200. "table_name": "sentry_projectbookmark",
  4201. "uniques": [
  4202. [
  4203. "project",
  4204. "user_id"
  4205. ]
  4206. ]
  4207. },
  4208. "sentry.projectcodeowners": {
  4209. "dangling": false,
  4210. "foreign_keys": {
  4211. "project": {
  4212. "kind": "FlexibleForeignKey",
  4213. "model": "sentry.project",
  4214. "nullable": false
  4215. },
  4216. "repository_project_path_config": {
  4217. "kind": "FlexibleForeignKey",
  4218. "model": "sentry.repositoryprojectpathconfig",
  4219. "nullable": false
  4220. }
  4221. },
  4222. "model": "sentry.projectcodeowners",
  4223. "relocation_dependencies": [],
  4224. "relocation_scope": "Excluded",
  4225. "silos": [
  4226. "Region"
  4227. ],
  4228. "table_name": "sentry_projectcodeowners",
  4229. "uniques": [
  4230. [
  4231. "repository_project_path_config"
  4232. ]
  4233. ]
  4234. },
  4235. "sentry.projectdebugfile": {
  4236. "dangling": false,
  4237. "foreign_keys": {
  4238. "file": {
  4239. "kind": "FlexibleForeignKey",
  4240. "model": "sentry.file",
  4241. "nullable": false
  4242. },
  4243. "project_id": {
  4244. "kind": "ImplicitForeignKey",
  4245. "model": "sentry.project",
  4246. "nullable": true
  4247. }
  4248. },
  4249. "model": "sentry.projectdebugfile",
  4250. "relocation_dependencies": [],
  4251. "relocation_scope": "Excluded",
  4252. "silos": [
  4253. "Region"
  4254. ],
  4255. "table_name": "sentry_projectdsymfile",
  4256. "uniques": []
  4257. },
  4258. "sentry.projectintegration": {
  4259. "dangling": false,
  4260. "foreign_keys": {
  4261. "integration_id": {
  4262. "kind": "HybridCloudForeignKey",
  4263. "model": "sentry.integration",
  4264. "nullable": false
  4265. },
  4266. "project": {
  4267. "kind": "FlexibleForeignKey",
  4268. "model": "sentry.project",
  4269. "nullable": false
  4270. }
  4271. },
  4272. "model": "sentry.projectintegration",
  4273. "relocation_dependencies": [],
  4274. "relocation_scope": "Global",
  4275. "silos": [
  4276. "Region"
  4277. ],
  4278. "table_name": "sentry_projectintegration",
  4279. "uniques": [
  4280. [
  4281. "integration_id",
  4282. "project"
  4283. ]
  4284. ]
  4285. },
  4286. "sentry.projectkey": {
  4287. "dangling": false,
  4288. "foreign_keys": {
  4289. "project": {
  4290. "kind": "FlexibleForeignKey",
  4291. "model": "sentry.project",
  4292. "nullable": false
  4293. }
  4294. },
  4295. "model": "sentry.projectkey",
  4296. "relocation_dependencies": [],
  4297. "relocation_scope": "Organization",
  4298. "silos": [
  4299. "Region"
  4300. ],
  4301. "table_name": "sentry_projectkey",
  4302. "uniques": [
  4303. [
  4304. "public_key"
  4305. ],
  4306. [
  4307. "secret_key"
  4308. ]
  4309. ]
  4310. },
  4311. "sentry.projectoption": {
  4312. "dangling": false,
  4313. "foreign_keys": {
  4314. "project": {
  4315. "kind": "FlexibleForeignKey",
  4316. "model": "sentry.project",
  4317. "nullable": false
  4318. }
  4319. },
  4320. "model": "sentry.projectoption",
  4321. "relocation_dependencies": [],
  4322. "relocation_scope": "Organization",
  4323. "silos": [
  4324. "Region"
  4325. ],
  4326. "table_name": "sentry_projectoptions",
  4327. "uniques": [
  4328. [
  4329. "key",
  4330. "project"
  4331. ]
  4332. ]
  4333. },
  4334. "sentry.projectownership": {
  4335. "dangling": false,
  4336. "foreign_keys": {
  4337. "project": {
  4338. "kind": "FlexibleForeignKey",
  4339. "model": "sentry.project",
  4340. "nullable": false
  4341. }
  4342. },
  4343. "model": "sentry.projectownership",
  4344. "relocation_dependencies": [],
  4345. "relocation_scope": "Organization",
  4346. "silos": [
  4347. "Region"
  4348. ],
  4349. "table_name": "sentry_projectownership",
  4350. "uniques": [
  4351. [
  4352. "project"
  4353. ]
  4354. ]
  4355. },
  4356. "sentry.projectplatform": {
  4357. "dangling": false,
  4358. "foreign_keys": {
  4359. "project_id": {
  4360. "kind": "ImplicitForeignKey",
  4361. "model": "sentry.project",
  4362. "nullable": false
  4363. }
  4364. },
  4365. "model": "sentry.projectplatform",
  4366. "relocation_dependencies": [],
  4367. "relocation_scope": "Excluded",
  4368. "silos": [
  4369. "Region"
  4370. ],
  4371. "table_name": "sentry_projectplatform",
  4372. "uniques": [
  4373. [
  4374. "platform",
  4375. "project_id"
  4376. ]
  4377. ]
  4378. },
  4379. "sentry.projectredirect": {
  4380. "dangling": false,
  4381. "foreign_keys": {
  4382. "organization": {
  4383. "kind": "FlexibleForeignKey",
  4384. "model": "sentry.organization",
  4385. "nullable": false
  4386. },
  4387. "project": {
  4388. "kind": "FlexibleForeignKey",
  4389. "model": "sentry.project",
  4390. "nullable": false
  4391. }
  4392. },
  4393. "model": "sentry.projectredirect",
  4394. "relocation_dependencies": [],
  4395. "relocation_scope": "Organization",
  4396. "silos": [
  4397. "Region"
  4398. ],
  4399. "table_name": "sentry_projectredirect",
  4400. "uniques": [
  4401. [
  4402. "organization",
  4403. "redirect_slug"
  4404. ]
  4405. ]
  4406. },
  4407. "sentry.projectteam": {
  4408. "dangling": false,
  4409. "foreign_keys": {
  4410. "project": {
  4411. "kind": "FlexibleForeignKey",
  4412. "model": "sentry.project",
  4413. "nullable": false
  4414. },
  4415. "team": {
  4416. "kind": "FlexibleForeignKey",
  4417. "model": "sentry.team",
  4418. "nullable": false
  4419. }
  4420. },
  4421. "model": "sentry.projectteam",
  4422. "relocation_dependencies": [],
  4423. "relocation_scope": "Organization",
  4424. "silos": [
  4425. "Region"
  4426. ],
  4427. "table_name": "sentry_projectteam",
  4428. "uniques": [
  4429. [
  4430. "project",
  4431. "team"
  4432. ]
  4433. ]
  4434. },
  4435. "sentry.projecttransactionthreshold": {
  4436. "dangling": false,
  4437. "foreign_keys": {
  4438. "edited_by_id": {
  4439. "kind": "HybridCloudForeignKey",
  4440. "model": "sentry.user",
  4441. "nullable": true
  4442. },
  4443. "organization": {
  4444. "kind": "FlexibleForeignKey",
  4445. "model": "sentry.organization",
  4446. "nullable": false
  4447. },
  4448. "project": {
  4449. "kind": "FlexibleForeignKey",
  4450. "model": "sentry.project",
  4451. "nullable": false
  4452. }
  4453. },
  4454. "model": "sentry.projecttransactionthreshold",
  4455. "relocation_dependencies": [],
  4456. "relocation_scope": "Excluded",
  4457. "silos": [
  4458. "Region"
  4459. ],
  4460. "table_name": "sentry_projecttransactionthreshold",
  4461. "uniques": [
  4462. [
  4463. "project"
  4464. ]
  4465. ]
  4466. },
  4467. "sentry.projecttransactionthresholdoverride": {
  4468. "dangling": false,
  4469. "foreign_keys": {
  4470. "edited_by_id": {
  4471. "kind": "HybridCloudForeignKey",
  4472. "model": "sentry.user",
  4473. "nullable": true
  4474. },
  4475. "organization": {
  4476. "kind": "FlexibleForeignKey",
  4477. "model": "sentry.organization",
  4478. "nullable": false
  4479. },
  4480. "project": {
  4481. "kind": "FlexibleForeignKey",
  4482. "model": "sentry.project",
  4483. "nullable": false
  4484. }
  4485. },
  4486. "model": "sentry.projecttransactionthresholdoverride",
  4487. "relocation_dependencies": [],
  4488. "relocation_scope": "Excluded",
  4489. "silos": [
  4490. "Region"
  4491. ],
  4492. "table_name": "sentry_projecttransactionthresholdoverride",
  4493. "uniques": [
  4494. [
  4495. "project",
  4496. "transaction"
  4497. ]
  4498. ]
  4499. },
  4500. "sentry.promptsactivity": {
  4501. "dangling": false,
  4502. "foreign_keys": {
  4503. "organization_id": {
  4504. "kind": "ImplicitForeignKey",
  4505. "model": "sentry.organization",
  4506. "nullable": false
  4507. },
  4508. "project_id": {
  4509. "kind": "ImplicitForeignKey",
  4510. "model": "sentry.project",
  4511. "nullable": false
  4512. },
  4513. "user_id": {
  4514. "kind": "HybridCloudForeignKey",
  4515. "model": "sentry.user",
  4516. "nullable": false
  4517. }
  4518. },
  4519. "model": "sentry.promptsactivity",
  4520. "relocation_dependencies": [],
  4521. "relocation_scope": "Excluded",
  4522. "silos": [
  4523. "Region"
  4524. ],
  4525. "table_name": "sentry_promptsactivity",
  4526. "uniques": [
  4527. [
  4528. "feature",
  4529. "organization_id",
  4530. "project_id",
  4531. "user_id"
  4532. ]
  4533. ]
  4534. },
  4535. "sentry.pullrequest": {
  4536. "dangling": false,
  4537. "foreign_keys": {
  4538. "author": {
  4539. "kind": "FlexibleForeignKey",
  4540. "model": "sentry.commitauthor",
  4541. "nullable": true
  4542. },
  4543. "organization_id": {
  4544. "kind": "ImplicitForeignKey",
  4545. "model": "sentry.organization",
  4546. "nullable": false
  4547. },
  4548. "repository_id": {
  4549. "kind": "ImplicitForeignKey",
  4550. "model": "sentry.repository",
  4551. "nullable": false
  4552. }
  4553. },
  4554. "model": "sentry.pullrequest",
  4555. "relocation_dependencies": [],
  4556. "relocation_scope": "Excluded",
  4557. "silos": [
  4558. "Region"
  4559. ],
  4560. "table_name": "sentry_pull_request",
  4561. "uniques": [
  4562. [
  4563. "key",
  4564. "repository_id"
  4565. ]
  4566. ]
  4567. },
  4568. "sentry.pullrequestcomment": {
  4569. "dangling": false,
  4570. "foreign_keys": {
  4571. "pull_request": {
  4572. "kind": "FlexibleForeignKey",
  4573. "model": "sentry.pullrequest",
  4574. "nullable": false
  4575. }
  4576. },
  4577. "model": "sentry.pullrequestcomment",
  4578. "relocation_dependencies": [],
  4579. "relocation_scope": "Excluded",
  4580. "silos": [
  4581. "Region"
  4582. ],
  4583. "table_name": "sentry_pullrequest_comment",
  4584. "uniques": [
  4585. [
  4586. "comment_type",
  4587. "pull_request"
  4588. ]
  4589. ]
  4590. },
  4591. "sentry.pullrequestcommit": {
  4592. "dangling": false,
  4593. "foreign_keys": {
  4594. "commit": {
  4595. "kind": "FlexibleForeignKey",
  4596. "model": "sentry.commit",
  4597. "nullable": false
  4598. },
  4599. "pull_request": {
  4600. "kind": "FlexibleForeignKey",
  4601. "model": "sentry.pullrequest",
  4602. "nullable": false
  4603. }
  4604. },
  4605. "model": "sentry.pullrequestcommit",
  4606. "relocation_dependencies": [],
  4607. "relocation_scope": "Excluded",
  4608. "silos": [
  4609. "Region"
  4610. ],
  4611. "table_name": "sentry_pullrequest_commit",
  4612. "uniques": [
  4613. [
  4614. "commit",
  4615. "pull_request"
  4616. ]
  4617. ]
  4618. },
  4619. "sentry.querysubscription": {
  4620. "dangling": false,
  4621. "foreign_keys": {
  4622. "project": {
  4623. "kind": "FlexibleForeignKey",
  4624. "model": "sentry.project",
  4625. "nullable": false
  4626. },
  4627. "snuba_query": {
  4628. "kind": "FlexibleForeignKey",
  4629. "model": "sentry.snubaquery",
  4630. "nullable": true
  4631. }
  4632. },
  4633. "model": "sentry.querysubscription",
  4634. "relocation_dependencies": [],
  4635. "relocation_scope": "Organization",
  4636. "silos": [
  4637. "Region"
  4638. ],
  4639. "table_name": "sentry_querysubscription",
  4640. "uniques": [
  4641. [
  4642. "subscription_id"
  4643. ]
  4644. ]
  4645. },
  4646. "sentry.rawevent": {
  4647. "dangling": false,
  4648. "foreign_keys": {
  4649. "project": {
  4650. "kind": "FlexibleForeignKey",
  4651. "model": "sentry.project",
  4652. "nullable": false
  4653. }
  4654. },
  4655. "model": "sentry.rawevent",
  4656. "relocation_dependencies": [],
  4657. "relocation_scope": "Excluded",
  4658. "silos": [
  4659. "Region"
  4660. ],
  4661. "table_name": "sentry_rawevent",
  4662. "uniques": [
  4663. [
  4664. "event_id",
  4665. "project"
  4666. ]
  4667. ]
  4668. },
  4669. "sentry.recentsearch": {
  4670. "dangling": false,
  4671. "foreign_keys": {
  4672. "organization": {
  4673. "kind": "FlexibleForeignKey",
  4674. "model": "sentry.organization",
  4675. "nullable": false
  4676. },
  4677. "user_id": {
  4678. "kind": "HybridCloudForeignKey",
  4679. "model": "sentry.user",
  4680. "nullable": false
  4681. }
  4682. },
  4683. "model": "sentry.recentsearch",
  4684. "relocation_dependencies": [],
  4685. "relocation_scope": "Organization",
  4686. "silos": [
  4687. "Region"
  4688. ],
  4689. "table_name": "sentry_recentsearch",
  4690. "uniques": [
  4691. [
  4692. "organization",
  4693. "query_hash",
  4694. "type",
  4695. "user_id"
  4696. ]
  4697. ]
  4698. },
  4699. "sentry.regionimportchunk": {
  4700. "dangling": false,
  4701. "foreign_keys": {},
  4702. "model": "sentry.regionimportchunk",
  4703. "relocation_dependencies": [],
  4704. "relocation_scope": "Excluded",
  4705. "silos": [
  4706. "Region"
  4707. ],
  4708. "table_name": "sentry_regionimportchunk",
  4709. "uniques": [
  4710. [
  4711. "import_uuid",
  4712. "min_ordinal",
  4713. "model"
  4714. ]
  4715. ]
  4716. },
  4717. "sentry.regionoutbox": {
  4718. "dangling": false,
  4719. "foreign_keys": {},
  4720. "model": "sentry.regionoutbox",
  4721. "relocation_dependencies": [],
  4722. "relocation_scope": "Excluded",
  4723. "silos": [
  4724. "Region"
  4725. ],
  4726. "table_name": "sentry_regionoutbox",
  4727. "uniques": []
  4728. },
  4729. "sentry.regionscheduleddeletion": {
  4730. "dangling": false,
  4731. "foreign_keys": {},
  4732. "model": "sentry.regionscheduleddeletion",
  4733. "relocation_dependencies": [],
  4734. "relocation_scope": "Excluded",
  4735. "silos": [
  4736. "Region"
  4737. ],
  4738. "table_name": "sentry_regionscheduleddeletion",
  4739. "uniques": [
  4740. [
  4741. "app_label",
  4742. "model_name",
  4743. "object_id"
  4744. ],
  4745. [
  4746. "guid"
  4747. ]
  4748. ]
  4749. },
  4750. "sentry.regiontombstone": {
  4751. "dangling": false,
  4752. "foreign_keys": {},
  4753. "model": "sentry.regiontombstone",
  4754. "relocation_dependencies": [],
  4755. "relocation_scope": "Excluded",
  4756. "silos": [
  4757. "Region"
  4758. ],
  4759. "table_name": "sentry_regiontombstone",
  4760. "uniques": []
  4761. },
  4762. "sentry.regressiongroup": {
  4763. "dangling": false,
  4764. "foreign_keys": {
  4765. "project_id": {
  4766. "kind": "ImplicitForeignKey",
  4767. "model": "sentry.project",
  4768. "nullable": false
  4769. }
  4770. },
  4771. "model": "sentry.regressiongroup",
  4772. "relocation_dependencies": [],
  4773. "relocation_scope": "Excluded",
  4774. "silos": [
  4775. "Region"
  4776. ],
  4777. "table_name": "sentry_regressiongroup",
  4778. "uniques": [
  4779. [
  4780. "fingerprint",
  4781. "project_id",
  4782. "type",
  4783. "version"
  4784. ]
  4785. ]
  4786. },
  4787. "sentry.relay": {
  4788. "dangling": false,
  4789. "foreign_keys": {},
  4790. "model": "sentry.relay",
  4791. "relocation_dependencies": [],
  4792. "relocation_scope": "Config",
  4793. "silos": [
  4794. "Region"
  4795. ],
  4796. "table_name": "sentry_relay",
  4797. "uniques": [
  4798. [
  4799. "relay_id"
  4800. ]
  4801. ]
  4802. },
  4803. "sentry.relayusage": {
  4804. "dangling": false,
  4805. "foreign_keys": {},
  4806. "model": "sentry.relayusage",
  4807. "relocation_dependencies": [],
  4808. "relocation_scope": "Config",
  4809. "silos": [
  4810. "Region"
  4811. ],
  4812. "table_name": "sentry_relayusage",
  4813. "uniques": [
  4814. [
  4815. "relay_id",
  4816. "version"
  4817. ]
  4818. ]
  4819. },
  4820. "sentry.release": {
  4821. "dangling": false,
  4822. "foreign_keys": {
  4823. "organization": {
  4824. "kind": "FlexibleForeignKey",
  4825. "model": "sentry.organization",
  4826. "nullable": false
  4827. },
  4828. "owner_id": {
  4829. "kind": "HybridCloudForeignKey",
  4830. "model": "sentry.user",
  4831. "nullable": true
  4832. },
  4833. "project_id": {
  4834. "kind": "ImplicitForeignKey",
  4835. "model": "sentry.project",
  4836. "nullable": true
  4837. }
  4838. },
  4839. "model": "sentry.release",
  4840. "relocation_dependencies": [],
  4841. "relocation_scope": "Excluded",
  4842. "silos": [
  4843. "Region"
  4844. ],
  4845. "table_name": "sentry_release",
  4846. "uniques": [
  4847. [
  4848. "organization",
  4849. "version"
  4850. ]
  4851. ]
  4852. },
  4853. "sentry.releaseactivity": {
  4854. "dangling": false,
  4855. "foreign_keys": {
  4856. "release": {
  4857. "kind": "FlexibleForeignKey",
  4858. "model": "sentry.release",
  4859. "nullable": false
  4860. }
  4861. },
  4862. "model": "sentry.releaseactivity",
  4863. "relocation_dependencies": [],
  4864. "relocation_scope": "Excluded",
  4865. "silos": [
  4866. "Region"
  4867. ],
  4868. "table_name": "sentry_releaseactivity",
  4869. "uniques": []
  4870. },
  4871. "sentry.releaseartifactbundle": {
  4872. "dangling": false,
  4873. "foreign_keys": {
  4874. "artifact_bundle": {
  4875. "kind": "FlexibleForeignKey",
  4876. "model": "sentry.artifactbundle",
  4877. "nullable": false
  4878. },
  4879. "organization_id": {
  4880. "kind": "ImplicitForeignKey",
  4881. "model": "sentry.organization",
  4882. "nullable": false
  4883. }
  4884. },
  4885. "model": "sentry.releaseartifactbundle",
  4886. "relocation_dependencies": [],
  4887. "relocation_scope": "Excluded",
  4888. "silos": [
  4889. "Region"
  4890. ],
  4891. "table_name": "sentry_releaseartifactbundle",
  4892. "uniques": []
  4893. },
  4894. "sentry.releasecommit": {
  4895. "dangling": false,
  4896. "foreign_keys": {
  4897. "commit": {
  4898. "kind": "FlexibleForeignKey",
  4899. "model": "sentry.commit",
  4900. "nullable": false
  4901. },
  4902. "organization_id": {
  4903. "kind": "ImplicitForeignKey",
  4904. "model": "sentry.organization",
  4905. "nullable": false
  4906. },
  4907. "project_id": {
  4908. "kind": "ImplicitForeignKey",
  4909. "model": "sentry.project",
  4910. "nullable": true
  4911. },
  4912. "release": {
  4913. "kind": "FlexibleForeignKey",
  4914. "model": "sentry.release",
  4915. "nullable": false
  4916. }
  4917. },
  4918. "model": "sentry.releasecommit",
  4919. "relocation_dependencies": [],
  4920. "relocation_scope": "Excluded",
  4921. "silos": [
  4922. "Region"
  4923. ],
  4924. "table_name": "sentry_releasecommit",
  4925. "uniques": [
  4926. [
  4927. "commit",
  4928. "release"
  4929. ],
  4930. [
  4931. "order",
  4932. "release"
  4933. ]
  4934. ]
  4935. },
  4936. "sentry.releaseenvironment": {
  4937. "dangling": false,
  4938. "foreign_keys": {
  4939. "environment": {
  4940. "kind": "FlexibleForeignKey",
  4941. "model": "sentry.environment",
  4942. "nullable": false
  4943. },
  4944. "organization": {
  4945. "kind": "FlexibleForeignKey",
  4946. "model": "sentry.organization",
  4947. "nullable": false
  4948. },
  4949. "project_id": {
  4950. "kind": "ImplicitForeignKey",
  4951. "model": "sentry.project",
  4952. "nullable": true
  4953. },
  4954. "release": {
  4955. "kind": "FlexibleForeignKey",
  4956. "model": "sentry.release",
  4957. "nullable": false
  4958. }
  4959. },
  4960. "model": "sentry.releaseenvironment",
  4961. "relocation_dependencies": [],
  4962. "relocation_scope": "Excluded",
  4963. "silos": [
  4964. "Region"
  4965. ],
  4966. "table_name": "sentry_environmentrelease",
  4967. "uniques": [
  4968. [
  4969. "environment",
  4970. "organization",
  4971. "release"
  4972. ]
  4973. ]
  4974. },
  4975. "sentry.releasefile": {
  4976. "dangling": false,
  4977. "foreign_keys": {
  4978. "file": {
  4979. "kind": "FlexibleForeignKey",
  4980. "model": "sentry.file",
  4981. "nullable": false
  4982. },
  4983. "organization_id": {
  4984. "kind": "ImplicitForeignKey",
  4985. "model": "sentry.organization",
  4986. "nullable": false
  4987. },
  4988. "project_id": {
  4989. "kind": "ImplicitForeignKey",
  4990. "model": "sentry.project",
  4991. "nullable": true
  4992. },
  4993. "release_id": {
  4994. "kind": "ImplicitForeignKey",
  4995. "model": "sentry.release",
  4996. "nullable": false
  4997. }
  4998. },
  4999. "model": "sentry.releasefile",
  5000. "relocation_dependencies": [],
  5001. "relocation_scope": "Excluded",
  5002. "silos": [
  5003. "Region"
  5004. ],
  5005. "table_name": "sentry_releasefile",
  5006. "uniques": [
  5007. [
  5008. "ident",
  5009. "release_id"
  5010. ]
  5011. ]
  5012. },
  5013. "sentry.releaseheadcommit": {
  5014. "dangling": false,
  5015. "foreign_keys": {
  5016. "commit": {
  5017. "kind": "FlexibleForeignKey",
  5018. "model": "sentry.commit",
  5019. "nullable": false
  5020. },
  5021. "organization_id": {
  5022. "kind": "ImplicitForeignKey",
  5023. "model": "sentry.organization",
  5024. "nullable": false
  5025. },
  5026. "release": {
  5027. "kind": "FlexibleForeignKey",
  5028. "model": "sentry.release",
  5029. "nullable": false
  5030. },
  5031. "repository_id": {
  5032. "kind": "ImplicitForeignKey",
  5033. "model": "sentry.repository",
  5034. "nullable": false
  5035. }
  5036. },
  5037. "model": "sentry.releaseheadcommit",
  5038. "relocation_dependencies": [],
  5039. "relocation_scope": "Excluded",
  5040. "silos": [
  5041. "Region"
  5042. ],
  5043. "table_name": "sentry_releaseheadcommit",
  5044. "uniques": [
  5045. [
  5046. "release",
  5047. "repository_id"
  5048. ]
  5049. ]
  5050. },
  5051. "sentry.releaseproject": {
  5052. "dangling": false,
  5053. "foreign_keys": {
  5054. "project": {
  5055. "kind": "FlexibleForeignKey",
  5056. "model": "sentry.project",
  5057. "nullable": false
  5058. },
  5059. "release": {
  5060. "kind": "FlexibleForeignKey",
  5061. "model": "sentry.release",
  5062. "nullable": false
  5063. }
  5064. },
  5065. "model": "sentry.releaseproject",
  5066. "relocation_dependencies": [],
  5067. "relocation_scope": "Excluded",
  5068. "silos": [
  5069. "Region"
  5070. ],
  5071. "table_name": "sentry_release_project",
  5072. "uniques": [
  5073. [
  5074. "project",
  5075. "release"
  5076. ]
  5077. ]
  5078. },
  5079. "sentry.releaseprojectenvironment": {
  5080. "dangling": false,
  5081. "foreign_keys": {
  5082. "environment": {
  5083. "kind": "FlexibleForeignKey",
  5084. "model": "sentry.environment",
  5085. "nullable": false
  5086. },
  5087. "project": {
  5088. "kind": "FlexibleForeignKey",
  5089. "model": "sentry.project",
  5090. "nullable": false
  5091. },
  5092. "release": {
  5093. "kind": "FlexibleForeignKey",
  5094. "model": "sentry.release",
  5095. "nullable": false
  5096. }
  5097. },
  5098. "model": "sentry.releaseprojectenvironment",
  5099. "relocation_dependencies": [],
  5100. "relocation_scope": "Excluded",
  5101. "silos": [
  5102. "Region"
  5103. ],
  5104. "table_name": "sentry_releaseprojectenvironment",
  5105. "uniques": [
  5106. [
  5107. "environment",
  5108. "project",
  5109. "release"
  5110. ]
  5111. ]
  5112. },
  5113. "sentry.releasethreshold": {
  5114. "dangling": false,
  5115. "foreign_keys": {
  5116. "environment": {
  5117. "kind": "FlexibleForeignKey",
  5118. "model": "sentry.environment",
  5119. "nullable": true
  5120. },
  5121. "project": {
  5122. "kind": "FlexibleForeignKey",
  5123. "model": "sentry.project",
  5124. "nullable": false
  5125. }
  5126. },
  5127. "model": "sentry.releasethreshold",
  5128. "relocation_dependencies": [],
  5129. "relocation_scope": "Excluded",
  5130. "silos": [
  5131. "Region"
  5132. ],
  5133. "table_name": "sentry_releasethreshold",
  5134. "uniques": []
  5135. },
  5136. "sentry.relocation": {
  5137. "dangling": false,
  5138. "foreign_keys": {},
  5139. "model": "sentry.relocation",
  5140. "relocation_dependencies": [
  5141. "sentry.user"
  5142. ],
  5143. "relocation_scope": "Excluded",
  5144. "silos": [
  5145. "Region"
  5146. ],
  5147. "table_name": "sentry_relocation",
  5148. "uniques": [
  5149. [
  5150. "uuid"
  5151. ]
  5152. ]
  5153. },
  5154. "sentry.relocationfile": {
  5155. "dangling": false,
  5156. "foreign_keys": {
  5157. "file": {
  5158. "kind": "FlexibleForeignKey",
  5159. "model": "sentry.file",
  5160. "nullable": false
  5161. },
  5162. "relocation": {
  5163. "kind": "FlexibleForeignKey",
  5164. "model": "sentry.relocation",
  5165. "nullable": false
  5166. }
  5167. },
  5168. "model": "sentry.relocationfile",
  5169. "relocation_dependencies": [],
  5170. "relocation_scope": "Excluded",
  5171. "silos": [
  5172. "Region"
  5173. ],
  5174. "table_name": "sentry_relocationfile",
  5175. "uniques": [
  5176. [
  5177. "file",
  5178. "relocation"
  5179. ]
  5180. ]
  5181. },
  5182. "sentry.relocationvalidation": {
  5183. "dangling": false,
  5184. "foreign_keys": {
  5185. "relocation": {
  5186. "kind": "FlexibleForeignKey",
  5187. "model": "sentry.relocation",
  5188. "nullable": false
  5189. }
  5190. },
  5191. "model": "sentry.relocationvalidation",
  5192. "relocation_dependencies": [],
  5193. "relocation_scope": "Excluded",
  5194. "silos": [
  5195. "Region"
  5196. ],
  5197. "table_name": "sentry_relocationvalidation",
  5198. "uniques": []
  5199. },
  5200. "sentry.relocationvalidationattempt": {
  5201. "dangling": false,
  5202. "foreign_keys": {
  5203. "relocation": {
  5204. "kind": "FlexibleForeignKey",
  5205. "model": "sentry.relocation",
  5206. "nullable": false
  5207. },
  5208. "relocation_validation": {
  5209. "kind": "FlexibleForeignKey",
  5210. "model": "sentry.relocationvalidation",
  5211. "nullable": false
  5212. }
  5213. },
  5214. "model": "sentry.relocationvalidationattempt",
  5215. "relocation_dependencies": [],
  5216. "relocation_scope": "Excluded",
  5217. "silos": [
  5218. "Region"
  5219. ],
  5220. "table_name": "sentry_relocationvalidationattempt",
  5221. "uniques": [
  5222. [
  5223. "build_id"
  5224. ]
  5225. ]
  5226. },
  5227. "sentry.repository": {
  5228. "dangling": false,
  5229. "foreign_keys": {
  5230. "integration_id": {
  5231. "kind": "ImplicitForeignKey",
  5232. "model": "sentry.integration",
  5233. "nullable": true
  5234. },
  5235. "organization_id": {
  5236. "kind": "ImplicitForeignKey",
  5237. "model": "sentry.organization",
  5238. "nullable": false
  5239. }
  5240. },
  5241. "model": "sentry.repository",
  5242. "relocation_dependencies": [],
  5243. "relocation_scope": "Global",
  5244. "silos": [
  5245. "Region"
  5246. ],
  5247. "table_name": "sentry_repository",
  5248. "uniques": [
  5249. [
  5250. "external_id",
  5251. "organization_id",
  5252. "provider"
  5253. ]
  5254. ]
  5255. },
  5256. "sentry.repositoryprojectpathconfig": {
  5257. "dangling": false,
  5258. "foreign_keys": {
  5259. "integration_id": {
  5260. "kind": "ImplicitForeignKey",
  5261. "model": "sentry.integration",
  5262. "nullable": false
  5263. },
  5264. "organization_id": {
  5265. "kind": "ImplicitForeignKey",
  5266. "model": "sentry.organization",
  5267. "nullable": false
  5268. },
  5269. "organization_integration_id": {
  5270. "kind": "HybridCloudForeignKey",
  5271. "model": "sentry.organizationintegration",
  5272. "nullable": false
  5273. },
  5274. "project": {
  5275. "kind": "FlexibleForeignKey",
  5276. "model": "sentry.project",
  5277. "nullable": false
  5278. },
  5279. "repository": {
  5280. "kind": "FlexibleForeignKey",
  5281. "model": "sentry.repository",
  5282. "nullable": false
  5283. }
  5284. },
  5285. "model": "sentry.repositoryprojectpathconfig",
  5286. "relocation_dependencies": [],
  5287. "relocation_scope": "Excluded",
  5288. "silos": [
  5289. "Region"
  5290. ],
  5291. "table_name": "sentry_repositoryprojectpathconfig",
  5292. "uniques": [
  5293. [
  5294. "project",
  5295. "stack_root"
  5296. ]
  5297. ]
  5298. },
  5299. "sentry.reprocessingreport": {
  5300. "dangling": false,
  5301. "foreign_keys": {
  5302. "project": {
  5303. "kind": "FlexibleForeignKey",
  5304. "model": "sentry.project",
  5305. "nullable": false
  5306. }
  5307. },
  5308. "model": "sentry.reprocessingreport",
  5309. "relocation_dependencies": [],
  5310. "relocation_scope": "Excluded",
  5311. "silos": [
  5312. "Region"
  5313. ],
  5314. "table_name": "sentry_reprocessingreport",
  5315. "uniques": [
  5316. [
  5317. "event_id",
  5318. "project"
  5319. ]
  5320. ]
  5321. },
  5322. "sentry.rule": {
  5323. "dangling": false,
  5324. "foreign_keys": {
  5325. "environment_id": {
  5326. "kind": "ImplicitForeignKey",
  5327. "model": "sentry.environment",
  5328. "nullable": true
  5329. },
  5330. "owner": {
  5331. "kind": "FlexibleForeignKey",
  5332. "model": "sentry.actor",
  5333. "nullable": true
  5334. },
  5335. "project": {
  5336. "kind": "FlexibleForeignKey",
  5337. "model": "sentry.project",
  5338. "nullable": false
  5339. }
  5340. },
  5341. "model": "sentry.rule",
  5342. "relocation_dependencies": [],
  5343. "relocation_scope": "Organization",
  5344. "silos": [
  5345. "Region"
  5346. ],
  5347. "table_name": "sentry_rule",
  5348. "uniques": []
  5349. },
  5350. "sentry.ruleactivity": {
  5351. "dangling": false,
  5352. "foreign_keys": {
  5353. "rule": {
  5354. "kind": "FlexibleForeignKey",
  5355. "model": "sentry.rule",
  5356. "nullable": false
  5357. },
  5358. "user_id": {
  5359. "kind": "HybridCloudForeignKey",
  5360. "model": "sentry.user",
  5361. "nullable": true
  5362. }
  5363. },
  5364. "model": "sentry.ruleactivity",
  5365. "relocation_dependencies": [],
  5366. "relocation_scope": "Organization",
  5367. "silos": [
  5368. "Region"
  5369. ],
  5370. "table_name": "sentry_ruleactivity",
  5371. "uniques": []
  5372. },
  5373. "sentry.rulefirehistory": {
  5374. "dangling": false,
  5375. "foreign_keys": {
  5376. "group": {
  5377. "kind": "FlexibleForeignKey",
  5378. "model": "sentry.group",
  5379. "nullable": false
  5380. },
  5381. "project": {
  5382. "kind": "FlexibleForeignKey",
  5383. "model": "sentry.project",
  5384. "nullable": false
  5385. },
  5386. "rule": {
  5387. "kind": "FlexibleForeignKey",
  5388. "model": "sentry.rule",
  5389. "nullable": false
  5390. }
  5391. },
  5392. "model": "sentry.rulefirehistory",
  5393. "relocation_dependencies": [],
  5394. "relocation_scope": "Excluded",
  5395. "silos": [
  5396. "Region"
  5397. ],
  5398. "table_name": "sentry_rulefirehistory",
  5399. "uniques": []
  5400. },
  5401. "sentry.rulesnooze": {
  5402. "dangling": false,
  5403. "foreign_keys": {
  5404. "alert_rule": {
  5405. "kind": "FlexibleForeignKey",
  5406. "model": "sentry.alertrule",
  5407. "nullable": true
  5408. },
  5409. "owner_id": {
  5410. "kind": "HybridCloudForeignKey",
  5411. "model": "sentry.user",
  5412. "nullable": true
  5413. },
  5414. "rule": {
  5415. "kind": "FlexibleForeignKey",
  5416. "model": "sentry.rule",
  5417. "nullable": true
  5418. },
  5419. "user_id": {
  5420. "kind": "HybridCloudForeignKey",
  5421. "model": "sentry.user",
  5422. "nullable": true
  5423. }
  5424. },
  5425. "model": "sentry.rulesnooze",
  5426. "relocation_dependencies": [],
  5427. "relocation_scope": "Organization",
  5428. "silos": [
  5429. "Region"
  5430. ],
  5431. "table_name": "sentry_rulesnooze",
  5432. "uniques": [
  5433. [
  5434. "alert_rule"
  5435. ],
  5436. [
  5437. "alert_rule",
  5438. "user_id"
  5439. ],
  5440. [
  5441. "rule"
  5442. ],
  5443. [
  5444. "rule",
  5445. "user_id"
  5446. ]
  5447. ]
  5448. },
  5449. "sentry.savedsearch": {
  5450. "dangling": false,
  5451. "foreign_keys": {
  5452. "organization": {
  5453. "kind": "FlexibleForeignKey",
  5454. "model": "sentry.organization",
  5455. "nullable": true
  5456. },
  5457. "owner_id": {
  5458. "kind": "HybridCloudForeignKey",
  5459. "model": "sentry.user",
  5460. "nullable": true
  5461. }
  5462. },
  5463. "model": "sentry.savedsearch",
  5464. "relocation_dependencies": [],
  5465. "relocation_scope": "Organization",
  5466. "silos": [
  5467. "Region"
  5468. ],
  5469. "table_name": "sentry_savedsearch",
  5470. "uniques": [
  5471. [
  5472. "is_global",
  5473. "name"
  5474. ],
  5475. [
  5476. "organization",
  5477. "owner_id",
  5478. "type"
  5479. ]
  5480. ]
  5481. },
  5482. "sentry.scheduleddeletion": {
  5483. "dangling": false,
  5484. "foreign_keys": {},
  5485. "model": "sentry.scheduleddeletion",
  5486. "relocation_dependencies": [],
  5487. "relocation_scope": "Excluded",
  5488. "silos": [
  5489. "Control"
  5490. ],
  5491. "table_name": "sentry_scheduleddeletion",
  5492. "uniques": [
  5493. [
  5494. "app_label",
  5495. "model_name",
  5496. "object_id"
  5497. ],
  5498. [
  5499. "guid"
  5500. ]
  5501. ]
  5502. },
  5503. "sentry.sentryapp": {
  5504. "dangling": false,
  5505. "foreign_keys": {
  5506. "application": {
  5507. "kind": "DefaultOneToOneField",
  5508. "model": "sentry.apiapplication",
  5509. "nullable": true
  5510. },
  5511. "creator_user": {
  5512. "kind": "FlexibleForeignKey",
  5513. "model": "sentry.user",
  5514. "nullable": true
  5515. },
  5516. "owner_id": {
  5517. "kind": "HybridCloudForeignKey",
  5518. "model": "sentry.organization",
  5519. "nullable": false
  5520. },
  5521. "proxy_user": {
  5522. "kind": "DefaultOneToOneField",
  5523. "model": "sentry.user",
  5524. "nullable": true
  5525. }
  5526. },
  5527. "model": "sentry.sentryapp",
  5528. "relocation_dependencies": [],
  5529. "relocation_scope": "Global",
  5530. "silos": [
  5531. "Control"
  5532. ],
  5533. "table_name": "sentry_sentryapp",
  5534. "uniques": [
  5535. [
  5536. "application"
  5537. ],
  5538. [
  5539. "proxy_user"
  5540. ],
  5541. [
  5542. "slug"
  5543. ]
  5544. ]
  5545. },
  5546. "sentry.sentryappavatar": {
  5547. "dangling": false,
  5548. "foreign_keys": {
  5549. "control_file_id": {
  5550. "kind": "ImplicitForeignKey",
  5551. "model": "sentry.controlfile",
  5552. "nullable": true
  5553. },
  5554. "file_id": {
  5555. "kind": "ImplicitForeignKey",
  5556. "model": "sentry.file",
  5557. "nullable": true
  5558. },
  5559. "sentry_app": {
  5560. "kind": "FlexibleForeignKey",
  5561. "model": "sentry.sentryapp",
  5562. "nullable": false
  5563. }
  5564. },
  5565. "model": "sentry.sentryappavatar",
  5566. "relocation_dependencies": [],
  5567. "relocation_scope": "Excluded",
  5568. "silos": [
  5569. "Control"
  5570. ],
  5571. "table_name": "sentry_sentryappavatar",
  5572. "uniques": [
  5573. [
  5574. "control_file_id"
  5575. ],
  5576. [
  5577. "file_id"
  5578. ],
  5579. [
  5580. "ident"
  5581. ]
  5582. ]
  5583. },
  5584. "sentry.sentryappcomponent": {
  5585. "dangling": false,
  5586. "foreign_keys": {
  5587. "sentry_app": {
  5588. "kind": "FlexibleForeignKey",
  5589. "model": "sentry.sentryapp",
  5590. "nullable": false
  5591. }
  5592. },
  5593. "model": "sentry.sentryappcomponent",
  5594. "relocation_dependencies": [],
  5595. "relocation_scope": "Global",
  5596. "silos": [
  5597. "Control"
  5598. ],
  5599. "table_name": "sentry_sentryappcomponent",
  5600. "uniques": [
  5601. [
  5602. "uuid"
  5603. ]
  5604. ]
  5605. },
  5606. "sentry.sentryappinstallation": {
  5607. "dangling": false,
  5608. "foreign_keys": {
  5609. "api_grant": {
  5610. "kind": "DefaultOneToOneField",
  5611. "model": "sentry.apigrant",
  5612. "nullable": true
  5613. },
  5614. "api_token": {
  5615. "kind": "DefaultOneToOneField",
  5616. "model": "sentry.apitoken",
  5617. "nullable": true
  5618. },
  5619. "organization_id": {
  5620. "kind": "HybridCloudForeignKey",
  5621. "model": "sentry.organization",
  5622. "nullable": false
  5623. },
  5624. "sentry_app": {
  5625. "kind": "FlexibleForeignKey",
  5626. "model": "sentry.sentryapp",
  5627. "nullable": false
  5628. }
  5629. },
  5630. "model": "sentry.sentryappinstallation",
  5631. "relocation_dependencies": [],
  5632. "relocation_scope": "Global",
  5633. "silos": [
  5634. "Control"
  5635. ],
  5636. "table_name": "sentry_sentryappinstallation",
  5637. "uniques": [
  5638. [
  5639. "api_grant"
  5640. ],
  5641. [
  5642. "api_token"
  5643. ]
  5644. ]
  5645. },
  5646. "sentry.sentryappinstallationforprovider": {
  5647. "dangling": false,
  5648. "foreign_keys": {
  5649. "organization_id": {
  5650. "kind": "HybridCloudForeignKey",
  5651. "model": "sentry.organization",
  5652. "nullable": false
  5653. },
  5654. "sentry_app_installation": {
  5655. "kind": "FlexibleForeignKey",
  5656. "model": "sentry.sentryappinstallation",
  5657. "nullable": false
  5658. }
  5659. },
  5660. "model": "sentry.sentryappinstallationforprovider",
  5661. "relocation_dependencies": [],
  5662. "relocation_scope": "Excluded",
  5663. "silos": [
  5664. "Control"
  5665. ],
  5666. "table_name": "sentry_sentryappinstallationforprovider",
  5667. "uniques": [
  5668. [
  5669. "organization_id",
  5670. "provider"
  5671. ]
  5672. ]
  5673. },
  5674. "sentry.sentryappinstallationtoken": {
  5675. "dangling": false,
  5676. "foreign_keys": {
  5677. "api_token": {
  5678. "kind": "FlexibleForeignKey",
  5679. "model": "sentry.apitoken",
  5680. "nullable": false
  5681. },
  5682. "sentry_app_installation": {
  5683. "kind": "FlexibleForeignKey",
  5684. "model": "sentry.sentryappinstallation",
  5685. "nullable": false
  5686. }
  5687. },
  5688. "model": "sentry.sentryappinstallationtoken",
  5689. "relocation_dependencies": [],
  5690. "relocation_scope": "Excluded",
  5691. "silos": [
  5692. "Control"
  5693. ],
  5694. "table_name": "sentry_sentryappinstallationtoken",
  5695. "uniques": [
  5696. [
  5697. "api_token",
  5698. "sentry_app_installation"
  5699. ]
  5700. ]
  5701. },
  5702. "sentry.sentryfunction": {
  5703. "dangling": false,
  5704. "foreign_keys": {
  5705. "organization": {
  5706. "kind": "FlexibleForeignKey",
  5707. "model": "sentry.organization",
  5708. "nullable": false
  5709. }
  5710. },
  5711. "model": "sentry.sentryfunction",
  5712. "relocation_dependencies": [],
  5713. "relocation_scope": "Excluded",
  5714. "silos": [
  5715. "Region"
  5716. ],
  5717. "table_name": "sentry_sentryfunction",
  5718. "uniques": [
  5719. [
  5720. "external_id"
  5721. ],
  5722. [
  5723. "organization",
  5724. "slug"
  5725. ],
  5726. [
  5727. "slug"
  5728. ]
  5729. ]
  5730. },
  5731. "sentry.sentryshot": {
  5732. "dangling": false,
  5733. "foreign_keys": {
  5734. "organization_id": {
  5735. "kind": "HybridCloudForeignKey",
  5736. "model": "sentry.organization",
  5737. "nullable": false
  5738. }
  5739. },
  5740. "model": "sentry.sentryshot",
  5741. "relocation_dependencies": [],
  5742. "relocation_scope": "Excluded",
  5743. "silos": [
  5744. "Region"
  5745. ],
  5746. "table_name": "sentry_sentryshot",
  5747. "uniques": []
  5748. },
  5749. "sentry.servicehook": {
  5750. "dangling": false,
  5751. "foreign_keys": {
  5752. "application_id": {
  5753. "kind": "HybridCloudForeignKey",
  5754. "model": "sentry.apiapplication",
  5755. "nullable": true
  5756. },
  5757. "installation_id": {
  5758. "kind": "HybridCloudForeignKey",
  5759. "model": "sentry.sentryappinstallation",
  5760. "nullable": true
  5761. },
  5762. "organization_id": {
  5763. "kind": "ImplicitForeignKey",
  5764. "model": "sentry.organization",
  5765. "nullable": true
  5766. },
  5767. "project_id": {
  5768. "kind": "ImplicitForeignKey",
  5769. "model": "sentry.project",
  5770. "nullable": true
  5771. }
  5772. },
  5773. "model": "sentry.servicehook",
  5774. "relocation_dependencies": [],
  5775. "relocation_scope": "Global",
  5776. "silos": [
  5777. "Region"
  5778. ],
  5779. "table_name": "sentry_servicehook",
  5780. "uniques": [
  5781. [
  5782. "guid"
  5783. ]
  5784. ]
  5785. },
  5786. "sentry.servicehookproject": {
  5787. "dangling": false,
  5788. "foreign_keys": {
  5789. "project_id": {
  5790. "kind": "ImplicitForeignKey",
  5791. "model": "sentry.project",
  5792. "nullable": false
  5793. },
  5794. "service_hook": {
  5795. "kind": "FlexibleForeignKey",
  5796. "model": "sentry.servicehook",
  5797. "nullable": false
  5798. }
  5799. },
  5800. "model": "sentry.servicehookproject",
  5801. "relocation_dependencies": [],
  5802. "relocation_scope": "Excluded",
  5803. "silos": [
  5804. "Region"
  5805. ],
  5806. "table_name": "sentry_servicehookproject",
  5807. "uniques": [
  5808. [
  5809. "project_id",
  5810. "service_hook"
  5811. ]
  5812. ]
  5813. },
  5814. "sentry.snubaquery": {
  5815. "dangling": true,
  5816. "foreign_keys": {
  5817. "environment": {
  5818. "kind": "FlexibleForeignKey",
  5819. "model": "sentry.environment",
  5820. "nullable": true
  5821. }
  5822. },
  5823. "model": "sentry.snubaquery",
  5824. "relocation_dependencies": [
  5825. "sentry.actor",
  5826. "sentry.organization",
  5827. "sentry.project"
  5828. ],
  5829. "relocation_scope": "Organization",
  5830. "silos": [
  5831. "Region"
  5832. ],
  5833. "table_name": "sentry_snubaquery",
  5834. "uniques": []
  5835. },
  5836. "sentry.snubaqueryeventtype": {
  5837. "dangling": false,
  5838. "foreign_keys": {
  5839. "snuba_query": {
  5840. "kind": "FlexibleForeignKey",
  5841. "model": "sentry.snubaquery",
  5842. "nullable": false
  5843. }
  5844. },
  5845. "model": "sentry.snubaqueryeventtype",
  5846. "relocation_dependencies": [],
  5847. "relocation_scope": "Organization",
  5848. "silos": [
  5849. "Region"
  5850. ],
  5851. "table_name": "sentry_snubaqueryeventtype",
  5852. "uniques": [
  5853. [
  5854. "snuba_query",
  5855. "type"
  5856. ]
  5857. ]
  5858. },
  5859. "sentry.stringindexer": {
  5860. "dangling": false,
  5861. "foreign_keys": {
  5862. "organization_id": {
  5863. "kind": "ImplicitForeignKey",
  5864. "model": "sentry.organization",
  5865. "nullable": false
  5866. }
  5867. },
  5868. "model": "sentry.stringindexer",
  5869. "relocation_dependencies": [],
  5870. "relocation_scope": "Excluded",
  5871. "silos": [
  5872. "Region"
  5873. ],
  5874. "table_name": "sentry_stringindexer",
  5875. "uniques": [
  5876. [
  5877. "organization_id",
  5878. "string"
  5879. ]
  5880. ]
  5881. },
  5882. "sentry.team": {
  5883. "dangling": false,
  5884. "foreign_keys": {
  5885. "organization": {
  5886. "kind": "FlexibleForeignKey",
  5887. "model": "sentry.organization",
  5888. "nullable": false
  5889. }
  5890. },
  5891. "model": "sentry.team",
  5892. "relocation_dependencies": [],
  5893. "relocation_scope": "Organization",
  5894. "silos": [
  5895. "Region"
  5896. ],
  5897. "table_name": "sentry_team",
  5898. "uniques": [
  5899. [
  5900. "actor"
  5901. ],
  5902. [
  5903. "organization",
  5904. "slug"
  5905. ]
  5906. ]
  5907. },
  5908. "sentry.teamavatar": {
  5909. "dangling": false,
  5910. "foreign_keys": {
  5911. "file_id": {
  5912. "kind": "ImplicitForeignKey",
  5913. "model": "sentry.file",
  5914. "nullable": true
  5915. },
  5916. "team": {
  5917. "kind": "FlexibleForeignKey",
  5918. "model": "sentry.team",
  5919. "nullable": false
  5920. }
  5921. },
  5922. "model": "sentry.teamavatar",
  5923. "relocation_dependencies": [],
  5924. "relocation_scope": "Excluded",
  5925. "silos": [
  5926. "Region"
  5927. ],
  5928. "table_name": "sentry_teamavatar",
  5929. "uniques": [
  5930. [
  5931. "file_id"
  5932. ],
  5933. [
  5934. "ident"
  5935. ],
  5936. [
  5937. "team"
  5938. ]
  5939. ]
  5940. },
  5941. "sentry.teamkeytransaction": {
  5942. "dangling": false,
  5943. "foreign_keys": {
  5944. "organization": {
  5945. "kind": "FlexibleForeignKey",
  5946. "model": "sentry.organization",
  5947. "nullable": false
  5948. },
  5949. "project_team": {
  5950. "kind": "FlexibleForeignKey",
  5951. "model": "sentry.projectteam",
  5952. "nullable": true
  5953. }
  5954. },
  5955. "model": "sentry.teamkeytransaction",
  5956. "relocation_dependencies": [],
  5957. "relocation_scope": "Excluded",
  5958. "silos": [
  5959. "Region"
  5960. ],
  5961. "table_name": "sentry_performanceteamkeytransaction",
  5962. "uniques": [
  5963. [
  5964. "project_team",
  5965. "transaction"
  5966. ]
  5967. ]
  5968. },
  5969. "sentry.teamreplica": {
  5970. "dangling": false,
  5971. "foreign_keys": {
  5972. "organization_id": {
  5973. "kind": "HybridCloudForeignKey",
  5974. "model": "sentry.organization",
  5975. "nullable": false
  5976. },
  5977. "team_id": {
  5978. "kind": "HybridCloudForeignKey",
  5979. "model": "sentry.team",
  5980. "nullable": false
  5981. }
  5982. },
  5983. "model": "sentry.teamreplica",
  5984. "relocation_dependencies": [],
  5985. "relocation_scope": "Excluded",
  5986. "silos": [
  5987. "Control"
  5988. ],
  5989. "table_name": "sentry_teamreplica",
  5990. "uniques": [
  5991. [
  5992. "organization_id",
  5993. "slug"
  5994. ]
  5995. ]
  5996. },
  5997. "sentry.timeseriessnapshot": {
  5998. "dangling": true,
  5999. "foreign_keys": {},
  6000. "model": "sentry.timeseriessnapshot",
  6001. "relocation_dependencies": [
  6002. "sentry.incident"
  6003. ],
  6004. "relocation_scope": "Organization",
  6005. "silos": [
  6006. "Region"
  6007. ],
  6008. "table_name": "sentry_timeseriessnapshot",
  6009. "uniques": []
  6010. },
  6011. "sentry.user": {
  6012. "dangling": false,
  6013. "foreign_keys": {},
  6014. "model": "sentry.user",
  6015. "relocation_dependencies": [],
  6016. "relocation_scope": "User",
  6017. "silos": [
  6018. "Control"
  6019. ],
  6020. "table_name": "auth_user",
  6021. "uniques": [
  6022. [
  6023. "username"
  6024. ]
  6025. ]
  6026. },
  6027. "sentry.useravatar": {
  6028. "dangling": false,
  6029. "foreign_keys": {
  6030. "control_file_id": {
  6031. "kind": "ImplicitForeignKey",
  6032. "model": "sentry.controlfile",
  6033. "nullable": true
  6034. },
  6035. "file_id": {
  6036. "kind": "ImplicitForeignKey",
  6037. "model": "sentry.file",
  6038. "nullable": true
  6039. },
  6040. "user": {
  6041. "kind": "FlexibleForeignKey",
  6042. "model": "sentry.user",
  6043. "nullable": false
  6044. }
  6045. },
  6046. "model": "sentry.useravatar",
  6047. "relocation_dependencies": [],
  6048. "relocation_scope": "Excluded",
  6049. "silos": [
  6050. "Control"
  6051. ],
  6052. "table_name": "sentry_useravatar",
  6053. "uniques": [
  6054. [
  6055. "control_file_id"
  6056. ],
  6057. [
  6058. "file_id"
  6059. ],
  6060. [
  6061. "ident"
  6062. ],
  6063. [
  6064. "user"
  6065. ]
  6066. ]
  6067. },
  6068. "sentry.useremail": {
  6069. "dangling": false,
  6070. "foreign_keys": {
  6071. "user": {
  6072. "kind": "FlexibleForeignKey",
  6073. "model": "sentry.user",
  6074. "nullable": false
  6075. }
  6076. },
  6077. "model": "sentry.useremail",
  6078. "relocation_dependencies": [
  6079. "sentry.email"
  6080. ],
  6081. "relocation_scope": "User",
  6082. "silos": [
  6083. "Control"
  6084. ],
  6085. "table_name": "sentry_useremail",
  6086. "uniques": [
  6087. [
  6088. "email",
  6089. "user"
  6090. ]
  6091. ]
  6092. },
  6093. "sentry.userip": {
  6094. "dangling": false,
  6095. "foreign_keys": {
  6096. "user": {
  6097. "kind": "FlexibleForeignKey",
  6098. "model": "sentry.user",
  6099. "nullable": false
  6100. }
  6101. },
  6102. "model": "sentry.userip",
  6103. "relocation_dependencies": [],
  6104. "relocation_scope": "User",
  6105. "silos": [
  6106. "Control"
  6107. ],
  6108. "table_name": "sentry_userip",
  6109. "uniques": [
  6110. [
  6111. "ip_address",
  6112. "user"
  6113. ]
  6114. ]
  6115. },
  6116. "sentry.useroption": {
  6117. "dangling": false,
  6118. "foreign_keys": {
  6119. "organization_id": {
  6120. "kind": "HybridCloudForeignKey",
  6121. "model": "sentry.organization",
  6122. "nullable": true
  6123. },
  6124. "project_id": {
  6125. "kind": "HybridCloudForeignKey",
  6126. "model": "sentry.project",
  6127. "nullable": true
  6128. },
  6129. "user": {
  6130. "kind": "FlexibleForeignKey",
  6131. "model": "sentry.user",
  6132. "nullable": false
  6133. }
  6134. },
  6135. "model": "sentry.useroption",
  6136. "relocation_dependencies": [],
  6137. "relocation_scope": "User",
  6138. "silos": [
  6139. "Control"
  6140. ],
  6141. "table_name": "sentry_useroption",
  6142. "uniques": [
  6143. [
  6144. "key",
  6145. "organization_id",
  6146. "user"
  6147. ],
  6148. [
  6149. "key",
  6150. "project_id",
  6151. "user"
  6152. ]
  6153. ]
  6154. },
  6155. "sentry.userpermission": {
  6156. "dangling": false,
  6157. "foreign_keys": {
  6158. "user": {
  6159. "kind": "FlexibleForeignKey",
  6160. "model": "sentry.user",
  6161. "nullable": false
  6162. }
  6163. },
  6164. "model": "sentry.userpermission",
  6165. "relocation_dependencies": [],
  6166. "relocation_scope": "Config",
  6167. "silos": [
  6168. "Control"
  6169. ],
  6170. "table_name": "sentry_userpermission",
  6171. "uniques": [
  6172. [
  6173. "permission",
  6174. "user"
  6175. ]
  6176. ]
  6177. },
  6178. "sentry.userreport": {
  6179. "dangling": false,
  6180. "foreign_keys": {
  6181. "environment_id": {
  6182. "kind": "ImplicitForeignKey",
  6183. "model": "sentry.environment",
  6184. "nullable": true
  6185. },
  6186. "group_id": {
  6187. "kind": "ImplicitForeignKey",
  6188. "model": "sentry.group",
  6189. "nullable": true
  6190. },
  6191. "project_id": {
  6192. "kind": "ImplicitForeignKey",
  6193. "model": "sentry.project",
  6194. "nullable": false
  6195. }
  6196. },
  6197. "model": "sentry.userreport",
  6198. "relocation_dependencies": [],
  6199. "relocation_scope": "Excluded",
  6200. "silos": [
  6201. "Region"
  6202. ],
  6203. "table_name": "sentry_userreport",
  6204. "uniques": [
  6205. [
  6206. "event_id",
  6207. "project_id"
  6208. ]
  6209. ]
  6210. },
  6211. "sentry.userrole": {
  6212. "dangling": false,
  6213. "foreign_keys": {},
  6214. "model": "sentry.userrole",
  6215. "relocation_dependencies": [],
  6216. "relocation_scope": "Config",
  6217. "silos": [
  6218. "Control"
  6219. ],
  6220. "table_name": "sentry_userrole",
  6221. "uniques": [
  6222. [
  6223. "name"
  6224. ]
  6225. ]
  6226. },
  6227. "sentry.userroleuser": {
  6228. "dangling": false,
  6229. "foreign_keys": {
  6230. "role": {
  6231. "kind": "FlexibleForeignKey",
  6232. "model": "sentry.userrole",
  6233. "nullable": false
  6234. },
  6235. "user": {
  6236. "kind": "FlexibleForeignKey",
  6237. "model": "sentry.user",
  6238. "nullable": false
  6239. }
  6240. },
  6241. "model": "sentry.userroleuser",
  6242. "relocation_dependencies": [],
  6243. "relocation_scope": "Config",
  6244. "silos": [
  6245. "Control"
  6246. ],
  6247. "table_name": "sentry_userrole_users",
  6248. "uniques": []
  6249. },
  6250. "social_auth.usersocialauth": {
  6251. "dangling": false,
  6252. "foreign_keys": {
  6253. "user": {
  6254. "kind": "DefaultForeignKey",
  6255. "model": "sentry.user",
  6256. "nullable": false
  6257. }
  6258. },
  6259. "model": "social_auth.usersocialauth",
  6260. "relocation_dependencies": [],
  6261. "relocation_scope": "Excluded",
  6262. "silos": [
  6263. "Control"
  6264. ],
  6265. "table_name": "social_auth_usersocialauth",
  6266. "uniques": [
  6267. [
  6268. "provider",
  6269. "uid",
  6270. "user"
  6271. ]
  6272. ]
  6273. }
  6274. }