detailed.json 136 KB

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