Set the database properties in the API