detailed.json 136 KB

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