migrations: Add settings_user_id_idx
Created by: tsenart
This commit adds an index to the user_id column of the settings table.
This shaves off ~80ms in the critical search code path in decodedViewerFinalSettings
.
Created by: tsenart
This commit adds an index to the user_id column of the settings table.
This shaves off ~80ms in the critical search code path in decodedViewerFinalSettings
.