Right now the SensorType is not nullable, but the default becomes the zeroth element of the enum options, meaning SensorType.Image. That can lead to issues since it is not obvious. We should enforce SensorType to be set explicitly.
Suggestion:
Use tables for enums instead of strings in the database.
Right now the SensorType is not nullable, but the default becomes the zeroth element of the enum options, meaning SensorType.Image. That can lead to issues since it is not obvious. We should enforce SensorType to be set explicitly.
Suggestion:
Use tables for enums instead of strings in the database.