metadata: use 6 characters for the db type