detailed.json 128 KB

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