refactored missing DefaultRoleName in ApplicationsSQL