Db config and specs