Hi in my playframework application I want to configure several database servers. I want one default for deployment. And a second one for development.
At the moment I have only one defined like this:
slick {
dbs {
default {
profile = "slick.jdbc.MySQLProfile$"
db {
driver = "com.mysql.jdbc.Driver"
url = ""
user = ""
password =
}
}
}
}
how can I add a second one ... Maybe like this:
slick {
dbs {
default {
profile = "slick.jdbc.MySQLProfile$"
db {
driver = "com.mysql.jdbc.Driver"
url = ""
user = ""
password =
}
},
development {
profile = "slick.jdbc.MySQLProfile$"
db {
driver = "com.mysql.jdbc.Driver"
url = ""
user = ""
password =
}
}
}
}
Is that correct? And how can I manage in which case I use the default and when the dev database?
Thanks in advance.