detailed.json 130 KB

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