Database config

@ramchale