I am doing my own plugins and customizations on moodle. I have a bunch of courses created on it. I have created a self enrolment method for all of them. The default assigned role for self enrolment is students, I want to change this to Teachers.
My question: which table (eg mdl_enrol) does this field exist for a course? And what is the name of the field?
Thank you very much for your time,