db adapter

add database adapter to db config file