setting up for multiple db_types and versions