fixes _100_appointments.sql permissions