database struct
db config