mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 17:11:17 +00:00
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:
1
apps/aelis-backend/drizzle/0001_misty_white_tiger.sql
Normal file
1
apps/aelis-backend/drizzle/0001_misty_white_tiger.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE INDEX "user_sources_user_id_enabled_idx" ON "user_sources" USING btree ("user_id","enabled");
|
||||
Reference in New Issue
Block a user