additional SQLs for Redmine 2.3