Skip to content

Allow creating test Code Insights dbs from existing db test logic

Administrator requested to merge cw/insights-db-test into main

Created by: chwarwick

Since the Code Insights db is now a regular Postgres instance, allow the existing test db code to create an empty insights db when requested. Convert to lazy init of db templates because the insights db won't be need all the time.

Test plan

Existing tests pass

Merge request reports

Loading