detailed.json 136 KB

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