Skip to content

Enforce SensorType #2893

Description

@nicholasdalhaug

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions