fix(backend): add composite index on user_sources

Add (user_id, enabled) index for the enabled() query path.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-03-16 01:25:10 +00:00
parent 21f78f7721
commit 5a652e9a65
4 changed files with 492 additions and 1 deletions

View File

@@ -8,6 +8,13 @@
"when": 1773620066366,
"tag": "0000_wakeful_scorpion",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1773624297794,
"tag": "0001_misty_white_tiger",
"breakpoints": true
}
]
}