code insights: improve backend testing experience
Created by: slimsag
This improves the backend testing experience for code insights. The way this previously worked meant that if you didn't have CODEINSIGHTS_PGDATASOURCE
set you would likely get accidentally connected to the main app DB due to #17739 and get a confusing migration error.
Signed-off-by: Stephen Gutekanst [email protected]