Make database name a public property

Signed-off-by: Michal Čihař <michal@cihar.com>