ddev d get-volume-db-version

Get the database type/version found in the ddev-dbserver's database volume, which may not be the same as the configured database type/version