detailed.json 137 KB

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