First, we need to configure our test database because we do not want to accidentally wipe out our production database. For our case, we leave everything as is and change the database name.
xxxxxxxxxx
api {
host = "localhost"
port = 49152
}
database {
profile = "slick.jdbc.PostgresProfile$"
db {
connectionPool = "HikariCP"
dataSourceClass = "org.postgresql.ds.PGSimpleDataSource"
properties {
serverName = "localhost"
portNumber = "5432"
databaseName = "impure_test"
user = "impure"
password = "secret"
}
numThreads = 10
}
}