This PR contains updates to account for the database update that allows for two sample data points. In the database, this is done by adding a measurement_number field, which is a MySQL ENUM that can take the values "first" and "second" (the primary key has been updated to be (student_id, galaxy_id, measurement_number). These commits update the SQL definition accordingly, as well as the Sequelize model, and add/modify some relevant sample measurement endpoints.
This PR contains updates to account for the database update that allows for two sample data points. In the database, this is done by adding a
measurement_number
field, which is a MySQLENUM
that can take the values"first"
and"second"
(the primary key has been updated to be(student_id, galaxy_id, measurement_number)
. These commits update the SQL definition accordingly, as well as the Sequelize model, and add/modify some relevant sample measurement endpoints.