Read priorities from the DB