detailed.json 136 KB

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