detailed.json 136 KB

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