Updates required for the survey feature
Introduction
Survey feature was introduced on June 6, 2025. It allows teachers to set up unit for use without asking participants to create student accounts. Surveys are meant for shorter units that can be completed in one session and are best for anonymous data collection. Participants can only submit their responses once and cannot continue working at a later time.
Database changes
Update runs table:
alter table runs add column isSurvey bit(1) not null default 0;
Insert new role:
insert into granted_authorities (authority) values ('ROLE_SURVEY_STUDENT');