Setting up enrolments for sql change