We ought to be running tests on a separate database to avoid any possibility of live data being deleted or changed by tests. Suggest we add TEST_DATABASE_URL and convert database.js to be an object that has an override on connection_pool to allow it to switch between using the different environment vars
We ought to be running tests on a separate database to avoid any possibility of live data being deleted or changed by tests. Suggest we add
TEST_DATABASE_URL
and convert database.js to be an object that has an override onconnection_pool
to allow it to switch between using the different environment vars