Skip to content

Update runtime_sensor.occupancy to tinyint(1) #401

@ziebelje

Description

@ziebelje

For some reason this column was created as a tinyint with the standard length of 3 for a boolean field. Somehow in the official beestat database it's showing up as length = 1, even though the show create table disagrees. The only difference I see between this and similar fields is that this is "unsigned".

I think I need to rewrite this entire table to a new table with the correct type. For now it's working, so updating beestat.sql will suffice.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Self-HostingRelated to self-hosting beestat.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions