Defined the database config